From 1530bfc72d6e3a57cc81980faaf52d9b084353f2 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Mon, 15 May 2017 10:20:18 -0400 Subject: [PATCH] Add logging to FinalizeNode() --- src/net_processing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 4d924b5cdb..eeef26fa97 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -303,6 +303,7 @@ void FinalizeNode(NodeId nodeid, bool& fUpdateConnectionTime) { assert(nPreferredDownload == 0); assert(nPeersWithValidatedDownloads == 0); } + LogPrint(BCLog::NET, "Cleared nodestate for peer=%d\n", nodeid); } // Requires cs_main.