rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 4300cf2210
Add p2wpkh and p2wsh signature hash functions
The word "segwit" refers to segwit v0 and taproot but currently we have
`segwit_signature_hash` that is version specific (segwit v0).

- Rename `segwit_encode_signing_data_to` to
  `segwit_v0_encode_signing_data_to`
- Add `p2wpkh_signature_hash` and `p2wsh_signature_hash` functions

We keep the single encode function because the error handling is better
that way.

While we are at it test the bip-143 test vectors against all the
sighash types of wrapped p2wsh.
2023-08-15 11:54:08 +10:00
..
contrib Remove pins from test script 2023-08-09 12:48:26 +02:00
embedded Add patch section to test crates 2023-07-18 10:27:48 +10:00
examples Add p2wpkh and p2wsh signature hash functions 2023-08-15 11:54:08 +10:00
src Add p2wpkh and p2wsh signature hash functions 2023-08-15 11:54:08 +10:00
tests Depend on hex-conservative 2023-07-21 10:59:46 +10:00
CHANGELOG.md Add changelo entry for removal of FromHex 2023-05-18 14:18:42 +10:00
Cargo.toml Merge rust-bitcoin/rust-bitcoin#1833: Use new `hex-conservative` crate 2023-07-27 16:27:01 +00:00
build.rs Remove rust_v_1_46 2023-03-23 08:27:10 +11:00