| 237 | } |
| 238 | |
| 239 | void 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 | |
| 247 | void CMainSignals::BlockChecked(const CBlock& block, const BlockValidationState& state) { |
| 248 | LOG_EVENT("%s: block hash=%s state=%s", __func__, |