From c1faa03759c209bc01109cabd0df4b4fc950264b Mon Sep 17 00:00:00 2001 From: evoskuil Date: Mon, 6 Jul 2026 21:28:44 -0400 Subject: [PATCH 1/2] Use database::mmap. --- include/bitcoin/node/define.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bitcoin/node/define.hpp b/include/bitcoin/node/define.hpp index 4aae9b57..6b7758bf 100644 --- a/include/bitcoin/node/define.hpp +++ b/include/bitcoin/node/define.hpp @@ -57,7 +57,7 @@ typedef std::function estimate_handler; /// Organization types. typedef std::function organize_handler; -typedef database::store store; +typedef database::store store; typedef database::query query; /// Work types. From 50aed3002ad2a1d03b61341d64d3de394798a88d Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 8 Jul 2026 03:05:28 -0400 Subject: [PATCH 2/2] Change default batch_signatures to 0 (disabled). --- src/settings.cpp | 2 +- test/settings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings.cpp b/src/settings.cpp index 96414751..3205abda 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -37,7 +37,7 @@ settings::settings() NOEXCEPT thread_priority{ true }, allow_overlapped{ true }, allow_batch_race{ true }, - batch_signatures{ 100'000 }, + batch_signatures{ 0 }, minimum_fee_rate{ 0.0 }, minimum_bump_rate{ 0.0 }, allowed_deviation{ 1.5 }, diff --git a/test/settings.cpp b/test/settings.cpp index ef669b09..4574cb61 100644 --- a/test/settings.cpp +++ b/test/settings.cpp @@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE(settings__node__default_context__expected) BOOST_REQUIRE_EQUAL(node.minimum_fee_rate, 0.0); BOOST_REQUIRE_EQUAL(node.minimum_bump_rate, 0.0); BOOST_REQUIRE_EQUAL(node.allowed_deviation, 1.5); - BOOST_REQUIRE_EQUAL(node.batch_signatures, 100'000_u64); + BOOST_REQUIRE_EQUAL(node.batch_signatures, 0_u64); BOOST_REQUIRE_EQUAL(node.announcement_cache, 42_u16); BOOST_REQUIRE_EQUAL(node.fee_estimate_horizon, 0u); BOOST_REQUIRE_EQUAL(node.maximum_height, 0_u32);