aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-09-08 08:03:01 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-09-08 07:55:11 +0200
commitfa7e407b504bc60c77341f02636ed9d6a4b53d79 (patch)
treedecea0186288e79a84a57e967da16c28d9ee3d4a /src/net_processing.h
parent147d50d63e07f600b414273a9f6b84f9f4ad9696 (diff)
downloadbitcoin-fa7e407b504bc60c77341f02636ed9d6a4b53d79.tar.xz
Do not pass chain params to CheckForStaleTipAndEvictPeers twice
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index 520f7489e8..3e748c0c5b 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -76,7 +76,7 @@ public:
/** Consider evicting an outbound peer based on the amount of time they've been behind our tip */
void ConsiderEviction(CNode& pto, int64_t time_in_seconds) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
/** Evict extra outbound peers. If we think our tip may be stale, connect to an extra outbound */
- void CheckForStaleTipAndEvictPeers(const Consensus::Params &consensusParams);
+ void CheckForStaleTipAndEvictPeers();
/** If we have extra outbound peers, try to disconnect the one with the oldest block announcement */
void EvictExtraOutboundPeers(int64_t time_in_seconds) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
/** Retrieve unbroadcast transactions from the mempool and reattempt sending to peers */