Skip to content

Commit

Permalink
Removing unused variable confirmation_request_delay (#4259)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Jul 26, 2023
1 parent 4756801 commit 0684051
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions nano/node/blockprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

#include <boost/format.hpp>

std::chrono::milliseconds constexpr nano::block_processor::confirmation_request_delay;

nano::block_processor::block_processor (nano::node & node_a, nano::write_database_queue & write_database_queue_a) :
next_log (std::chrono::steady_clock::now ()),
node (node_a),
Expand Down
2 changes: 0 additions & 2 deletions nano/node/blockprocessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class block_processor final
void process_blocks ();

std::atomic<bool> flushing{ false };
// Delay required for average network propagartion before requesting confirmation
static std::chrono::milliseconds constexpr confirmation_request_delay{ 1500 };

public: // Events
using processed_t = std::pair<nano::process_return, std::shared_ptr<nano::block>>;
Expand Down

0 comments on commit 0684051

Please sign in to comment.