Owning wrapper over a btck_ChainstateManager, the entry point for block processing.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class ChainMan;

Member Functions

Name

Description

ChainMan [constructor]

Constructs the manager from a context and its options.

GetBestEntry

Returns the best (most‐work) known block tree entry.

GetBlockTreeEntry

Looks up a block tree entry by hash.

GetChain

Returns a view of the active chain.

ImportBlocks

Imports blocks from the given block files.

ProcessBlock

Validates and connects a block to the chain.

ProcessBlockHeader

Validates and stores a block header.

ReadBlock

Reads a full block from disk for a tree entry.

ReadBlockSpentOutputs

Reads the spent‐output undo data for a block.

Created with MrDocs