Browse Source

Merge #10404: doc: Add logging to FinalizeNode()

1530bfc Add logging to FinalizeNode() (Suhas Daftuar)

Tree-SHA512: 34bd950eb7830f378d069229c24122e97db68435b313f0de2c8772c2feefdc6db5f4d1f43eeade237ffe91cdef0f1cfe3232e1a37c561a65767f4527b2e2e370
0.15
Wladimir J. van der Laan 8 years ago
parent
commit
b45a52aeff
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/net_processing.cpp

1
src/net_processing.cpp

@ -303,6 +303,7 @@ void FinalizeNode(NodeId nodeid, bool& fUpdateConnectionTime) { @@ -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.

Loading…
Cancel
Save