mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
Make fDisconnect an std::atomic
This commit is contained in:
parent
bc121b0eb1
commit
42071ca264
@ -630,7 +630,7 @@ public:
|
|||||||
const bool fInbound;
|
const bool fInbound;
|
||||||
bool fNetworkNode;
|
bool fNetworkNode;
|
||||||
bool fSuccessfullyConnected;
|
bool fSuccessfullyConnected;
|
||||||
bool fDisconnect;
|
std::atomic_bool fDisconnect;
|
||||||
// We use fRelayTxes for two purposes -
|
// We use fRelayTxes for two purposes -
|
||||||
// a) it allows us to not relay tx invs before receiving the peer's version message
|
// 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
|
// b) the peer may tell us in its version message that we should not relay tx invs
|
||||||
|
Loading…
Reference in New Issue
Block a user