CValidationInterface::BlockChecked

Notifies listeners of a block validation result. If the provided BlockValidationState IsValid, the provided block is guaranteed to be the current best block at the time the callback was generated (not necessarily now).

Synopsis

Declared in <validationinterface.h>

virtual
void
BlockChecked(
    std::shared_ptr<CBlock const> const& block,
    BlockValidationState const& state);

Parameters

NameDescription
blockThe block that was validated.
stateThe result of validating the block.