Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/rawtransaction.cpp
Show First 20 Lines • Show All 1,030 Lines • ▼ Show 20 Lines | |||||
static UniValue signrawtransactionwithkey(const Config &config, | static UniValue signrawtransactionwithkey(const Config &config, | ||||
const JSONRPCRequest &request) { | const JSONRPCRequest &request) { | ||||
if (request.fHelp || request.params.size() < 2 || | if (request.fHelp || request.params.size() < 2 || | ||||
request.params.size() > 4) { | request.params.size() > 4) { | ||||
throw std::runtime_error( | throw std::runtime_error( | ||||
RPCHelpMan{ | RPCHelpMan{ | ||||
"signrawtransactionwithkey", | "signrawtransactionwithkey", | ||||
{ | { | ||||
{"hexstring", RPCArg::Type::STR, false}, | {"hexstring", RPCArg::Type::STR_HEX, false}, | ||||
{"privkyes", | {"privkyes", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
{ | { | ||||
{"privatekey", RPCArg::Type::STR_HEX, false}, | {"privatekey", RPCArg::Type::STR_HEX, false}, | ||||
}, | }, | ||||
false}, | false}, | ||||
{"prevtxs", | {"prevtxs", | ||||
RPCArg::Type::ARR, | RPCArg::Type::ARR, | ||||
▲ Show 20 Lines • Show All 962 Lines • Show Last 20 Lines |