Bitcoin Core  22.99.0
P2P Digital Currency
Functions | Variables
chainstate.h File Reference
#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>
Include dependency graph for chainstate.h:
This graph shows which files directly or indirectly include this file:

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){}
 

Function Documentation

◆ CreateAndActivateUTXOSnapshot()

template<typename F = decltype(NoMalleation)>
static bool CreateAndActivateUTXOSnapshot ( NodeContext node,
const fs::path  root,
malleation = NoMalleation 
)
static

Create and activate a UTXO snapshot, optionally providing a function to malleate the snapshot.

Definition at line 27 of file chainstate.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ NoMalleation

const auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){}

Definition at line 19 of file chainstate.h.