mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
BIP-0158: remove the extended filter type
This commit is contained in:
parent
285606ef7a
commit
4a85759f02
@ -258,9 +258,8 @@ against the decompressed GCS contents. See
|
|||||||
|
|
||||||
=== Block Filters ===
|
=== Block Filters ===
|
||||||
|
|
||||||
This BIP defines two initial filter types:
|
This BIP defines one initial filter type:
|
||||||
* Basic (<code>0x00</code>)
|
* Basic (<code>0x00</code>)
|
||||||
* Extended (<code>0x01</code>)
|
|
||||||
|
|
||||||
==== Contents ====
|
==== Contents ====
|
||||||
|
|
||||||
@ -269,15 +268,6 @@ sync a regular Bitcoin wallet. A basic filter MUST contain exactly the following
|
|||||||
items for each transaction in a block:
|
items for each transaction in a block:
|
||||||
* The outpoint of each input, except for the coinbase transaction
|
* The outpoint of each input, except for the coinbase transaction
|
||||||
* The scriptPubKey of each output
|
* The scriptPubKey of each output
|
||||||
The extended filter contains extra data that is meant to enable applications
|
|
||||||
with more advanced smart contracts. An extended filter MUST contain exactly the
|
|
||||||
following items for each transaction in a block ''except the coinbase'':
|
|
||||||
* Each item within the witness stack of each input (if the input has a witness)
|
|
||||||
* Each data push in the scriptSig of each input
|
|
||||||
|
|
||||||
Note that neither filter type interprets P2SH scripts or witness scripts to
|
|
||||||
extract data pushes from them. If necessary, future filter types may be designed
|
|
||||||
to do so.
|
|
||||||
|
|
||||||
==== Construction ====
|
==== Construction ====
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user