Olaoluwa Osuntokun
6 years ago
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with
1 additions and
11 deletions
-
bip-0158.mediawiki
|
|
@ -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 ==== |
|
|
|
|
|
|
@ -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 ==== |
|
|
|
|
|
|
|