Skip to content

Commit 37c3463

Browse files
update bips submodule and build
1 parent 20a7d23 commit 37c3463

456 files changed

Lines changed: 8921 additions & 49097 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

web/content/54/bip-0054/test_vectors/coinbases.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@
7676
"valid": false,
7777
"comment": "Block at height 4 with coinbase's nLockTime set to block's nTime minus 1 and maximum non-final nSequence."
7878
}
79-
]
79+
]
80+

web/content/54/bip-0054/test_vectors/sigops.json

Lines changed: 100 additions & 83 deletions
Large diffs are not rendered by default.

web/content/54/bip-0054/test_vectors/timestamps.json

Lines changed: 4134 additions & 24253 deletions
Large diffs are not rendered by default.
Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,67 @@
11
[
22
{
3+
"comment": "A 63-byte legacy transaction.",
34
"tx": "0200000001827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff0100000000000000000300515200000000",
4-
"valid": true,
5-
"comment": "A 63-byte legacy transaction."
5+
"valid": true
66
},
77
{
8+
"comment": "A 61-byte legacy transaction with a witness.",
89
"tx": "02000000000101827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff01000000000000000000010000000000",
9-
"valid": true,
10-
"comment": "A 61-byte legacy transaction with a witness."
10+
"valid": true
1111
},
1212
{
13+
"comment": "A 64-byte legacy transaction (4 bytes in spk).",
1314
"tx": "0200000001827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff010000000000000000040051525400000000",
14-
"valid": false,
15-
"comment": "A 64-byte legacy transaction (4 bytes in spk)."
15+
"valid": false
1616
},
1717
{
18+
"comment": "A 64-byte legacy transaction (4 bytes in scriptsig).",
1819
"tx": "0200000001827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c883150000000403424242ffffffff010040075af07507000000000000",
19-
"valid": false,
20-
"comment": "A 64-byte legacy transaction (4 bytes in scriptsig)."
20+
"valid": false
2121
},
2222
{
23+
"comment": "A 65-byte legacy transaction.",
2324
"tx": "0200000001827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff01000000000000000005005152545800000000",
24-
"valid": true,
25-
"comment": "A 65-byte legacy transaction."
25+
"valid": true
2626
},
2727
{
28+
"comment": "A 64-byte Segwit transaction.",
2829
"tx": "02000000000101827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff01000000000000000004005152540108213245576281941200000000",
29-
"valid": false,
30-
"comment": "A 64-byte Segwit transaction."
30+
"valid": false
3131
},
3232
{
33+
"comment": "A 64-byte Segwit transaction (1 p2tr input, 1 p2a output).",
3334
"tx": "02000000000101827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff0100000000000000000451024e7301415a78b5a14a2527feb02c08b8124e74c3b9bcc1bd3dba1fbfa87f1c930f28a46fea2bf375105dfd835e212c9127aad4976c46ef86be02edbb681e6f38f9a9e06f0100000000",
34-
"valid": false,
35-
"comment": "A 64-byte Segwit transaction (1 p2tr input, 1 p2a output)."
35+
"valid": false
3636
},
3737
{
38+
"comment": "A 64-byte Segwit transaction (1 p2tr input with annex, 1 OP_RETURN output).",
39+
"tx": "02000000000101827da3d85a6547d6b03662d2cb86982d655a6f390547285a3bf9ec9f28e0c8831500000000ffffffff010000000000000000046a02ab0102415a78b5a14a2527feb02c08b8124e74c3b9bcc1bd3dba1fbfa87f1c930f28a46fea2bf375105dfd835e212c9127aad4976c46ef86be02edbb681e6f38f9a9e06f01064242ffab212100000000",
40+
"valid": false
41+
},
42+
{
43+
"comment": "Historical 64-byte transaction 892f44a49de6f5b212cdbea514d09e692d9fed5d897f37bcef14bd0eedebf193",
3844
"tx": "0200000001deb98691723fa71260ffca6ea0a7bc0a63b0a8a366e1b585caad47fb269a2ce401000000030251b201000000010000000000000000016a00000000",
39-
"valid": false,
40-
"comment": "Historical 64-byte transaction 892f44a49de6f5b212cdbea514d09e692d9fed5d897f37bcef14bd0eedebf193"
45+
"valid": false
4146
},
4247
{
48+
"comment": "Historical 64-byte transaction bbf71454857438c6dfd64c0d92a7c5360a8d8d57c9202f5806449e5b0d26b848",
4349
"tx": "01000000010d0afe3d74062ee60c0ec55579d691d8c8af5c04eb97b777157a21a8c5fb143d00000000035101b100000000010000000000000000016a01000000",
44-
"valid": false,
45-
"comment": "Historical 64-byte transaction bbf71454857438c6dfd64c0d92a7c5360a8d8d57c9202f5806449e5b0d26b848"
50+
"valid": false
4651
},
4752
{
53+
"comment": "Historical 64-byte transaction 6713d61a83e3d095582211ea8d6db452ac7561e863decba7c4046fb9f6d88aa0",
4854
"tx": "02000000011658a33df410379bb512206659910c9fbd0e50bfb732f7be9936558ff036919401000000035101b201000000010000000000000000016a00000000",
49-
"valid": false,
50-
"comment": "Historical 64-byte transaction 6713d61a83e3d095582211ea8d6db452ac7561e863decba7c4046fb9f6d88aa0"
55+
"valid": false
5156
},
5257
{
58+
"comment": "Historical 64-byte transaction 7f2efc6546011ad3227b2da678be0d30c7f4b08e2ce57b5edadd437f9e27a612",
5359
"tx": "02000000011a7a4cf262fb7e53e2e6e0b2ef8b763f6ee97d8681ca968d1938418d56e6c38700000000035101b201000000010000000000000000016a00000000",
54-
"valid": false,
55-
"comment": "Historical 64-byte transaction 7f2efc6546011ad3227b2da678be0d30c7f4b08e2ce57b5edadd437f9e27a612"
60+
"valid": false
5661
},
5762
{
63+
"comment": "Historical 64-byte transaction 5302e01dc4b7e34314a34c7c3347107e612b9524be684d388cd4d2ca35ff1ec9",
5864
"tx": "01000000019222bbb054bb9f94571dfe769af5866835f2a97e883959fa757de4064bed8bca01000000035101b100000000010000000000000000016a01000000",
59-
"valid": false,
60-
"comment": "Historical 64-byte transaction 5302e01dc4b7e34314a34c7c3347107e612b9524be684d388cd4d2ca35ff1ec9"
65+
"valid": false
6166
}
62-
]
67+
]

web/content/54/index.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Given a block at height `N`:
8181
or equal to the value of the timestamp of the block at height `N-2015` (T<sub>N</sub> &ge;
8282
T<sub>N−2015</sub>).
8383

84-
A limit is set on the number of potentially executed signature operations in validating a
84+
A limit is set on the number of signature operations present in the scripts used to validate a
8585
transaction. It applies to all transactions in the block except the coinbase transaction[^1]. For
8686
each input in the transaction, count the number of `CHECKSIG` and `CHECKMULTISIG` in the input
8787
scriptSig and previous output's scriptPubKey, including the P2SH redeemScript. If the total summed
@@ -140,7 +140,10 @@ validation will need to be re-activated from block 1,983,702. A simple way to pr
140140
mandate that future coinbase transactions vary from coinbase transactions before [bip-0034][BIP34]
141141
activation. There are multiple ways of achieving this, but setting and enforcing the timelock for
142142
the coinbase transaction makes it so all coinbase transactions past Consensus Cleanup activation
143-
could not have been valid before this height and therefore cannot be a duplicate[^11].
143+
could not have been valid before this height and therefore cannot be a duplicate[^11]. This
144+
simplifies both reasoning and client implementation, since the [bip-0030][BIP30] check can be
145+
skipped entirely past Consensus Cleanup activation, regardless of the [bip-0034][BIP34] activation
146+
status[^12].
144147

145148
## Backward compatibility
146149

@@ -235,6 +238,10 @@ bip-0034 height commitment and the corresponding future block height.
235238
coinbase transactions as not having duplicate past Consensus Cleanup activation would be consistent
236239
for any implementation which enforces `nLockTime` from the genesis block, which is the behaviour
237240
notably of Bitcoin Core but also of all other implementations the authors are aware of.
241+
[^12]: For instance Bitcoin Core only disables [bip-0030][BIP30] validation for a specific chain
242+
where [bip-0034][BIP34] violations have been manually inspected (see [here][Core validation.cpp
243+
BIP34]). Without the guarantee given by enforcing the timelock on coinbase transactions, this would
244+
have to be perpetuated for the Consensus Cleanup.
238245

239246
[BIP30]: https://github.com/bitcoin/bips/blob/master/bip-0030.mediawiki
240247
[BIP-XXXX]: https://github.com/TheBlueMatt/bips/blob/7f9670b643b7c943a0cc6d2197d3eabe661050c2/bip-XXXX.mediawiki
@@ -259,3 +266,4 @@ notably of Bitcoin Core but also of all other implementations the authors are aw
259266
[Core 29.0]: https://bitcoincore.org/en/releases/29.0
260267
[inquisition-implem]: https://github.com/darosior/bitcoin/tree/2509_inquisition_consensus_cleanup
261268
[Core 30.0]: https://bitcoincore.org/en/releases/30.0
269+
[Core validation.cpp BIP34]: https://github.com/bitcoin/bitcoin/blob/390e7d61bd531505bb3d13f38316c282b85ed1dd/src/validation.cpp#L2401-L2459

web/public/1/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ <h2>Changelog</h2>
266266
<div data-pagefind-ignore class="w-full flex flex-col items-center space-y-2 text-center">
267267
<div class="flex items-center space-x-2">
268268
<p class="font-bold">Updated</p>
269-
<p class="font-bold">2026-04-15</p>
269+
<p class="font-bold">2026-04-16</p>
270270
</div>
271271
<p>See an issue with rendering or formatting? Submit an issue on <a href="https://github.com/nickmonad/bips.dev" target="_blank">GitHub</a></p>
272272
<p>Do you find this site useful? Please consider <a href="https://buy.tryspeed.com/plink_live_lyek4a2yW2Sn2wfA" target="_blank">donating</a> some sats to support ongoing development.</p>

web/public/10/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ <h2> Reference Implementation </h2>
207207
<div data-pagefind-ignore class="w-full flex flex-col items-center space-y-2 text-center">
208208
<div class="flex items-center space-x-2">
209209
<p class="font-bold">Updated</p>
210-
<p class="font-bold">2026-04-15</p>
210+
<p class="font-bold">2026-04-16</p>
211211
</div>
212212
<p>See an issue with rendering or formatting? Submit an issue on <a href="https://github.com/nickmonad/bips.dev" target="_blank">GitHub</a></p>
213213
<p>Do you find this site useful? Please consider <a href="https://buy.tryspeed.com/plink_live_lyek4a2yW2Sn2wfA" target="_blank">donating</a> some sats to support ongoing development.</p>

web/public/100/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ <h2>Copyright</h2>
197197
<div data-pagefind-ignore class="w-full flex flex-col items-center space-y-2 text-center">
198198
<div class="flex items-center space-x-2">
199199
<p class="font-bold">Updated</p>
200-
<p class="font-bold">2026-04-15</p>
200+
<p class="font-bold">2026-04-16</p>
201201
</div>
202202
<p>See an issue with rendering or formatting? Submit an issue on <a href="https://github.com/nickmonad/bips.dev" target="_blank">GitHub</a></p>
203203
<p>Do you find this site useful? Please consider <a href="https://buy.tryspeed.com/plink_live_lyek4a2yW2Sn2wfA" target="_blank">donating</a> some sats to support ongoing development.</p>

web/public/101/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ <h2>Implementation</h2>
203203
<div data-pagefind-ignore class="w-full flex flex-col items-center space-y-2 text-center">
204204
<div class="flex items-center space-x-2">
205205
<p class="font-bold">Updated</p>
206-
<p class="font-bold">2026-04-15</p>
206+
<p class="font-bold">2026-04-16</p>
207207
</div>
208208
<p>See an issue with rendering or formatting? Submit an issue on <a href="https://github.com/nickmonad/bips.dev" target="_blank">GitHub</a></p>
209209
<p>Do you find this site useful? Please consider <a href="https://buy.tryspeed.com/plink_live_lyek4a2yW2Sn2wfA" target="_blank">donating</a> some sats to support ongoing development.</p>

0 commit comments

Comments
 (0)