rust-bitcoin-unsafe-fast/src
Andrew Poelstra b32d40390c
Merge rust-bitcoin/rust-bitcoin#898: Make PsbtSigHashType use the same formatting as other *SigHashTypes
992857ad0a PsbtSighashType unit tests (Dr Maxim Orlovsky)
5be1cdb8c7 PsbtSigHashType Display and FromStr implementation (Dr Maxim Orlovsky)
7cdcdaad6c Support SIGHASH_RESERVED in SchnorrSigHashType::from_u8 (Dr Maxim Orlovsky)

Pull request description:

  The newly introduced `PsbtSigHashType` uses very different serde formatting from previously used `EcdsaSigHashType`; for instance it does not output human-readable sighash. This is especially obvious when printing out PSBT as JSON/YAML object and is a breaking change from the `0.27`. Serde human-readable implementation requires `Display/FromStr`, which were also absent.

ACKs for top commit:
  sanket1729:
    ACK 992857ad0a. This is much better
  apoelstra:
    ACK 992857ad0a

Tree-SHA512: 71a46471f34b5481e4c1273a66846f59d61bfd98fcb65e7823ca216ff0dd419d81ca86d99c7aaf674fcfe2b1c010e899c8e74328f60a1e809015c663c453cc89
2022-03-28 17:34:20 +00:00
..
blockdata Merge rust-bitcoin/rust-bitcoin#898: Make PsbtSigHashType use the same formatting as other *SigHashTypes 2022-03-28 17:34:20 +00:00
consensus Use less vertical lines 2022-03-14 13:52:13 +11:00
network Use less vertical lines 2022-03-14 13:52:13 +11:00
util Merge rust-bitcoin/rust-bitcoin#898: Make PsbtSigHashType use the same formatting as other *SigHashTypes 2022-03-28 17:34:20 +00:00
hash_types.rs Order impl_hashencode lines 2022-03-09 13:18:48 +11:00
internal_macros.rs Merge rust-bitcoin/rust-bitcoin#903: Improve `SchnorrSigHashType` 2022-03-24 08:02:27 +02:00
lib.rs Re-export public map types from root level 2022-01-18 12:56:47 +11:00
policy.rs Flatten the policy module 2022-03-09 10:20:18 +11:00
serde_utils.rs Refactor where statements 2022-03-14 13:52:13 +11:00
test_macros.rs Refactor whitespace 2022-03-14 13:51:50 +11:00