Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcwallet.cpp
Show First 20 Lines • Show All 3,096 Lines • ▼ Show 20 Lines | |||||
static UniValue loadwallet(const Config &config, | static UniValue loadwallet(const Config &config, | ||||
const JSONRPCRequest &request) { | const JSONRPCRequest &request) { | ||||
RPCHelpMan{ | RPCHelpMan{ | ||||
"loadwallet", | "loadwallet", | ||||
"Loads a wallet from a wallet file or directory." | "Loads a wallet from a wallet file or directory." | ||||
"\nNote that all wallet command-line options used when starting " | "\nNote that all wallet command-line options used when starting " | ||||
"bitcoind will be" | "bitcoind will be" | ||||
"\napplied to the new wallet (eg -zapwallettxes, rescan, etc).\n", | "\napplied to the new wallet (eg -rescan, etc).\n", | ||||
{ | { | ||||
{"filename", RPCArg::Type::STR, RPCArg::Optional::NO, | {"filename", RPCArg::Type::STR, RPCArg::Optional::NO, | ||||
"The wallet directory or .dat file."}, | "The wallet directory or .dat file."}, | ||||
}, | }, | ||||
RPCResult{RPCResult::Type::OBJ, | RPCResult{RPCResult::Type::OBJ, | ||||
"", | "", | ||||
"", | "", | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 1,872 Lines • Show Last 20 Lines |