rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 2de220ec6a
Merge rust-bitcoin/rust-bitcoin#2097: Add `Witness::p2tr_key_spend` function
6715e93e89 Add Witness::p2tr_key_spend function (Tobin C. Harding)

Pull request description:

  Add a function for creating the witness when doing a key path spend for a P2TR output.

  This mirrors what we did for P2WPKH when adding `Witness::p2wpkh`.

  Includes update to the taproot signing example to use the new constructor.

ACKs for top commit:
  Kixunil:
    ACK 6715e93e89
  apoelstra:
    ACK 6715e93e89

Tree-SHA512: aab51329e8fda471442bb9cebd6327636548dd157bb9842fe66993fcdd211bb04b2b829aa9d5962dd619f5c0b73d19644a44529c1a5958df1a6bc892147b44f5
2024-01-25 13:34:06 +00:00
..
contrib Remove DO_COV 2024-01-23 14:27:10 +11:00
embedded Implement `CompressedPublicKey` 2023-12-12 15:16:16 +01:00
examples Merge rust-bitcoin/rust-bitcoin#2097: Add `Witness::p2tr_key_spend` function 2024-01-25 13:34:06 +00:00
src Merge rust-bitcoin/rust-bitcoin#2097: Add `Witness::p2tr_key_spend` function 2024-01-25 13:34:06 +00:00
tests Improve Signature field names 2024-01-15 10:26:40 +11:00
CHANGELOG.md Remove no-std feature 2023-12-06 09:54:33 +11:00
Cargo.toml Implement ArbitaryOrd for absolute::LockTime 2024-01-09 13:15:29 +11:00
build.rs Bump MSRV to Rust version 1.56.1 2023-11-23 06:20:02 +11:00