Handle a block being connected to the chain tip.

Synopses

Declared in <wallet/wallet.h>

virtual
void
blockConnected(
    kernel::ChainstateRole const& role,
    BlockInfo const& block);

Handle a block being connected to the chain tip.

virtual
void
blockConnected(
    kernel::ChainstateRole const& role,
    interfaces::BlockInfo const& block) override;

Parameters

Name

Description

role

The role of the chainstate reporting the block.

block

Information about the connected block.

Created with MrDocs