rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra b27169979b
Merge rust-bitcoin/rust-bitcoin#1334: Rename `hash` module to `merkle_root`
29df410ea3 Document state after call to calculate_root_inline (Tobin C. Harding)
2dbc7fdf21 Rename merkle_root functions (Tobin C. Harding)
22dd904735 Rename util::hash module (Tobin C. Harding)

Pull request description:

  Done as part of flattening `util`.

  The `util::hash` module only provides two functions, both to calculate the merkle root of a list of hashes.

  1. Rename `util::hash` -> `crate::merkle_root`
  2. Change function names to `calculate[_inline]` so usage becomes `merkle_root::calculate`

  Done as two separate patches so we can bikeshed the names, can squash if needed.

ACKs for top commit:
  Kixunil:
    ACK 29df410ea3
  apoelstra:
    ACK 29df410ea3

Tree-SHA512: 17ace90c7700b5d7adf8b95731c9a348b5c92863806cc88bc40730547f457e44160efb19985e025970b59fea86d68f0bf4be0af17717a65ae44f11c8d10ec4c6
2022-11-04 14:42:02 +00:00
..
contrib Merge rust-bitcoin/rust-bitcoin#999: examples: Add taproot PSBT example workflow 2022-10-25 16:47:18 +00:00
examples Promote rust-miniscript finalizer 2022-10-27 10:40:45 -04:00
src Merge rust-bitcoin/rust-bitcoin#1334: Rename `hash` module to `merkle_root` 2022-11-04 14:42:02 +00:00
tests Add a test parsing transaction with a huge witness 2022-11-01 14:27:38 +01:00
Cargo.toml Move test_data/* tests/data 2022-10-27 10:40:44 -04:00