Page MenuHomePhabricator

validation: drop maximum -dbcache
ClosedPublic

Authored by PiRK on Sep 9 2025, 13:45.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCd0871d7268ae: validation: drop maximum -dbcache
Summary

If the UTXO set grows, the maximum value for -dbcache may become insufficient for those who wish to complete IBD with the UTXO set held in RAM.

This drops the limit. It also adds a warning that it's up to users to check that they have enough RAM.

This is a backport of core#13676 and core#28358

Depends on D18575

Test Plan

ninja all check-all

$ src/bitcoind -dbcache=32000
...
2025-09-09T13:43:09Z * Using 31990.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)

Event Timeline

PiRK requested review of this revision.Sep 9 2025, 13:45
This revision is now accepted and ready to land.Sep 9 2025, 14:39
This revision was automatically updated to reflect the committed changes.