From 8c2d480f1ab02a42739f3f880ad0f9382bfcf854 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Sat, 9 Sep 2023 00:49:46 +0530 Subject: [PATCH] merge bitcoin#23115: use Span instead of std::vector for insert and contains --- src/bloom.cpp | 69 ++++++++++++---------------------------- src/bloom.h | 21 +++++------- src/hash.cpp | 1 + src/test/bloom_tests.cpp | 2 +- 4 files changed, 31 insertions(+), 62 deletions(-) diff --git a/src/bloom.cpp b/src/bloom.cpp index b9508b3da1..1bb8cff7d8 100644 --- a/src/bloom.cpp +++ b/src/bloom.cpp @@ -4,23 +4,27 @@ #include -#include #include -#include #include -#include +#include #include +#include +#include +#include #include