net_processing: add thread safety annotation for m_highest_fast_announce

This commit is contained in:
Anthony Towns committed 2022-09-15 20:28:55 +10:00
1 parent 0ae7987f68
commit d575a675cc
1 file changed
+1 -1
+1 -1
View File
@@ -863,7 +863,7 @@ private:
std::atomic_bool m_headers_presync_should_signal{false};
/** 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 */
bool IsBlockRequested(const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main);