From d9ae96cfe3b2622d43abb4195b8676c5fcea9970 Mon Sep 17 00:00:00 2001 From: Fernando Pelliccioni Date: Thu, 9 Jan 2025 16:47:58 +0100 Subject: [PATCH] feat: report all blocks --- src/protocols/protocol_block_in.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/protocols/protocol_block_in.cpp b/src/protocols/protocol_block_in.cpp index cc4a972..aca7682 100644 --- a/src/protocols/protocol_block_in.cpp +++ b/src/protocols/protocol_block_in.cpp @@ -785,11 +785,13 @@ void protocol_block_in::handle_stop(code const&) { inline bool enabled(size_t height) { // Vary the reporting performance reporting interval by height. - auto const modulus = - (height < 100000 ? 100 : - (height < 200000 ? 10 : 1)); + // auto const modulus = + // (height < 100000 ? 100 : + // (height < 200000 ? 10 : 1)); - return height % modulus == 0; + // return height % modulus == 0; + + return true; } inline