rust-bitcoin-unsafe-fast/bitcoin/examples
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
..
bip32.rs Use KnowHrp instead of Network 2024-01-23 16:53:05 +11:00
ecdsa-psbt.rs 2023-12-17 automated rustfmt nightly 2023-12-17 00:59:05 +00:00
handshake.rs bitcoin: fix typos 2024-01-18 14:06:23 +08:00
sighash.rs Improve Signature field names 2024-01-15 10:26:40 +11:00
sign-tx-segwit-v0.rs Improve Signature field names 2024-01-15 10:26:40 +11:00
sign-tx-taproot.rs Add Witness::p2tr_key_spend function 2024-01-24 15:21:31 +11:00
taproot-psbt.rs Rename txid to compute_txid 2024-01-23 15:57:50 +01:00