| 245 | } |
| 246 | |
| 247 | void 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 | |
| 253 | void CMainSignals::NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock> &block) { |
| 254 | LOG_EVENT("%s: block hash=%s", __func__, block->GetHash().ToString()); |