aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-12-14 15:51:26 +0100
committerJon Atack <jon@atack.com>2021-02-02 14:49:06 +0100
commite1e67148321cff0de9eb5e63d2604f05c12e69d1 (patch)
treeabe6bff4daae8709ab4ce00595aabc2b7876b684 /src/net.h
parent384e090f9345c07fa81ccafa8cd36037f3cd0813 (diff)
downloadbitcoin-e1e67148321cff0de9eb5e63d2604f05c12e69d1.tar.xz
doc: refer to BIPs 339/155 in feature negotiation
and add fSuccessfullyConnected doxygen documentation to clarify that it is set to true on VERACK
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 2c47d5e557..a0aa157058 100644
--- a/src/net.h
+++ b/src/net.h
@@ -445,6 +445,7 @@ public:
* messages, implying a preference to receive ADDRv2 instead of ADDR ones.
*/
std::atomic_bool m_wants_addrv2{false};
+ /** fSuccessfullyConnected is set to true on receiving VERACK from the peer. */
std::atomic_bool fSuccessfullyConnected{false};
// Setting fDisconnect to true will cause the node to be disconnected the
// next time DisconnectNodes() runs