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

Method NewPoWValidBlock

src/validationinterface.cpp:253–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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());
255 m_internals->Iterate([&](CValidationInterface& callbacks) { callbacks.NewPoWValidBlock(pindex, block); });
256}

Callers

nothing calls this directly

Calls 3

ToStringMethod · 0.45
GetHashMethod · 0.45
IterateMethod · 0.45

Tested by

no test coverage detected