notmike
267e5cf42c
Merge pull request #2 from jbride/p2mr
...
bip360: remove rust and js reference implementations
2026-07-20 08:44:58 -06:00
notmike
3e3e4347e2
bip360: cleanup rust tests a bit and remove unused imports
2026-06-28 20:33:31 -06:00
notmike
75167ec077
bip360: mask tapleaf_version in tapleaf_hash
2026-06-27 22:40:15 -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 and conduition
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
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