Helper to create UTXO snapshots given a chainstate and a file handle.
Synopsis
Declared in <rpc/blockchain.h>
UniValue
CreateUTXOSnapshot(
node::NodeContext& node,
Chainstate& chainstate,
AutoFile&& afile,
fs::path const& path,
fs::path const& tmppath);
Return Value
a UniValue map containing metadata about the snapshot.
Parameters
Name |
Description |
node |
The node context. |
chainstate |
The chainstate to snapshot. |
afile |
The output file to write the snapshot to. |
path |
The final path for the snapshot file. |
tmppath |
The temporary path written to before renaming to |
Created with MrDocs