mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
net_processing: add thread safety annotation for m_highest_fast_announce
This commit is contained in:
parent
0ae7987f68
commit
d575a675cc
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ private:
|
||||||
std::atomic_bool m_headers_presync_should_signal{false};
|
std::atomic_bool m_headers_presync_should_signal{false};
|
||||||
|
|
||||||
/** Height of the highest block announced using BIP 152 high-bandwidth mode. */
|
/** Height of the highest block announced using BIP 152 high-bandwidth mode. */
|
||||||
int m_highest_fast_announce{0};
|
int m_highest_fast_announce GUARDED_BY(::cs_main){0};
|
||||||
|
|
||||||
/** Have we requested this block from a peer */
|
/** Have we requested this block from a peer */
|
||||||
bool IsBlockRequested(const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
bool IsBlockRequested(const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
||||||
|
|
Loading…
Reference in a new issue