Skip to content

Commit 485b131

Browse files
authored
m7 op return update
This has been right in the code, but I kept forgetting to update the BIP.
1 parent 5353f9e commit 485b131

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bip-blind-merged-mining.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ Mainchain nodes are going to need this data later, so it must be easy to find. W
8585

8686
==== M7 -- "Blind-Mine the Sidechain(s)" ====
8787

88-
Thus, (for n sidechains) we have a coinbase output with:
88+
Thus, (for n sidechains) we have a coinbase output with multiple OP_RETURNs (we've changed the tx-standardness policy to allow multiple OP_RETURNs):
8989

9090
1-byte - OP_RETURN (0x6a)
91-
1-byte - Push the following (4+(n*35)) bytes (0x??)
91+
1-byte - Push the following 39 bytes (0x27)
9292
4-byte - Message header (0xD3407053)
93-
(n*(32+5))-byte - A sequence of bytes, of the three Mini-Header items (h*, prevBlockRef, ChainIndex).
93+
37-byte - A sequence of bytes, of the three Mini-Header items (h*, prevBlockRef, ChainIndex).
9494
9595
( We assume that 5 bytes are used for the Critical Data bytes (non h* parts of the Sidechain Mini-Header). For 256 sidechains, a total of 9,478 bytes [1+1+4+256\*(32+5)] are required, conveniently just below the 10 KB scriptPubKey size limit.)
9696

0 commit comments

Comments
 (0)