From 4d52d31637917b04b31b2308874b317e35a82de4 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 27 May 2026 03:31:23 -0400 Subject: [PATCH] Remove dead code. --- src/parser.cpp | 5 ----- test/test.hpp | 12 ------------ 2 files changed, 17 deletions(-) diff --git a/src/parser.cpp b/src/parser.cpp index c454af2b..b7a1021d 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -1358,11 +1358,6 @@ options_metadata parser::load_settings() THROWS value(&configured.node.announcement_cache), "Limit of per channel cached peer block and tx announcements, to avoid replaying, defaults to '42'." ) - ( - "node.allocation_multiple", - value(&configured.node.allocation_multiple), - "Block deserialization buffer multiple of wire size, defaults to '20' (0 disables)." - ) ( "node.maximum_height", value(&configured.node.maximum_height), diff --git a/test/test.hpp b/test/test.hpp index d1ff41a6..7985bcfd 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -67,18 +67,6 @@ std::ostream& operator<<(std::ostream& stream, return stream; } -// std_vector -> join(< -std::ostream& operator<<(std::ostream& stream, - const std_vector& values) NOEXCEPT -{ - // Ok when testing serialize because only used for error message out. - BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT) - stream << system::serialize(values); - BC_POP_WARNING() - return stream; -} - // array -> join(< std::ostream& operator<<(std::ostream& stream,