diff options
author | Matt Corallo <git@bluematt.me> | 2016-11-25 18:03:12 -0800 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-11-25 18:03:12 -0800 |
commit | 42071ca2640c6de156d72a32b52bff1020c4a38d (patch) | |
tree | 2b1eb4b2214ed1b489df5ee079c69a792998b75d | |
parent | bc121b0eb19713ec72002b5be03ba5ac35903a17 (diff) | |
download | bitcoin-42071ca2640c6de156d72a32b52bff1020c4a38d.tar.xz |
Make fDisconnect an std::atomic
-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 |