HomePhabricator

kernel: Move default cache constants to caches

Description

kernel: Move default cache constants to caches

Summary:
They are not related to the txdb, so a better place for them is the
new kernel and node cache file. Re-use the default amount of kernel
cache for the default node cache.

This is a partial backport of core#31483
https://github.com/bitcoin/bitcoin/pull/31483/commits/65cde3621dbb9ac7d210d4926e7601c4adf5f498

Depends on D18582

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18583

Details

Provenance
TheCharlatan <seb.kung@gmail.com>Authored on Nov 22 2024, 21:52
PiRKCommitted on Sep 10 2025, 14:58
PiRKPushed on Sep 10 2025, 14:58
Reviewer
Restricted Project
Differential Revision
D18583: kernel: Move default cache constants to caches
Parents
rABCe43334d98b7c: kernel: Move non-kernel db cache size constants
Branches
Unknown
Tags
Unknown