Skip to content

Commit

Permalink
Update CACHE_THRESHOLD
Browse files Browse the repository at this point in the history
  • Loading branch information
ohcee authored Jul 29, 2024
1 parent 792683b commit 8539783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static const bool DEFAULT_PEERBLOOMFILTERS = true;
static const int DEFAULT_STOPATHEIGHT = 0;

// Define the cache size threshold
const size_t CACHE_SIZE_THRESHOLD = 10;
const size_t CACHE_SIZE_THRESHOLD = 50;

bool CacheAndFlushZerocoinData(CValidationState& state, const CBlockIndex* pindex,
const std::map<uint256, uint256>& mapSpends,
Expand Down

0 comments on commit 8539783

Please sign in to comment.