doc: Add cs_main lock annotations for mapBlockIndex

This commit is contained in:
practicalswift
2019-01-17 16:13:58 -05:00
committed by MarcoFalke
parent 3e38d40873
commit fa2a69fcb9
3 changed files with 6 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ private:
public:
CChain chainActive;
BlockMap mapBlockIndex;
BlockMap mapBlockIndex GUARDED_BY(cs_main);
std::multimap<CBlockIndex*, CBlockIndex*> mapBlocksUnlinked;
CBlockIndex *pindexBestInvalid = nullptr;