diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-01-17 16:13:58 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-02-01 15:32:16 -0500 |
commit | fa2a69fcb92c7f13c07f982c46df8a64e577dab9 (patch) | |
tree | e2820199a1048889cf26a8f46b193699b4649ccb /src/validation.cpp | |
parent | 3e38d4087379edd1c0730d058902f527d5da6358 (diff) |
doc: Add cs_main lock annotations for mapBlockIndex
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index de9c0d96db..dbdc1afb35 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -152,7 +152,7 @@ private: public: CChain chainActive; - BlockMap mapBlockIndex; + BlockMap mapBlockIndex GUARDED_BY(cs_main); std::multimap<CBlockIndex*, CBlockIndex*> mapBlocksUnlinked; CBlockIndex *pindexBestInvalid = nullptr; |