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

Name

Description

block

The block to process.

new_block

Optional out‐parameter set to true if the block was new.

Created with MrDocs