btck::ChainMan::ProcessBlock

Validates and connects a block to the chain.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

bool
ProcessBlock(
    Block const& block,
    bool* new_block);

Return Value

True on success.

Parameters

NameDescription
blockThe block to process.
new_blockOptional out-parameter set to true if the block was new.