(txTo)
| 923 | return sha256(b"".join(ser_string(u.scriptPubKey) for u in spent_utxos)) |
| 924 | |
| 925 | def BIP341_sha_sequences(txTo): |
| 926 | return sha256(b"".join(struct.pack("<I", i.nSequence) for i in txTo.vin)) |
| 927 | |
| 928 | def BIP341_sha_outputs(txTo): |
| 929 | return sha256(b"".join(o.serialize() for o in txTo.vout)) |
no test coverage detected