Make fDisconnect an std::atomic

This commit is contained in:
Matt Corallo 2016-11-25 18:03:12 -08:00 committed by Larry Ruane
parent ce5d8daae6
commit e286250ce4
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ public:
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