|
|
|
@ -1014,13 +1014,11 @@ bool DeploymentEnabled(const ChainstateManager& chainman, DEP dep)
|
|
|
|
|
return DeploymentEnabled(chainman.GetConsensus(), dep);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
using FopenFn = std::function<FILE*(const fs::path&, const char*)>;
|
|
|
|
|
|
|
|
|
|
/** Dump the mempool to disk. */
|
|
|
|
|
bool DumpMempool(const CTxMemPool& pool, const fs::path& dump_path, FopenFn mockable_fopen_function = fsbridge::fopen, bool skip_file_commit = false);
|
|
|
|
|
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. */
|
|
|
|
|
bool LoadMempool(CTxMemPool& pool, CChainState& active_chainstate, FopenFn mockable_fopen_function = fsbridge::fopen);
|
|
|
|
|
bool LoadMempool(CTxMemPool& pool, CChainState& active_chainstate, fsbridge::FopenFn mockable_fopen_function = fsbridge::fopen);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return the expected assumeutxo value for a given height, if one exists.
|
|
|
|
|