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).
Declared in <validationinterface.h>
virtual
void
BlockChecked(
std::shared_ptr<CBlock const> const& block,
BlockValidationState const& state);
| Name | Description |
|---|---|
| block | The block that was validated. |
| state | The result of validating the block. |