![]() |
Bitcoin Core
22.99.0
P2P Digital Currency
|
#include <clientversion.h>
#include <fs.h>
#include <node/context.h>
#include <node/utxo_snapshot.h>
#include <rpc/blockchain.h>
#include <validation.h>
#include <univalue.h>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
template<typename F = decltype(NoMalleation)> | |
static bool | CreateAndActivateUTXOSnapshot (NodeContext &node, const fs::path root, F malleation=NoMalleation) |
Create and activate a UTXO snapshot, optionally providing a function to malleate the snapshot. More... | |
Variables | |
const auto | NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){} |
|
static |
Create and activate a UTXO snapshot, optionally providing a function to malleate the snapshot.
Definition at line 27 of file chainstate.h.
const auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){} |
Definition at line 19 of file chainstate.h.