rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 594eb18728
Merge rust-bitcoin/rust-bitcoin#2707: Default to forward for tagged hashes
7685461e62 Document the sha256t_hash_newtype direction (Tobin C. Harding)
30e91cc766 Default to forward for tagged hashes (Tobin C. Harding)
5ecc69cd28 Add forward/backward unit test (Tobin C. Harding)
9aee65d1ba Refactor tagged hash tests (Tobin C. Harding)
216422dffc Remove schemars impl for test type (Tobin C. Harding)

Pull request description:

  First three patches are preparation, improvements to the units tests in `sha256t`.

  From the final patch:

      Displaying backward is an anomaly of Bitcoin Core's early days and the
      double SHA256 hash type. We should not let this unfortunate beast leak
      out into other places.

      Default to displaying forward when creating a new tagged hash and remove
      all the explicit attributes from `bitcoin` that just clutter the code.

  This is an API break and may quietly break some users downstream - eventually we should stop doing that sort of thing.

ACKs for top commit:
  apoelstra:
    ACK 7685461e62

Tree-SHA512: cb8a41b207aa68ecf63cb7af7f39f7d7c8a3a27f38595867949b288a81a20bff0c17aa4c17bb099e2ecf85194d83bad23c9c9792f511b6c4cd625ff27c1affaa
2024-05-07 14:16:16 +00:00
..
contrib CI: Re-write run_task.sh 2024-04-26 09:41:51 +10:00
embedded base58: Re-name crate to base58ck 2024-03-19 09:00:46 +11:00
examples fix(typo): examples/ecdsa-psbt.rs 2024-05-01 17:56:11 -03:00
src Merge rust-bitcoin/rust-bitcoin#2707: Default to forward for tagged hashes 2024-05-07 14:16:16 +00:00
tests chore: format and standardize all markdowns files 2024-04-27 06:29:23 -03:00
CHANGELOG.md bitcoin: Bump version to 0.32.0-rc1 2024-04-05 08:10:08 +11:00
Cargo.toml bitcoin: Upgrade base64 dependency 2024-04-26 09:31:33 +10:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00