Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcdump.cpp
Show First 20 Lines • Show All 1,646 Lines • ▼ Show 20 Lines | if (mainRequest.fHelp || mainRequest.params.size() < 1 || | ||||
"scan the entire blockchain. Blocks up to 2 " | "scan the entire blockchain. Blocks up to 2 " | ||||
"hours before the earliest key\n" | "hours before the earliest key\n" | ||||
" " | " " | ||||
" creation time of all keys " | " creation time of all keys " | ||||
"being imported by the importmulti call will " | "being imported by the importmulti call will " | ||||
"be scanned.", | "be scanned.", | ||||
/* oneline_description */ "", | /* oneline_description */ "", | ||||
{"timestamp | \"now\"", "integer / string"}}, | {"timestamp | \"now\"", "integer / string"}}, | ||||
{"redeemscript", RPCArg::Type::STR, | {"redeemscript", RPCArg::Type::STR, /* opt */ true, | ||||
/* opt */ true, /* default_val */ "omitted", | /* default_val */ "omitted", | ||||
"Allowed only if the scriptPubKey is a P2SH " | "Allowed only if the scriptPubKey is a P2SH " | ||||
"address/scriptPubKey"}, | "address/scriptPubKey"}, | ||||
{"pubkeys", | {"pubkeys", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
/* opt */ true, | /* opt */ true, | ||||
/* default_val */ "empty array", | /* default_val */ "empty array", | ||||
"Array of strings giving pubkeys to import. They " | "Array of strings giving pubkeys that must occur " | ||||
"must occur in P2PKH scripts. They are not " | "in the output or redeemscript", | ||||
"required when the private key is also provided " | |||||
"(see the \"keys\" argument).", | |||||
Fabien: Revert the doc, this sentence has been added after the PR you're backporting: D6140, https… | |||||
{ | { | ||||
{"pubKey", RPCArg::Type::STR, /* opt */ false, | {"pubKey", RPCArg::Type::STR, /* opt */ false, | ||||
/* default_val */ "", ""}, | /* default_val */ "", ""}, | ||||
}}, | }}, | ||||
{"keys", | {"keys", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
/* opt */ true, | /* opt */ true, | ||||
/* default_val */ "empty array", | /* default_val */ "empty array", | ||||
"Array of strings giving private keys to import. " | "Array of strings giving private keys whose " | ||||
"The corresponding public keys must occur in the " | "corresponding public keys must occur in the " | ||||
"output or redeemscript.", | "output or redeemscript", | ||||
FabienUnsubmitted Not Done Inline ActionsDito Fabien: Dito | |||||
{ | { | ||||
{"key", RPCArg::Type::STR, | {"key", RPCArg::Type::STR, | ||||
/* opt */ false, /* default_val */ "", ""}, | /* opt */ false, /* default_val */ "", ""}, | ||||
}}, | }}, | ||||
{"range", | {"range", | ||||
RPCArg::Type::OBJ, | RPCArg::Type::OBJ, | ||||
/* opt */ true, | /* opt */ true, | ||||
/* default_val */ "", | /* default_val */ "", | ||||
▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines |
Revert the doc, this sentence has been added after the PR you're backporting: D6140, https://github.com/bitcoin/bitcoin/pull/14565