Module bitcoin::hash_types
source · 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
- A bitcoin block hash.
- Filter hash, as defined in BIP-157
- Filter header, as defined in BIP-157
- A hash of the Merkle tree branch or root for transactions
- A bitcoin transaction hash/transaction ID.
- A hash corresponding to the witness structure commitment in the coinbase transaction
- A hash corresponding to the Merkle tree root for witness data
- A bitcoin witness transaction ID.