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
This commit is contained in:
Carl Dong
2022-07-12 22:24:31 -04:00
parent aa30676541
commit cb3e9a1e3f
11 changed files with 238 additions and 158 deletions

View File

@@ -5,6 +5,8 @@
#include <rpc/blockchain.h>
#include <kernel/mempool_persist.h>
#include <chainparams.h>
#include <core_io.h>
#include <fs.h>
@@ -19,6 +21,8 @@
#include <univalue.h>
#include <util/moneystr.h>
using kernel::DumpMempool;
using node::DEFAULT_MAX_RAW_TX_FEE_RATE;
using node::MempoolPath;
using node::ShouldPersistMempool;