Skip to content

Commit

Permalink
Add comment describing fDisconnect behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl committed Jan 17, 2019
1 parent cd42553 commit 5b4283c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@ class CNode
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
Expand Down

0 comments on commit 5b4283c

Please sign in to comment.