mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
[net processing] Annotate m_headers_sync_timeout as guarded by g_msgproc_mutex
This commit is contained in:
parent
d8c0d1c345
commit
689b747fc3
@ -420,7 +420,7 @@ struct CNodeState {
|
|||||||
//! Whether we've started headers synchronization with this peer.
|
//! Whether we've started headers synchronization with this peer.
|
||||||
bool fSyncStarted{false};
|
bool fSyncStarted{false};
|
||||||
//! When to potentially disconnect peer for stalling headers download
|
//! When to potentially disconnect peer for stalling headers download
|
||||||
std::chrono::microseconds m_headers_sync_timeout{0us};
|
std::chrono::microseconds m_headers_sync_timeout GUARDED_BY(NetEventsInterface::g_msgproc_mutex){0us};
|
||||||
//! Since when we're stalling block download progress (in microseconds), or 0.
|
//! Since when we're stalling block download progress (in microseconds), or 0.
|
||||||
std::chrono::microseconds m_stalling_since{0us};
|
std::chrono::microseconds m_stalling_since{0us};
|
||||||
std::list<QueuedBlock> vBlocksInFlight;
|
std::list<QueuedBlock> vBlocksInFlight;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user