We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
quorumBaseBlockIndexCache
1 parent 2c6cbc9 commit 0114f58Copy full SHA for 0114f58
src/llmq/quorums.h
@@ -264,7 +264,8 @@ class CQuorumManager
264
// On mainnet, we have around 62 quorums active at any point; let's cache a little more than double that to be safe.
265
// it maps `quorum_hash` to `pindex`
266
mutable Mutex cs_quorumBaseBlockIndexCache;
267
- mutable Uint256LruHashMap<const CBlockIndex*, 128 /*max_size*/> quorumBaseBlockIndexCache;
+ mutable Uint256LruHashMap<const CBlockIndex*, /*max_size=*/128> quorumBaseBlockIndexCache
268
+ GUARDED_BY(cs_quorumBaseBlockIndexCache);
269
270
mutable ctpl::thread_pool workerPool;
271
mutable CThreadInterrupt quorumThreadInterrupt;
0 commit comments