diff options
Diffstat (limited to 'bip-0158.mediawiki')
-rw-r--r-- | bip-0158.mediawiki | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/bip-0158.mediawiki b/bip-0158.mediawiki index 6c3202b..ce4a4af 100644 --- a/bip-0158.mediawiki +++ b/bip-0158.mediawiki @@ -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 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 -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. == Motivation == @@ -27,9 +27,8 @@ enables basic wallets and applications with more advanced smart contracts. [[bip-0157.mediawiki|BIP 157]] defines a light client protocol based on deterministic filters of block content. The filters are designed to minimize the expected bandwidth consumed by light clients, downloading filters -and full blocks. This document defines two initial filter types, ''basic'' and -''extended'', to provide support for advanced applications while reducing the -filter size for regular wallets. +and full blocks. This document defines the initial filter type ''basic'' +that is designed to reduce the filter size for regular wallets. == Definitions == @@ -285,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 for future commitments is an additional <code>OP_RETURN</code> output in the 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 between the commitment, and the item being committed to. @@ -323,7 +322,7 @@ This BIP allocates a new service bit: |- | NODE_COMPACT_FILTERS | 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 == @@ -348,7 +347,7 @@ Light client: [https://github.com/lightninglabs/neutrino] Full-node indexing: https://github.com/Roasbeef/btcd/tree/segwit-cbf -Golomb-Rice Coded sets: https://github.com/Roasbeef/btcutil/tree/gcs/gcs +Golomb-Rice Coded sets: https://github.com/btcsuite/btcutil/blob/master/gcs == Appendix A: Alternatives == |