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.
1 parent 6bc5b71 commit 0e2dfa8Copy full SHA for 0e2dfa8
src/txmempool.h
@@ -529,7 +529,7 @@ class CTxMemPool
529
* check does nothing.
530
*/
531
void check(const CCoinsViewCache *pcoins) const;
532
- void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = static_cast<uint32_t>(dFrequency * 4294967295.0); }
+ void setSanityCheck(double dFrequency = 1.0) { LOCK(cs); nCheckFrequency = static_cast<uint32_t>(dFrequency * 4294967295.0); }
533
534
// addUnchecked must updated state for all ancestors of a given transaction,
535
// to track size/count of descendant transactions. First version of
0 commit comments