Module block
Expand description
Bitcoin blocks.
A block is a bundle of transactions with a proof-of-work attached, which commits to an earlier block to form the blockchain. This module describes structures and functions needed to describe these blocks and the blockchain.
Structs§
- Bitcoin block.
- A bitcoin block hash.
- Bitcoin block header.
- A hash of the Merkle tree branch or root for transactions.
- Bitcoin block version number.
- A hash corresponding to the witness structure commitment in the coinbase transaction.
- A hash corresponding to the Merkle tree root for witness data.
Enums§
- An error when looking up a BIP34 block height.
- A block validation error.