diff --git a/src/validation.cpp b/src/validation.cpp index 7fcc1831ed8..7179ff12217 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2182,6 +2182,9 @@ bool CChainState::ConnectBlock(const CBlock& block, CValidationState& state, CBl // problems. return AbortNode(state, "Corrupt block found indicating potential hardware failure; shutting down"); } + + // Add sleep here to avoid hot looping over failed but not invalidated block. + std::this_thread::sleep_for(std::chrono::milliseconds(100)); return error("%s: Consensus::CheckBlock: %s", __func__, FormatStateMessage(state)); }