rust-bitcoin-unsafe-fast/bitcoin/tests/data/serde
josibake ccbd09d5fb
Remove unnecessary m/ prefix requirement
In BIP0032, m is used as a variable for the root extended key. It is not
meant to be used as a constant prefix when serializing paths.

Update the DerivationPath parser to no longer require the m prefix.
Remove the m prefix from the unit tests and the bip32, ecdsa-psbt,
and taproot-psbt examples.

close #2449
2024-02-07 12:17:45 +01:00
..
README.md Add serde regression tests 2022-10-29 10:47:16 +11:00
absolute_lock_time_blocks_bincode locktime: unify serde impls 2022-12-11 18:48:56 +00:00
absolute_lock_time_seconds_bincode locktime: unify serde impls 2022-12-11 18:48:56 +00:00
address_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
block_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
child_number_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
control_block_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
control_block_hex Add serde regression tests 2022-10-29 10:47:16 +11:00
ecdsa_sig_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
ecdsa_sig_hex Add serde regression tests 2022-10-29 10:47:16 +11:00
extended_priv_key Add serde regression tests 2022-10-29 10:47:16 +11:00
extended_priv_key_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
extended_pub_key Add serde regression tests 2022-10-29 10:47:16 +11:00
extended_pub_key_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
private_key_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
proprietary_key_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
psbt_bincode Remove unnecessary m/ prefix requirement 2024-02-07 12:17:45 +01:00
public_key_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
public_key_hex Add serde regression tests 2022-10-29 10:47:16 +11:00
raw_pair_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
relative_lock_time_blocks_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
relative_lock_time_seconds_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
script_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
taproot_sig_bincode Rename schnorr module to taproot 2023-02-20 12:58:09 +11:00
taproot_sig_hex Rename schnorr module to taproot 2023-02-20 12:58:09 +11:00
taptree_bincode Introduce Hidden leaves in ScriptLeaves 2023-03-01 16:58:24 -08:00
transaction_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
transaction_ser Add serde regression tests 2022-10-29 10:47:16 +11:00
txin_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
txin_ser Add serde regression tests 2022-10-29 10:47:16 +11:00
txout_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
u256_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
uint128_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
uint256_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00
witness_bincode Add serde regression tests 2022-10-29 10:47:16 +11:00

README.md

Serialization input/output

Files here contain hex strings and binary data representing types used for regression testing.

  • *_hex: consensus encoded types represented as hex strings
  • *_ser: consensus encoded types represented as binary data
  • *_bincode: types serialized with serde as bincode

We consensus deserialize, serde serialize, then check against the expected data to verify no serde regressions have been introduced.