From 626291508c433488439b662f2e88882048fb59fb Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Thu, 26 Oct 2017 10:32:46 -0400 Subject: Add unit test for stale tip checking --- src/net_processing.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net_processing.cpp') diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 3aa13fff4..faa0c7620 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -550,6 +550,15 @@ void FindNextBlocksToDownload(NodeId nodeid, unsigned int count, std::vectorm_last_block_announcement = time_in_seconds; +} + // Returns true for outbound peers, excluding manual connections, feelers, and // one-shots bool IsOutboundDisconnectionCandidate(const CNode *node) -- cgit v1.2.3