aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2022-07-12 22:24:31 -0400
committerCarl Dong <contact@carldong.me>2022-07-15 12:26:20 -0400
commitcb3e9a1e3f8d72daaa361fc45dd853775e754b9d (patch)
tree7d95018b6407a0fafd0d34577dd73f52d858fc21 /src/test
parentaa306765419f7dbea12b12e15553039835ba0e4d (diff)
downloadbitcoin-cb3e9a1e3f8d72daaa361fc45dd853775e754b9d.tar.xz
Move {Load,Dump}Mempool to kernel namespace
Also: 1. Add the newly introduced kernel/mempool_persist.cpp to IWYU CI script 2. Add chrono mapping for iwyu
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/validation_load_mempool.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/fuzz/validation_load_mempool.cpp b/src/test/fuzz/validation_load_mempool.cpp
index 357d8a9987..90c1a71d9f 100644
--- a/src/test/fuzz/validation_load_mempool.cpp
+++ b/src/test/fuzz/validation_load_mempool.cpp
@@ -2,6 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#include <kernel/mempool_persist.h>
+
#include <chainparamsbase.h>
#include <mempool_args.h>
#include <node/mempool_persist_args.h>
@@ -17,6 +19,8 @@
#include <cstdint>
#include <vector>
+using kernel::DumpMempool;
+
using node::MempoolPath;
namespace {