New answers tagged transaction-input
1
vote
Accepted
How much does the weight of 2-of-3 multisignature inputs differ between P2SH and P2SH-P2WSH?
P2SH
The size of a P2SH-based 2-of-3 multisig input works out to be 293, 296 or 297 bytes as described in the question.
PREVOUT:
hash (32 bytes)
index (4 bytes)
SCRIPTSIG:
length (varInt 1 or 3 ...
2
votes
Accepted
How is a Bitcoin transaction signed using ECDSA?
You say you are familiar with how secp256k1 and ECDSA works but from what you say later I'm unsure whether you are. SegWit v0 didn't change the signing algorithm (ECDSA) nor the curve (secp256k1). ...
3
votes
Accepted
How do you commit to the previous output's amount when signing a segwit input with rust-bitcoin?
There is a bitcoin::util::sighash module which has all of the sighashing stuff. I'm not certain that it is the correct way, but it is definitely a way to get the result that you want.
It looks like ...
Top 50 recent answers are included
Related Tags
transaction-input × 101transactions × 40
output × 14
utxo × 13
segregated-witness × 11
signature × 11
bitcoinj × 9
transaction-fees × 7
raw-transaction × 7
transaction-weight × 7
address × 6
script × 6
multi-signature × 5
bitcoin-core × 4
security × 4
blockchain × 3
scriptsig × 3
signrawtransaction × 3
address-format × 3
sighash × 3
bitcoind × 2
blockchain.info × 2
hash × 2
bitcoin-cash × 2
transaction-verification × 2