mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Add comment describing fDisconnect behavior
This commit is contained in:
parent
cd42553b11
commit
5b4283cb81
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue