Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/client.cpp
Show All 19 Lines | |||||
* Specify a (method, idx, name) here if the argument is a non-string RPC | * Specify a (method, idx, name) here if the argument is a non-string RPC | ||||
* argument and needs to be converted from JSON. | * argument and needs to be converted from JSON. | ||||
* | * | ||||
* @note Parameter indexes start from 0. | * @note Parameter indexes start from 0. | ||||
*/ | */ | ||||
static const CRPCConvertParam vRPCConvertParams[] = { | static const CRPCConvertParam vRPCConvertParams[] = { | ||||
{"setmocktime", 0, "timestamp"}, | {"setmocktime", 0, "timestamp"}, | ||||
{"mockscheduler", 0, "delta_time"}, | {"mockscheduler", 0, "delta_time"}, | ||||
{"generate", 0, "nblocks"}, | |||||
{"generate", 1, "maxtries"}, | |||||
{"utxoupdatepsbt", 1, "descriptors"}, | {"utxoupdatepsbt", 1, "descriptors"}, | ||||
{"generatetoaddress", 0, "nblocks"}, | {"generatetoaddress", 0, "nblocks"}, | ||||
{"generatetoaddress", 2, "maxtries"}, | {"generatetoaddress", 2, "maxtries"}, | ||||
{"getnetworkhashps", 0, "nblocks"}, | {"getnetworkhashps", 0, "nblocks"}, | ||||
{"getnetworkhashps", 1, "height"}, | {"getnetworkhashps", 1, "height"}, | ||||
{"sendtoaddress", 1, "amount"}, | {"sendtoaddress", 1, "amount"}, | ||||
{"sendtoaddress", 4, "subtractfeefromamount"}, | {"sendtoaddress", 4, "subtractfeefromamount"}, | ||||
{"sendtoaddress", 5, "avoid_reuse"}, | {"sendtoaddress", 5, "avoid_reuse"}, | ||||
▲ Show 20 Lines • Show All 216 Lines • Show Last 20 Lines |