Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/blockchain.cpp
Show First 20 Lines • Show All 2,824 Lines • ▼ Show 20 Lines | |||||
* Serialize the UTXO set to a file for loading elsewhere. | * Serialize the UTXO set to a file for loading elsewhere. | ||||
* | * | ||||
* @see SnapshotMetadata | * @see SnapshotMetadata | ||||
*/ | */ | ||||
static UniValue dumptxoutset(const Config &config, | static UniValue dumptxoutset(const Config &config, | ||||
const JSONRPCRequest &request) { | const JSONRPCRequest &request) { | ||||
RPCHelpMan{ | RPCHelpMan{ | ||||
"dumptxoutset", | "dumptxoutset", | ||||
"\nWrite the serialized UTXO set to disk.\n" | "\nWrite the serialized UTXO set to disk.\n", | ||||
"Incidentally flushes the latest coinsdb (leveldb) to disk.\n", | |||||
{ | { | ||||
{"path", RPCArg::Type::STR, RPCArg::Optional::NO, | {"path", RPCArg::Type::STR, RPCArg::Optional::NO, | ||||
/* default_val */ "", | /* default_val */ "", | ||||
"path to the output file. If relative, will be prefixed by " | "path to the output file. If relative, will be prefixed by " | ||||
"datadir."}, | "datadir."}, | ||||
}, | }, | ||||
RPCResult{RPCResult::Type::OBJ, | RPCResult{RPCResult::Type::OBJ, | ||||
"", | "", | ||||
▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines |