Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/blockchain.cpp
Show First 20 Lines • Show All 2,837 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
static UniValue dumptxoutset(const Config &config, | static UniValue dumptxoutset(const Config &config, | ||||
const JSONRPCRequest &request) { | const JSONRPCRequest &request) { | ||||
RPCHelpMan{ | RPCHelpMan{ | ||||
"dumptxoutset", | "dumptxoutset", | ||||
"Write the serialized UTXO set to disk.\n", | "Write the serialized UTXO set to disk.\n", | ||||
{ | { | ||||
{"path", RPCArg::Type::STR, RPCArg::Optional::NO, | {"path", RPCArg::Type::STR, RPCArg::Optional::NO, | ||||
/* 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, | ||||
"", | "", | ||||
"", | "", | ||||
{ | { | ||||
{RPCResult::Type::NUM, "coins_written", | {RPCResult::Type::NUM, "coins_written", | ||||
▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines |