From 1f81be60f5f69d520a708e7808e56aa086b48271 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Fri, 22 Nov 2024 22:52:02 +0100 Subject: [PATCH] kernel: Move kernel-related cache constants to kernel cache They are not all related to the txdb, so a better place for them is the new kernel cache file. --- src/bitcoin-chainstate.cpp | 4 ++-- src/init.cpp | 2 +- src/kernel/caches.h | 12 +++++++++--- src/node/caches.cpp | 5 ++--- src/node/caches.h | 5 +++++ src/qt/optionsdialog.cpp | 6 +++--- src/qt/optionsmodel.cpp | 6 +++--- src/txdb.h | 8 -------- 8 files changed, 25 insertions(+), 23 deletions(-) diff --git a/src/bitcoin-chainstate.cpp b/src/bitcoin-chainstate.cpp index c9e82eed3c..46ca35ea90 100644 --- a/src/bitcoin-chainstate.cpp +++ b/src/bitcoin-chainstate.cpp @@ -19,9 +19,9 @@ #include #include +#include #include #include -#include #include #include #include