diff options
| author | Carl Dong <[email protected]> | 2019-01-17 18:27:13 -0500 |
|---|---|---|
| committer | Carl Dong <[email protected]> | 2019-01-17 18:27:13 -0500 |
| commit | 5b4283cb81b5d3023b9868d121b22b1f387a50ca (patch) | |
| tree | a352e2b75a30b50ba8273a42c0d697db11aee348 /src | |
| parent | Merge #15040: qt: Add workaround for QProgressDialog bug on macOS (diff) | |
| download | discoin-5b4283cb81b5d3023b9868d121b22b1f387a50ca.tar.xz discoin-5b4283cb81b5d3023b9868d121b22b1f387a50ca.zip | |
Add comment describing fDisconnect behavior
Diffstat (limited to 'src')
| -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 |