mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Merge #15194: Add comment describing fDisconnect behavior
5b4283cb81b5d3023b9868d121b22b1f387a50ca Add comment describing fDisconnect behavior (Carl Dong) Pull request description: Motivated by @Sjors here: https://github.com/bitcoin/bitcoin/pull/14605#discussion_r248384309 Tree-SHA512: 8fc52eb4d3b5651c19c49b47fad75e8fb939cf524ada647e88d8d5aad7726052d94e500c1ebdb2a41b67bc4669ee61ff151a5cff81a52c68c900da562ef21751
This commit is contained in:
parent
2153f8a74a
commit
30f6319fd0
@ -895,6 +895,8 @@ public:
|
||||
std::atomic_bool fDisconnect;
|
||||
std::atomic<int64_t> nDisconnectLingerTime{0};
|
||||
std::atomic_bool fSocketShutdown{false};
|
||||
// Setting fDisconnect to true will cause the node to be disconnected the
|
||||
// next time DisconnectNodes() runs
|
||||
std::atomic_bool fOtherSideDisconnected { false };
|
||||
// We use fRelayTxes for two purposes -
|
||||
// a) it allows us to not relay tx invs before receiving the peer's version message
|
||||
|
Loading…
Reference in New Issue
Block a user