MCPcopy Create free account
hub / github.com/ElementsProject/elements / BlockChecked

Method BlockChecked

src/validationinterface.cpp:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void CMainSignals::BlockChecked(const CBlock& block, const BlockValidationState& state) {
248 LOG_EVENT("%s: block hash=%s state=%s", __func__,
249 block.GetHash().ToString(), state.ToString());
250 m_internals->Iterate([&](CValidationInterface& callbacks) { callbacks.BlockChecked(block, state); });
251}
252
253void CMainSignals::NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock> &block) {
254 LOG_EVENT("%s: block hash=%s", __func__, block->GetHash().ToString());

Callers

nothing calls this directly

Calls 3

ToStringMethod · 0.45
GetHashMethod · 0.45
IterateMethod · 0.45

Tested by

no test coverage detected