diff --git a/src/consensus/validation.h b/src/consensus/validation.h --- a/src/consensus/validation.h +++ b/src/consensus/validation.h @@ -78,8 +78,6 @@ BLOCK_TIME_FUTURE, //! the block failed to meet one of our checkpoints BLOCK_CHECKPOINT, - //! block finalization problems - BLOCK_FINALIZATION, }; /** diff --git a/src/net_processing.cpp b/src/net_processing.cpp --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2313,14 +2313,6 @@ Misbehaving(*peer, 100, message); } return true; - case BlockValidationResult::BLOCK_FINALIZATION: - // TODO: Use the state object to report this is probably not the - // best idea. This is effectively unreachable, unless there is a bug - // somewhere. - if (peer) { - Misbehaving(*peer, 20, message); - } - return true; // Conflicting (but not necessarily invalid) data or different policy: case BlockValidationResult::BLOCK_MISSING_PREV: // TODO: Handle this much more gracefully (10 DoS points is super