(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)) |
| 930 | |
| 931 | def TaprootSignatureMsg(txTo, spent_utxos, hash_type, genesis_hash, input_index = 0, scriptpath = False, script = CScript(), codeseparator_pos = -1, annex = None, leaf_ver = LEAF_VERSION_TAPSCRIPT): |
| 932 | assert (len(txTo.vin) == len(spent_utxos)) |
no test coverage detected