Module hash_types
Expand description
Bitcoin hash types.
This module defines types for hashes used throughout the library. These
types are needed in order to avoid mixing data of the same hash format
(e.g. SHA256d) but of different meaning (such as transaction id, block
hash).
Structsยง
- Block
Hash - A bitcoin block hash.
- Filter
Hash - Filter hash, as defined in BIP-157
- Filter
Header - Filter header, as defined in BIP-157
- Pubkey
Hash - A hash of a public key.
- Script
Hash - A hash of Bitcoin Script bytecode.
- TxMerkle
Node - A hash of the Merkle tree branch or root for transactions
- Txid
- A bitcoin transaction hash/transaction ID.
- WPubkey
Hash - SegWit version of a public key hash.
- WScript
Hash - SegWit version of a Bitcoin Script bytecode hash.
- Witness
Commitment - A hash corresponding to the witness structure commitment in the coinbase transaction
- Witness
Merkle Node - A hash corresponding to the Merkle tree root for witness data
- Wtxid
- A bitcoin witness transaction ID.
- Xpub
Identifier - XpubIdentifier as defined in BIP-32.