Module nakamoto_common::block

source ·
Expand description

Block-related types and functions.

Modules

Checkpoints used to validate blocks at certain heights.
Compact block filter core types and traits.
Bitcoin genesis hashes.
Double-ended iterator over a NonEmpty blockchain.
Block header storage.
Block time and other time-related types.
Types and functions relating to block trees.

Structs

Bitcoin block.
A bitcoin block hash.
Bitcoin block header.
Bitcoin transaction.

Functions

Get the locator indexes starting from a given height, and going backwards, exponentially backing off.
Get the proof-of-work limit for the network, in bits.

Type Definitions

Compact difficulty bits (target) of a block.
Block time (seconds since Epoch).
Height of a block.
Difficulty target of a block.
Block work.