1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-10-19 19:29:18 +00:00

4904 Commits

Author SHA1 Message Date
JP
33202403b3 bip360: correct the claimed P2MR witness size saving
The Transaction Size and Fees section says a P2MR witness is always 32
bytes smaller than an equivalent P2TR script path spend witness. The
control blocks are 1 + 32*m and 33 + 32*m bytes, each serialised with
a compact size prefix, so at m = 7 the P2TR control block is 257 bytes
and takes a 3-byte prefix while the P2MR one is 225 bytes and takes 1.
The saving there is 34 bytes, not 32. Every other depth up to 128
gives 32.

The section already footnotes this boundary for the P2MR side a few
paragraphs earlier.
2026-07-28 15:22:24 +01:00
JP
19f5a224ee bip360: fix stale links, version header and a size example label
- The Test Vectors section linked P2MR_construction.json; the file on
  disk is lowercase p2mr_construction.json, so the link 404s.
- The same section still linked the rust implementation under
  bip-0360/ref-impl/rust, which #2202 moved out of the repository.
- The header said Version: 0.12.0 while the changelog's latest entry
  is 0.12.1.
- The 135-byte depth-1 witness example labeled the merkle path
  "(empty)" while counting 32 bytes for it (a depth-1 path has one
  32-byte node).
2026-07-27 21:44:00 +01:00
JP
1baf0e71bb bip360: fix leafHashes order and a control byte in the pqc vectors
In p2mr_pqc_construction.json, the three-leaf vectors
(p2mr_three_leaf_complex, p2mr_three_leaf_alternative) listed
intermediary.leafHashes with entries 0 and 2 swapped relative to the
depth-first order of the script tree, while the merkle root,
scriptPubKey, address and control blocks all follow depth-first
order (as do the same trees in p2mr_construction.json).

In p2mr_different_version_leaves, scriptPathControlBlocks[1] started
with byte 0xc1 although the leaf it commits to has leafVersion 0xfa;
the control byte carries the leaf version in its upper 7 bits with
the low bit set, so it must be 0xfb. The vector's leafHashes[1] and
merkle root already correspond to the 0xfa leaf.
2026-07-27 21:40:00 +01:00
Jon Atack
9783d61f1b Merge pull request #2217 from jonatack/2026-07-bip360-add-changelog-entry
bip360: add changelog entry for PR 2202
2026-07-26 12:22:38 -07:00
Jon Atack
0fdf6ffdbb bip360: add changelog entry for PR2202 2026-07-24 16:22:20 -06:00
Jon Atack
b289d016b9 Merge pull request #2202 from notmike-5/p2mr
bip-0360: added python reference example; test vector fixes
2026-07-24 10:13:20 -07:00
Jon Atack
6b26d8ce85 Merge pull request #2216 from jonatack/2026-07-bip54-update-reference-implementation
BIP54: update reference implementation
2026-07-24 08:05:24 -07:00
Jon Atack
79334a16fc BIP54: update reference implementation 2026-07-24 08:54:48 -06:00
Jon Atack
6c709e8661 Merge pull request #2184 from ajtowns/202605-bip39-unanimity
BIP-39: Add shortcomings section, drop comments headers.
2026-07-23 19:57:18 -07:00
Anthony Towns
0d1b892ddb BIP-39: Add shortcomings and related work section, drop comments headers. 2026-07-24 12:23:15 +10:00
Murch
fc8da69601 Merge pull request #2214 from murchandamus/bip47-touch-ups
bip47: 
- Change BIP type from Informational to Specification
- Move "recent changes" from above preamble to Changelog section
- Drop Comments headers from Preamble
2026-07-23 12:30:54 -07:00
Murch
9d7ed0fdb8 Merge pull request #2213 from murchandamus/bip179-to-complete
BIP179: Advance to Complete
2026-07-23 12:25:52 -07:00
Murch
d22168c19f bip47: Drop Comments headers 2026-07-23 12:19:23 -07:00
Murch
583d925f1a bip47: Update to Specification type 2026-07-23 12:19:22 -07:00
Murch
390864222b bip47: Move Changelog to bottom 2026-07-23 12:19:19 -07:00
Murch
ed092693c1 bip351: Move to Closed 2026-07-22 15:57:34 -07:00
Murch
2ccd5bf7dc bip351: Update to Specification type 2026-07-22 15:53:20 -07:00
Murch
56cb3cea9d BIP179: Advance to Complete 2026-07-22 14:41:04 -07:00
notmike
267e5cf42c Merge pull request #2 from jbride/p2mr
bip360:  remove rust and js reference implementations
2026-07-20 08:44:58 -06:00
jbride
cca3852acc bip360: remove rust and js reference implementations as per https://github.com/bitcoin/bips/pull/2202 2026-07-16 22:06:39 -06:00
Nadav Ivgi
8c369ac8e6 bip174: clarify commutativity claim
Clarifies that the commutativity only applies if the original PSBTs do not have conflicting fields.

---------

Co-authored-by: Murch <murch@murch.one>
Co-authored-by: Ava Chow <github@achow101.com>
2026-07-16 15:25:56 -07:00
Murch
ee3437854b Merge pull request #2204 from jmoik/gsr
Script Restoration BIPs: fix OP_RIGHT definition, clarify and adjust costing with wordspan notation, UPSHIFT, CLTV/CSV, final success-check
2026-07-16 14:05:46 -07:00
pythcoiner
65b4c38a02 bip138: address review 2026-07-16 08:32:47 -04:00
pythcoiner
1b1513ebaf bip138: add acknowledgements 2026-07-16 08:30:15 -04:00
pythcoiner
e1b35253bc bip138: add Requires header 2026-07-16 08:30:00 -04:00
pythcoiner
5d441163be bip138: address review 2026-07-16 08:06:52 -04:00
pythcoiner
d041c01f2f bip138: add a backward compatibility section 2026-07-16 02:38:01 -04:00
pythcoiner
f79d0862b8 bip138: address review 2026-07-16 02:19:27 -04:00
pythcoiner
090fbf0f35 bip-138 add a test vector for x-only key deduplication 2026-07-15 02:33:03 -04:00
pythcoiner
1a157a6418 bip-138 saturate the decoy bucket at the count limit 2026-07-15 02:32:55 -04:00
pythcoiner
ea221577df bip-138 add test vectors for sorting and deduplication 2026-07-15 01:31:37 -04:00
pythcoiner
86e10c907e bip-138 recommend sorting and deduplicating derivation paths 2026-07-15 01:31:30 -04:00
pythcoiner
ca0722ce39 bip-138 sync test vectors with the reference implementation 2026-07-15 01:31:30 -04:00
pythcoiner
c1170d4634 bip-138 require warning about excluded key expressions 2026-07-15 00:28:36 -04:00
pythcoiner
317b8fdb2f bip-138 reference the CHACHA20-POLY1305 rationale footnote 2026-07-15 00:28:26 -04:00
pythcoiner
1de39be4e3 bip-138 document why content LENGTH is mandatory 2026-07-15 00:26:20 -04:00
pythcoiner
9f1be26e2f bip-138 recommend sorting and deduplicating individual secrets 2026-07-15 00:26:20 -04:00
pythcoiner
1e776e7a72 bip-138 pad individual secrets with decoys 2026-07-15 00:00:09 -04:00
pythcoiner
fb52eaab03 bip-138 document common derivation paths to try automatically 2026-07-15 00:00:08 -04:00
pythcoiner
1358003bc8 bip-138 add string content type 2026-07-14 23:55:04 -04:00
pythcoiner
86f5c28f7c bip-138 treat content type 0x00 as the end of content items 2026-07-14 23:55:04 -04:00
Murch
c021a5f51a Merge pull request #2209 from jonatack/2026-07-link-check-improvements
script: link check improvements
2026-07-10 11:13:49 -07:00
Jon Atack
aacb668022 script: editorial touchups in link-format-chk.sh 2026-07-10 11:35:24 -06:00
Jon Atack
9c5e4d2799 script: add separate check for [url](url) in markdown 2026-07-10 11:33:20 -06:00
Jon Atack
8268d40e58 script: don't raise on [url](url) in markdown grep 2026-07-10 11:25:25 -06:00
Jon Atack
c9aa2437ab Merge pull request #2206 from weifanglab/master
script: check link format in Markdown files
2026-07-10 09:57:28 -07:00
Murch
f3cf667c3e Merge pull request #2208 from darosior/2607_wording_64byte_txs
BIP 54: mention recent ML discussion and 64-byte transactions limitation
2026-07-08 13:00:08 -07:00
Antoine Poinsot
7c7e2f10a4 bip-0054: an SPV verifier that supports 64-byte txs would have to be modified 2026-07-08 15:00:25 -04:00
Antoine Poinsot
9ec73fc6ed bip-0054: mention Jeremy's alternative proposal in rationale 2026-07-08 15:00:23 -04:00
weifanglab
dfe0895d41 script: check link format in Markdown files
Signed-off-by: weifanglab <weifanglab@outlook.com>
2026-07-07 15:51:30 +08:00