CValidationInterface::NewPoWValidBlock

Notifies listeners that a block which builds directly on our current tip has been received and connected to the headers tree, though not validated yet.

Synopsis

Declared in <validationinterface.h>

virtual
void
NewPoWValidBlock(
    CBlockIndex const* pindex,
    std::shared_ptr<CBlock const> const& block);

Parameters

NameDescription
pindexBlock index entry for the new block.
blockThe newly received block.