diff options
author | Carl Dong <accounts@carldong.me> | 2019-01-17 18:27:13 -0500 |
---|---|---|
committer | Carl Dong <accounts@carldong.me> | 2019-01-17 18:27:13 -0500 |
commit | 5b4283cb81b5d3023b9868d121b22b1f387a50ca (patch) | |
tree | a352e2b75a30b50ba8273a42c0d697db11aee348 | |
parent | cd42553b1178a48a16017eff0b70669c84c3895c (diff) |
Add comment describing fDisconnect behavior
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |