bitcoinknots/bitcoin

Increase default dbcache to ∞

Open

#70 opened on Mar 19, 2024

 (10 comments) (0 reactions) (0 assignees)C++ (160 forks)auto 404
Testing & user comments wantedenhancementgood first issuehelp wanted

Repository metrics

Stars
 (677 stars)
PR merge metrics
 (PR metrics pending)

Description

Bitcoin Knots already detects low-memory situations and flushes caches when there's only 10 MB left. It would be nice to just leave the UTXO cache unbound for optimal performance.

But is 10 MB enough? Or will it cause problems?

Testing requested :)

Just set dbcache=1048576 and let me know if you run into issues (maybe re-sync too)

Contributor guide