mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Make fDisconnect an std::atomic
This commit is contained in:
parent
bc121b0eb1
commit
42071ca264
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue