Expand description
§Elements signature hash modes
This module defines jets for computing signature hashes of Elements transactions.
Functions§
- Continue a SHA256 hash with an optional hash by appending the following:
- Continue a SHA256 hash with the serialization of a confidential asset followed by the serialization of a amount.
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the following:
- Implementation of
taproot_tweak_pubkeyfrom BIP-0341. - Return the SHA256 hash of the serialization of each input UTXO’s asset and amount fields.
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the concatenation of the SHA256 hash of each input’s scriptSig.
- Return the SHA256 hash of the concatenation of the SHA256 hash of each input UTXO’s scriptPubKey.
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the concatenation of the following for every input:
- Return the SHA256 hash of the following:
- Continue the SHA256 hash with the serialization of an optional nonce.
- Continue the SHA256 hash with an optional pegin and an outpoint by appending the following:
- Return the SHA256 hash of the serialization of each output’s asset and amount fields.
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the serialization of each output’s nonce field.
- Return the SHA256 hash of the concatenation of the SHA256 hash of each output’s range proof.
- Return the SHA256 hash of the concatenation of the SHA256 hash of each output’s scriptPubKey.
- Return the SHA256 hash of the concatenation of the SHA256 hash of each output’s surjection proof.
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the following:
- Return the SHA256 hash of the following:
- Return a hash of the current input’s control block excluding the leaf version and the taproot internal key.
- Return the SHA256 hash of the following: