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
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
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;