[doc] Add comment for m_headers_cache

This commit is contained in:
John Newbery committed 2020-05-22 11:59:58 -04:00
1 parent 4479eb04d9
commit 3bdc7c2d39
1 file changed
+1
+1
View File
@@ -39,6 +39,7 @@ private:
size_t WriteFilterToDisk(FlatFilePos& pos, const BlockFilter& filter);
Mutex m_cs_headers_cache;
/** cache of block hash to filter header, to avoid disk access when responding to getcfcheckpt. */
std::unordered_map<uint256, uint256, FilterHeaderHasher> m_headers_cache GUARDED_BY(m_cs_headers_cache);
protected: