bips/bip-0352
omipheo 3b76c84d6f BIP352: complete return type annotations in bitcoin_utils
The serialization helpers in bip-0352/bitcoin_utils.py were partially
typed: ser_uint32, hash160, is_p2tr, is_p2wpkh, is_p2sh and is_p2pkh
already declare argument and return types, but the surrounding
from_hex / ser_uint256 / deser_uint256 / deser_txid / deser_compact_size
/ deser_string / deser_string_vector helpers omit them.

Annotate the missing return types (and fill in the obvious argument
types) so the file is consistent and so static analysis can flow types
through callers in reference.py. No behavior changes.
2026-05-08 07:39:17 +02:00
..
secp256k1lab Merge commit '53b590e190f798131a10a16194261243abdf6b4d' as 'bip-0352/secp256k1lab' 2026-03-02 19:16:00 +01:00
bech32m.py Add reference.py with test vectors 2024-05-08 18:14:55 +02:00
bitcoin_utils.py BIP352: complete return type annotations in bitcoin_utils 2026-05-08 07:39:17 +02:00
reference.py BIP352: fix Any typing 2026-05-07 21:04:24 -06:00
ripemd160.py BIP-352: use own ripemd160 for reference implementation (#1616) 2024-06-29 07:08:49 -07:00
scan_data_downloader_per_month.png bip352: update appendix 2024-07-12 09:05:35 +02:00
send_and_receive_test_vectors.json BIP-352: add test vector for edge case - input key intermediate sum zero 2026-04-16 12:05:12 -04:00