From 7ac7759faf4210ea37f0f7a7be3f6a46740a1e34 Mon Sep 17 00:00:00 2001 From: Eric Voskuil Date: Sun, 26 Jul 2026 22:56:09 -0400 Subject: [PATCH] Use cache_validated_ table prefix names for consistency. --- include/bitcoin/database/tables/names.hpp | 4 ++-- test/store/store.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/bitcoin/database/tables/names.hpp b/include/bitcoin/database/tables/names.hpp index 977a306f4..72c4f7eed 100644 --- a/include/bitcoin/database/tables/names.hpp +++ b/include/bitcoin/database/tables/names.hpp @@ -79,8 +79,8 @@ namespace caches constexpr auto prevalid = "batch_prevalid"; constexpr auto prevout = "cache_prevout"; constexpr auto duplicate = "cache_duplicate"; - constexpr auto validated_bk = "validated_bk"; - constexpr auto validated_tx = "validated_tx"; + constexpr auto validated_bk = "cache_validated_bk"; + constexpr auto validated_tx = "cache_validated_tx"; } namespace optionals diff --git a/test/store/store.cpp b/test/store/store.cpp index e02e9c317..9a517e61a 100644 --- a/test/store/store.cpp +++ b/test/store/store.cpp @@ -144,8 +144,8 @@ BOOST_AUTO_TEST_CASE(store__paths__default_configuration__expected) BOOST_REQUIRE_EQUAL(instance.duplicate_body_file(), "bitcoin/cache_duplicate.data"); BOOST_REQUIRE_EQUAL(instance.prevout_head_file(), "bitcoin/heads/cache_prevout.head"); BOOST_REQUIRE_EQUAL(instance.prevout_body_file(), "bitcoin/cache_prevout.data"); - BOOST_REQUIRE_EQUAL(instance.validated_tx_head_file(), "bitcoin/heads/validated_tx.head"); - BOOST_REQUIRE_EQUAL(instance.validated_tx_body_file(), "bitcoin/validated_tx.data"); + BOOST_REQUIRE_EQUAL(instance.validated_tx_head_file(), "bitcoin/heads/cache_validated_tx.head"); + BOOST_REQUIRE_EQUAL(instance.validated_tx_body_file(), "bitcoin/cache_validated_tx.data"); /// Option. BOOST_REQUIRE_EQUAL(instance.address_head_file(), "bitcoin/heads/option_address.head");