mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 22:42:04 +01:00
[net processing] Annotate fPreferHeaders as guarded by g_msgproc_mutex
This commit is contained in:
parent
4b84e502f5
commit
3605011e79
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ struct CNodeState {
|
|||
//! Whether we consider this a preferred download peer.
|
||||
bool fPreferredDownload{false};
|
||||
//! Whether this peer wants invs or headers (when possible) for block announcements.
|
||||
bool fPreferHeaders{false};
|
||||
bool fPreferHeaders GUARDED_BY(NetEventsInterface::g_msgproc_mutex){false};
|
||||
/** Whether this peer wants invs or cmpctblocks (when possible) for block announcements. */
|
||||
bool m_requested_hb_cmpctblocks{false};
|
||||
/** Whether this peer will send us cmpctblocks if we request them. */
|
||||
|
|
Loading…
Add table
Reference in a new issue