Skip to content

Commit

Permalink
BIP-0158: remove the extended filter type
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Jul 4, 2018
1 parent 285606e commit 4a85759
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions bip-0158.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,8 @@ against the decompressed GCS contents. See

=== Block Filters ===

This BIP defines two initial filter types:
This BIP defines one initial filter type:
* Basic (<code>0x00</code>)
* Extended (<code>0x01</code>)
==== Contents ====

Expand All @@ -269,15 +268,6 @@ sync a regular Bitcoin wallet. A basic filter MUST contain exactly the following
items for each transaction in a block:
* The outpoint of each input, except for the coinbase transaction
* 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 ====

Expand Down

0 comments on commit 4a85759

Please sign in to comment.