Questions tagged [rust-bitcoin]
The rust-bitcoin tag has no usage guidance.
1
question
3
votes
1
answer
72
views
How do you commit to the previous output's amount when signing a segwit input with rust-bitcoin?
I'm trying to sign a segwit transaction in rust-bitcoin. To start with, my transaction setup looks as follows:
let previous_output = OutPoint::new(Txid::from_hex("...