Add comment describing fDisconnect behavior

This commit is contained in:
Carl Dong committed 2019-01-17 18:27:13 -05:00
1 parent cd42553b11
commit 5b4283cb81
1 file changed
+2
+2
View File
@@ -689,6 +689,8 @@ public:
bool m_limited_node{false}; //after BIP159, set by version message
const bool fInbound;
std::atomic_bool fSuccessfullyConnected{false};
// Setting fDisconnect to true will cause the node to be disconnected the
// next time DisconnectNodes() runs
std::atomic_bool fDisconnect{false};
// We use fRelayTxes for two purposes -
// a) it allows us to not relay tx invs before receiving the peer's version message