mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
[validation] Annotate ChainstateManager::m_best_header as guarded by cs_main
This commit is contained in:
parent
84f4ac39fd
commit
1d87137227
@ -997,7 +997,7 @@ public:
|
|||||||
std::set<CBlockIndex*> m_failed_blocks;
|
std::set<CBlockIndex*> m_failed_blocks;
|
||||||
|
|
||||||
/** Best header we've seen so far (used for getheaders queries' starting points). */
|
/** Best header we've seen so far (used for getheaders queries' starting points). */
|
||||||
CBlockIndex* m_best_header = nullptr;
|
CBlockIndex* m_best_header GUARDED_BY(::cs_main){nullptr};
|
||||||
|
|
||||||
//! The total number of bytes available for us to use across all in-memory
|
//! The total number of bytes available for us to use across all in-memory
|
||||||
//! coins caches. This will be split somehow across chainstates.
|
//! coins caches. This will be split somehow across chainstates.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user