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

Method ChainStateFlushed

src/validationinterface.cpp:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void CMainSignals::ChainStateFlushed(const CBlockLocator &locator) {
240 auto event = [locator, this] {
241 m_internals->Iterate([&](CValidationInterface& callbacks) { callbacks.ChainStateFlushed(locator); });
242 };
243 ENQUEUE_AND_LOG_EVENT(event, "%s: block hash=%s", __func__,
244 locator.IsNull() ? "null" : locator.vHave.front().ToString());
245}
246
247void CMainSignals::BlockChecked(const CBlock& block, const BlockValidationState& state) {
248 LOG_EVENT("%s: block hash=%s state=%s", __func__,

Callers

nothing calls this directly

Calls 3

IterateMethod · 0.45
IsNullMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected