From 50a00312a801860d13b6e17fe88ee91bc1fc9b11 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 27 May 2026 03:34:04 -0400 Subject: [PATCH 1/2] Remove dead code. --- test/test.hpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/test.hpp b/test/test.hpp index 3cf36c68e..a19912081 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -63,18 +63,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; -} - // std_array -> join(< std::ostream& operator<<(std::ostream& stream, From 83562d206efdb8d7ac6e566b779dcb1c2802f6cc Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 27 May 2026 13:28:01 -0400 Subject: [PATCH 2/2] Comments. --- include/bitcoin/database/tables/caches/prevout.hpp | 2 +- include/bitcoin/database/tables/caches/validated_bk.hpp | 2 +- include/bitcoin/database/tables/optionals/filter_bk.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bitcoin/database/tables/caches/prevout.hpp b/include/bitcoin/database/tables/caches/prevout.hpp index 1b5abb979..2db937a0e 100644 --- a/include/bitcoin/database/tables/caches/prevout.hpp +++ b/include/bitcoin/database/tables/caches/prevout.hpp @@ -28,7 +28,7 @@ namespace libbitcoin { namespace database { namespace table { -/// prevout is an array map index of previous outputs indexed by block link. +/// prevout is a slab arraymap index of previous outputs indexed by block link. /// The coinbase flag is merged into the tx field, reducing it's domain. /// Masking is from the right in order to accomodate integral tx domain. struct prevout diff --git a/include/bitcoin/database/tables/caches/validated_bk.hpp b/include/bitcoin/database/tables/caches/validated_bk.hpp index 786ba732c..4e173fd46 100644 --- a/include/bitcoin/database/tables/caches/validated_bk.hpp +++ b/include/bitcoin/database/tables/caches/validated_bk.hpp @@ -27,7 +27,7 @@ namespace libbitcoin { namespace database { namespace table { -/// validated_bk is a slab arraymap of block state, indexed by header.fk. +/// validated_bk is a record arraymap of block state, indexed by header.fk. struct validated_bk : public array_map { diff --git a/include/bitcoin/database/tables/optionals/filter_bk.hpp b/include/bitcoin/database/tables/optionals/filter_bk.hpp index 27d4f0812..e6d1439fb 100644 --- a/include/bitcoin/database/tables/optionals/filter_bk.hpp +++ b/include/bitcoin/database/tables/optionals/filter_bk.hpp @@ -27,7 +27,7 @@ namespace libbitcoin { namespace database { namespace table { -/// filter_bk is a slab arraymap of filter headers indexed by block link. +/// filter_bk is a record arraymap of filter headers indexed by block link. struct filter_bk : public array_map {