rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 77aee43685
Merge rust-bitcoin/rust-bitcoin#1485: Add `tapscript_leaf_hash()` to `Script`
bae264d0c2 Add `tapscript_leaf_hash()` to `Script` (Jiri Jakes)

Pull request description:

  Adds convenience method to `Script` for computing leaf hash of tapscript. Closes #1482.

  The little test case is taken from `bip341_tests.json`.

ACKs for top commit:
  Kixunil:
    ACK bae264d0c2
  apoelstra:
    ACK bae264d0c2

Tree-SHA512: fb7a3a552017208decd56ca7d27eab1987a3a92aae5b8620896b3a02986c2fc13043c200ccfbadf9cfdd2d74af38b0bc25936338f55b7d318c1296acc88bf22a
2022-12-19 21:07:59 +00:00
..
contrib Fail CI if docs build throws warnings 2022-11-21 10:35:49 +11:00
embedded Patch hashes and update the code 2022-12-18 14:33:55 +01:00
examples Add `tapscript_leaf_hash()` to `Script` 2022-12-19 08:35:35 +01:00
fuzz Patch hashes and update the code 2022-12-18 14:33:55 +01:00
src Merge rust-bitcoin/rust-bitcoin#1485: Add `tapscript_leaf_hash()` to `Script` 2022-12-19 21:07:59 +00:00
tests Implemented unsized `Script` 2022-12-14 23:21:27 +01:00
CHANGELOG.md add some documentation clarifying the locktime ordering shenanigans in #1330 2022-12-15 23:12:03 +00:00
Cargo.toml Implemented unsized `Script` 2022-12-14 23:21:27 +01:00
build.rs Implement consensus encoding adapter for serde 2022-12-02 10:48:05 +01:00