diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-04-20 16:47:29 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-05-12 02:25:55 +1000 |
commit | 7d73f58e9cea8f4b0bc16512983898fddde3d764 (patch) | |
tree | f66b9dd960d017efd1af4a56c626e439d121890f /src/index | |
parent | 9db941d7737406b8593024ba130c3f9c186af4c6 (diff) |
Increase threadsafety annotation coverage
Diffstat (limited to 'src/index')
-rw-r--r-- | src/index/blockfilterindex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/blockfilterindex.h b/src/index/blockfilterindex.h index b1836fe12f..6deff59000 100644 --- a/src/index/blockfilterindex.h +++ b/src/index/blockfilterindex.h @@ -64,7 +64,7 @@ public: bool LookupFilter(const CBlockIndex* block_index, BlockFilter& filter_out) const; /** Get a single filter header by block. */ - bool LookupFilterHeader(const CBlockIndex* block_index, uint256& header_out); + bool LookupFilterHeader(const CBlockIndex* block_index, uint256& header_out) EXCLUSIVE_LOCKS_REQUIRED(!m_cs_headers_cache); /** Get a range of filters between two heights on a chain. */ bool LookupFilterRange(int start_height, const CBlockIndex* stop_index, |