Module hash_types

Module hash_types 

Source
Expand description

File defines types for hashes used throughout the library.

These types are needed in order to avoid mixing data of the same hash format (like SHA256d) but of different meaning (transaction id, block hash etc).

Structs§

BlockHash
An elements blockhash
PubkeyHash
A hash of a public key.
ScriptHash
A hash of Bitcoin Script bytecode.
Sighash
“Hash of the transaction according to the signature algorithm”
TxMerkleNode
A hash of the Merkle tree branch or root for transactions
Txid
An elements transaction ID
WPubkeyHash
SegWit version of a public key hash.
WScriptHash
SegWit version of a Bitcoin Script bytecode hash.
Wtxid
An elements witness transaction ID