1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-07-27 18:13:38 +00:00
Commit Graph

4718 Commits

Author SHA1 Message Date
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
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
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
notmike
3e3e4347e2 bip360: cleanup rust tests a bit and remove unused imports 2026-06-28 20:33:31 -06:00
Jon Atack
f078d4f5ff Merge pull request #2201 from dathonohm/bip110-complete
BIP-110: advance to Complete status
2026-06-28 13:34:28 -07:00
notmike
75167ec077 bip360: mask tapleaf_version in tapleaf_hash 2026-06-27 22:40:15 -06:00
julian
e840999d2d BIP-0441: update wordspan costs and OP_RIGHT
- Apply BIP-0440 wordspan notation to numeric and bitvector costs.

- Define OP_RIGHT as rightmost-byte extraction with bounded copying cost.

- Clarify OP_UPSHIFT, CLTV/CSV, and final success-check costs.
2026-06-27 16:22:51 +02:00
julian
503939b53d BIP-0440: clarify wordspan costs 2026-06-27 16:16:58 +02:00
Dathon Ohm
b0a1a27602 BIP-110: Add test vectors JSON and generator script 2026-06-26 23:30:08 -06:00
notmike
94b0f9db4c bip360: consistency changes to p2mr core functions
Standardizes all P2MR-specific functions to use bytes uniformly for
input/output. Hex conversions are now confined to two boundaries:
reading `script` field out of ScriptTree input, and comparing against
hex-encoded test vector data in `run_single_test`.

bech32 functions and s2w are left unchanged.
2026-06-26 23:03:50 -06:00
notmike
64d068e9d1 bip360: minor syntax fix on tapbranch_hash() 2026-06-26 20:08:22 -06:00
notmike
8ea1eaac2d bip360: move collect_leaf_hashes() to the test code section 2026-06-26 20:03:12 -06:00
notmike
ac2aa2ff7d bip360: much cleaner, more readable s2w function 2026-06-26 20:03:12 -06:00
notmike
9bf46b5cfe bip360: make consistent use of h2b 2026-06-26 20:03:12 -06:00
notmike
50a6b91352 bip360: simplify tapbranch_hash function
Implements @conduitions improvement on tapbranch_hash()

Co-authored-by: conduition <conduition@proton.me>
2026-06-26 20:00:28 -06:00
notmike
2706a6181d bip360: Optional type removed / no longer needed 2026-06-26 19:35:32 -06:00
notmike
9fafbb712c Merge pull request #1 from conduition/360/p2mr-compute-control-block
bip360: simplify computing control blocks using explicit traversal paths
2026-06-26 19:32:28 -06:00
conduition
1325ccc7db return type is not optional anymore 2026-06-27 01:15:28 +00:00
conduition
86e7f9d4ca add new test case for duplicate script leaves 2026-06-27 01:12:47 +00:00
conduition
98c0289805 bip360: simplify computing control blocks using explicit traversal paths
This refactors `compute_control_block` to improve performance, and make
the function simpler to read (to me at least).

The previous version walked the entire script tree searching for the
first matching instance of the leaf node.

The new version expects the caller to pass in an explicit `path`
parameter, which tells us exactly where the leaf node lives, with
left/right steps encoded as bits in an integer. We walk down the
tree straight to that leaf node, and build the control block as we go.

This might not be the best DX for a real-world API or library, but this
is just reference code, so we can accept poor usage ergonomics if it makes
the code clearer and more explicit.
2026-06-27 01:11:26 +00:00
reflecttypefor
764f75e338 script: check link format in nested mediawiki files (#2199)
* script: check link format in nested mediawiki files

Signed-off-by: reflecttypefor <reflecttypefor@outlook.com>
2026-06-26 12:25:30 -07:00
notmike
29e1a158e7 bip-0360: added python reference example; test vector fixes
This commit adds a python reference example for construction of BIP-360 outputs and control blocks.
This commit also updates the test vectors.
2026-06-26 13:20:03 -06:00
Dathon Ohm
422fca742a BIP-110: Add Test vectors and Changelog sections 2026-06-25 21:44:45 -06:00
jbride
8d28eb4517 bip360 test vectors: control block now reflects use of non-standard
leaf version
2026-06-25 19:59:03 -06:00
jbride
907db20348 bip360 test vectors: non-standard leaf version should be allowed during construction of P2MR output (#46) 2026-06-25 19:59:03 -06:00
jbride
35b9ffe21b bip360 test vectors: elements in control block array should be ordered to match tree structure of test vectors (#45) 2026-06-25 19:59:03 -06:00
Jon Atack
b9883fbb4b Merge pull request #2196 from fjahr/bip-t5-draft
BIP95: Testnet 5
2026-06-25 14:40:45 -07:00