doc: Clarify the getmempoolinfo.loaded RPC field documentation

Also, clarify the LoadMempool doxygen.
This commit is contained in:
MarcoFalke
2023-04-13 10:26:17 +02:00
parent 6888886cec
commit fa8866990d
4 changed files with 5 additions and 6 deletions

View File

@@ -19,7 +19,6 @@
#include <util/time.h>
#include <validation.h>
#include <chrono>
#include <cstdint>
#include <cstdio>
#include <exception>

View File

@@ -12,12 +12,12 @@ class CTxMemPool;
namespace kernel {
/** Dump the mempool to disk. */
/** Dump the mempool to a file. */
bool DumpMempool(const CTxMemPool& pool, const fs::path& dump_path,
fsbridge::FopenFn mockable_fopen_function = fsbridge::fopen,
bool skip_file_commit = false);
/** Load the mempool from disk. */
/** Import the file and attempt to add its contents to the mempool. */
bool LoadMempool(CTxMemPool& pool, const fs::path& load_path,
Chainstate& active_chainstate,
fsbridge::FopenFn mockable_fopen_function = fsbridge::fopen);