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

4880 Commits

Author SHA1 Message Date
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
pythcoiner
56deb75d62 bip-138: allow multiple content items per payload 2026-06-30 10:59:17 -04: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