(txTo)
| 809 | return sha256(b"".join(ser_string(u.scriptPubKey) for u in spent_utxos)) |
| 810 | |
| 811 | def BIP341_sha_sequences(txTo): |
| 812 | return sha256(b"".join(i.nSequence.to_bytes(4, "little") for i in txTo.vin)) |
| 813 | |
| 814 | def BIP341_sha_outputs(txTo): |
| 815 | return sha256(b"".join(o.serialize() for o in txTo.vout)) |
no test coverage detected