python – how to calculate R,S,Z for raw bitcoin transaction with witness?

0
5


As specified in BIP-141, the witness for a P2WPKH spend is as follows:

The witness must consist of exactly 2 items (≤ 520 bytes each). The first one a signature, and the second one a public key.

The signature consists of the usual R and s values that you’re looking for, as before.



Source link

Leave a reply