mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05: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;
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue