aboutsummaryrefslogtreecommitdiff
path: root/src/bench/addrman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/addrman.cpp')
-rw-r--r--src/bench/addrman.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bench/addrman.cpp b/src/bench/addrman.cpp
index f044feebba..ceef6c29ab 100644
--- a/src/bench/addrman.cpp
+++ b/src/bench/addrman.cpp
@@ -4,12 +4,18 @@
#include <addrman.h>
#include <bench/bench.h>
+#include <compat/compat.h>
+#include <netaddress.h>
#include <netbase.h>
#include <netgroup.h>
+#include <protocol.h>
#include <random.h>
+#include <span.h>
+#include <uint256.h>
#include <util/check.h>
#include <util/time.h>
+#include <cstring>
#include <optional>
#include <vector>
@@ -127,7 +133,7 @@ static void AddrManSelectByNetwork(benchmark::Bench& bench)
FillAddrMan(addrman);
bench.run([&] {
- (void)addrman.Select(/*new_only=*/false, NET_I2P);
+ (void)addrman.Select(/*new_only=*/false, {NET_I2P});
});
}