mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
doc: Add cs_main lock annotations for mapBlockIndex
This commit is contained in:
committed by
MarcoFalke
parent
3e38d40873
commit
fa2a69fcb9
@@ -152,7 +152,7 @@ private:
|
||||
|
||||
public:
|
||||
CChain chainActive;
|
||||
BlockMap mapBlockIndex;
|
||||
BlockMap mapBlockIndex GUARDED_BY(cs_main);
|
||||
std::multimap<CBlockIndex*, CBlockIndex*> mapBlocksUnlinked;
|
||||
CBlockIndex *pindexBestInvalid = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user