[−][src]Module nakamoto_common::block
Block-related types and functions.
Modules
checkpoints | Checkpoints used to validate blocks at certain heights. |
filter | Compact block filter core types and traits. |
genesis | Bitcoin genesis hashes. |
iter | Double-ended iterator over a |
store | Block header storage. |
time | Block time and other time-related types. |
tree | Types and functions relating to block trees. |
Structs
Block | A Bitcoin block, which is a collection of transactions with an attached proof of work. |
BlockHash | A bitcoin block hash. |
BlockHeader | A block header, which contains all the block's information except the actual transactions |
Transaction | A Bitcoin transaction, which describes an authenticated movement of coins. |
Functions
locators_indexes | Get the locator indexes starting from a given height, and going backwards, exponentially backing off. |
pow_limit_bits | Get the proof-of-work limit for the network, in bits. |
Type Definitions
Bits | Compact difficulty bits (target) of a block. |
BlockTime | Block time (seconds since Epoch). |
Height | Height of a block. |
Target | Difficulty target of a block. |
Work | Block work. |