Skip to content

Commit 1330853

Browse files
committed
BIP-0158: clarify OP_RETURN handling for filters
In this commit, we clarify how we handle `OP_RETURN` outputs for regular filters. The prior language was a bit ambiguous, so we hope to make it as explicit as possible.
1 parent dd3948b commit 1330853

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bip-0158.mediawiki

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ following items for each transaction in a block:
281281
282282
Any "nil" items MUST NOT be included into the final set of filter elements.
283283

284-
We exclude all <code>OP_RETURN</code> outputs in order to allow filters to
285-
easily be committed to in the future via a soft-fork. A likely area for future
286-
commitments is an additional <code>OP_RETURN</code> output in the coinbase
287-
transaction similar to the current witness commitment
284+
We exclude all outputs taht start with <code>OP_RETURN</code> in order to allow
285+
filters to easily be committed to in the future via a soft-fork. A likely area
286+
for future commitments is an additional <code>OP_RETURN</code> output in the
287+
coinbase transaction similar to the current witness commitment
288288
<ref>https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki</rev>. By
289289
excluding all <code>OP_RETURN</code> outputs we avoid a circular dependency
290290
between the commitment, and the item being committed to.

0 commit comments

Comments
 (0)