rust-bitcoin-unsafe-fast/bitcoin/examples
Andrew Poelstra bd9c4125cf
Merge rust-bitcoin/rust-bitcoin#2082: example: Modify `taproot-psbt.rs` to make the use of prevouts clearer.
3b60ad5567 example: Modify `taproot-psbt.rs` to make the use of prevouts clearer. (S. Santos)

Pull request description:

  The `taroot-psbt.rs` example uses only one input, and therefore the current code may not make it clear that the number of prevout items must correspond to the number of transaction inputs, since the prevout slice is built within a loop.

  This PR aims to make this clear to any user who wants to reuse the logic from the example code.

ACKs for top commit:
  tcharding:
    ACK 3b60ad5567
  apoelstra:
    ACK 3b60ad5567

Tree-SHA512: afad63782b0e8a459de6cf69712d31fdab860c0d4cf9f3a51c3d85544a067bd50f4febc10ec4046e3a37d9ca518bbf2460c2599f1569549701c07f8a267dfd05
2023-10-01 15:12:25 +00:00
..
bip32.rs Rename xpub and xpriv types 2023-08-22 13:47:35 +10:00
ecdsa-psbt.rs Feature: Psbt fee checks 2023-09-28 00:11:33 -07:00
handshake.rs Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
sighash.rs Remove redundant segwit version from function names 2023-08-31 13:23:46 +10:00
taproot-psbt.rs Merge rust-bitcoin/rust-bitcoin#2082: example: Modify `taproot-psbt.rs` to make the use of prevouts clearer. 2023-10-01 15:12:25 +00:00