Commit Graph
4865 Commits
Author SHA1 Message Date
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
notmikeandconduition 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
Fabian Jahr c134c7db55 BIP95: Testnet 5 2026-06-25 23:30:46 +02:00
Dathon Ohm f952fd1fc0 BIP-110: advance to Complete status; emphasize UTXO grandfathering; restore OP_IF byte-saving note 2026-06-24 15:56:24 -06:00
Jon Atack 861e235e93 Merge pull request #2165 from murchandamus/bip52-closed
bip52: Update to Closed
2026-06-19 12:13:55 -07:00
Murch 4894bcc4eb bip52: Update to Closed
This proposal appears abandoned, as it has not had any updates in over
four years, and cursory search did not produce any public discussions of
it since it was published either. Attempts to contact the authors did
not receive a response within four weeks.
2026-06-18 21:11:57 -07:00
conduition 6740c533e8 bip360: depth-zero script trees should be anyone-can-spend (#2198)
* bip360: depth zero trees should be anyone-can-spend

* bip360: update changelog and bump version to 0.12.0
2026-06-18 18:14:23 -07:00
pythcoiner b1e3adcf2e bip-138: terminate generated test vectors with a trailing newline 2026-06-18 12:02:30 -04:00
pythcoiner 99217c680f bip-138: reference BIP-0139 for wallet backup metadata 2026-06-18 11:47:17 -04:00
pythcoiner c6b04e23df bip-138: BIP380 content is a bare descriptor or a JSON document 2026-06-18 11:47:17 -04:00
pythcoiner d115620881 bip-138: make BIP380 backup content JSON-only 2026-06-18 11:47:17 -04:00
pythcoiner 810b4df73e bip-138: specify BIP388 wallet policy backup content 2026-06-18 11:46:44 -04:00
pythcoiner 9e2a585a9a bip-138: specify BIP380 descriptor backup content 2026-06-18 03:44:25 -04:00
pythcoiner b7ba2840a9 bip-138: clarify CONTENT is a single TLV and forbid all-zero nonce 2026-06-18 03:02:17 -04:00
pythcoiner 72d8a9533f bip-0138: use assigned BIP number 138 for magic and domain separation tags 2026-06-18 01:51:17 -04:00
pythcoiner 7707cf2935 bip-0138: make PLAINTEXT LENGTH mandatory and add optional payload padding 2026-06-18 01:51:15 -04:00