Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/rawtransaction.cpp
Show First 20 Lines • Show All 830 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
"script\n" | "script\n" | ||||
" \"sequence\" : n, (numeric) Script sequence number\n" | " \"sequence\" : n, (numeric) Script sequence number\n" | ||||
" \"error\" : \"text\" (string) Verification or signing " | " \"error\" : \"text\" (string) Verification or signing " | ||||
"error related to the input\n" | "error related to the input\n" | ||||
" }\n" | " }\n" | ||||
" ,...\n" | " ,...\n" | ||||
" ]\n" | " ]\n" | ||||
"}\n"}, | "}\n"}, | ||||
RPCExamples{HelpExampleCli("signrawtransactionwithkey", "\"myhex\"") + | RPCExamples{ | ||||
HelpExampleRpc("signrawtransactionwithkey", "\"myhex\"")}, | HelpExampleCli("signrawtransactionwithkey", | ||||
"\"myhex\" \"[\\\"key1\\\",\\\"key2\\\"]\"") + | |||||
HelpExampleRpc("signrawtransactionwithkey", | |||||
"\"myhex\", \"[\\\"key1\\\",\\\"key2\\\"]\"")}, | |||||
} | } | ||||
.Check(request); | .Check(request); | ||||
RPCTypeCheck( | RPCTypeCheck( | ||||
request.params, | request.params, | ||||
{UniValue::VSTR, UniValue::VARR, UniValue::VARR, UniValue::VSTR}, true); | {UniValue::VSTR, UniValue::VARR, UniValue::VARR, UniValue::VSTR}, true); | ||||
CMutableTransaction mtx; | CMutableTransaction mtx; | ||||
▲ Show 20 Lines • Show All 1,157 Lines • Show Last 20 Lines |