mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Merge #9225: Fix some benign races
dfed983Fix unlocked access to vNodes.size() (Matt Corallo)3033522Remove double brackets in addrman (Matt Corallo)dbfaadeFix AddrMan locking (Matt Corallo)047ea10Make fImporting an std::atomic (Matt Corallo)42071caMake fDisconnect an std::atomic (Matt Corallo)
This commit is contained in:
@@ -615,7 +615,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
|
||||
|
||||
Reference in New Issue
Block a user