Skip to content

Commit

Permalink
decrease cache to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ohcee authored Aug 1, 2024
1 parent 685e94f commit 6e78da5
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 = 50;
const size_t CACHE_SIZE_THRESHOLD = 5;

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

0 comments on commit 6e78da5

Please sign in to comment.