diff options
| author | Matt Corallo <[email protected]> | 2016-11-25 18:03:12 -0800 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-11-25 18:03:12 -0800 |
| commit | 42071ca2640c6de156d72a32b52bff1020c4a38d (patch) | |
| tree | 2b1eb4b2214ed1b489df5ee079c69a792998b75d /src | |
| parent | Merge #9216: Doc: Fix copypasted comment (diff) | |
| download | discoin-42071ca2640c6de156d72a32b52bff1020c4a38d.tar.xz discoin-42071ca2640c6de156d72a32b52bff1020c4a38d.zip | |
Make fDisconnect an std::atomic
Diffstat (limited to 'src')
| -rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -630,7 +630,7 @@ public: const bool fInbound; bool fNetworkNode; bool fSuccessfullyConnected; - bool fDisconnect; + std::atomic_bool fDisconnect; // We use fRelayTxes for two purposes - // a) it allows us to not relay tx invs before receiving the peer's version message // b) the peer may tell us in its version message that we should not relay tx invs |