mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-27 19:07:29 +02:00
net_processing: add thread safety annotation for m_highest_fast_announce
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user