mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Update bip-0158.mediawiki
Fix: * Render issue in `<ref>` tag (c.f. https://en.bitcoin.it/wiki/BIP_0158#Contents) * Remove remnants of the second filter type
This commit is contained in:
parent
b5723035e2
commit
af134f361f
@ -19,7 +19,7 @@ This BIP describes a structure for compact filters on block data, for use in the
|
|||||||
BIP 157 light client protocol<ref>bip-0157.mediawiki</ref>. The filter
|
BIP 157 light client protocol<ref>bip-0157.mediawiki</ref>. The filter
|
||||||
construction proposed is an alternative to Bloom filters, as used in BIP 37,
|
construction proposed is an alternative to Bloom filters, as used in BIP 37,
|
||||||
that minimizes filter size by using Golomb-Rice coding for compression. This
|
that minimizes filter size by using Golomb-Rice coding for compression. This
|
||||||
document specifies two initial types of filters based on this construction that
|
document specifies one initial filter type based on this construction that
|
||||||
enables basic wallets and applications with more advanced smart contracts.
|
enables basic wallets and applications with more advanced smart contracts.
|
||||||
|
|
||||||
== Motivation ==
|
== Motivation ==
|
||||||
@ -284,7 +284,7 @@ We exclude all outputs that start with <code>OP_RETURN</code> in order to allow
|
|||||||
filters to easily be committed to in the future via a soft-fork. A likely area
|
filters to easily be committed to in the future via a soft-fork. A likely area
|
||||||
for future commitments is an additional <code>OP_RETURN</code> output in the
|
for future commitments is an additional <code>OP_RETURN</code> output in the
|
||||||
coinbase transaction similar to the current witness commitment
|
coinbase transaction similar to the current witness commitment
|
||||||
<ref>https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki</rev>. By
|
<ref>https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki</ref>. By
|
||||||
excluding all <code>OP_RETURN</code> outputs we avoid a circular dependency
|
excluding all <code>OP_RETURN</code> outputs we avoid a circular dependency
|
||||||
between the commitment, and the item being committed to.
|
between the commitment, and the item being committed to.
|
||||||
|
|
||||||
@ -322,7 +322,7 @@ This BIP allocates a new service bit:
|
|||||||
|-
|
|-
|
||||||
| NODE_COMPACT_FILTERS
|
| NODE_COMPACT_FILTERS
|
||||||
| style="white-space: nowrap;" | <code>1 << 6</code>
|
| style="white-space: nowrap;" | <code>1 << 6</code>
|
||||||
| If enabled, the node MUST respond to all BIP 157 messages for filter types <code>0x00</code> and <code>0x01</code>
|
| If enabled, the node MUST respond to all BIP 157 messages for filter type <code>0x00</code>
|
||||||
|}
|
|}
|
||||||
|
|
||||||
== Compatibility ==
|
== Compatibility ==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user