mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 23:03:24 +02:00
Add comment describing fDisconnect behavior
This commit is contained in:
@@ -689,6 +689,8 @@ public:
|
|||||||
bool m_limited_node{false}; //after BIP159, set by version message
|
bool m_limited_node{false}; //after BIP159, set by version message
|
||||||
const bool fInbound;
|
const bool fInbound;
|
||||||
std::atomic_bool fSuccessfullyConnected{false};
|
std::atomic_bool fSuccessfullyConnected{false};
|
||||||
|
// Setting fDisconnect to true will cause the node to be disconnected the
|
||||||
|
// next time DisconnectNodes() runs
|
||||||
std::atomic_bool fDisconnect{false};
|
std::atomic_bool fDisconnect{false};
|
||||||
// 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
|
||||||
|
Reference in New Issue
Block a user