mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 12:36:06 -04:00
cryptonote_protocol_handler: fix race condition
This commit is contained in:
parent
ded2f3aa85
commit
fe632560f4
2 changed files with 43 additions and 27 deletions
|
@ -77,6 +77,8 @@ namespace cryptonote
|
|||
int m_expect_response;
|
||||
uint64_t m_expect_height;
|
||||
size_t m_num_requested;
|
||||
epee::copyable_atomic m_new_stripe_notification{0};
|
||||
epee::copyable_atomic m_idle_peer_notification{0};
|
||||
};
|
||||
|
||||
inline std::string get_protocol_state_string(cryptonote_connection_context::state s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue