RPC params convertion cleanup

This commit is contained in:
Steven Roose 2019-03-20 11:12:34 +00:00
parent ce19a5f6cb
commit 77ba5eec41
No known key found for this signature in database
GPG key ID: 7FC91380BB4CE800

View file

@ -149,7 +149,6 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "logging", 1, "exclude" },
{ "disconnectnode", 1, "nodeid" },
{ "addwitnessaddress", 1, "p2sh" },
{ "initpegoutwallet", 1, "bip32_counter"},
// Echo with conversion (For testing only)
{ "echojson", 0, "arg0" },
{ "echojson", 1, "arg1" },
@ -161,10 +160,11 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "echojson", 7, "arg7" },
{ "echojson", 8, "arg8" },
{ "echojson", 9, "arg9" },
{ "rescanblockchain", 0, "start_height"},
{ "rescanblockchain", 1, "stop_height"},
{ "createwallet", 1, "disable_private_keys"},
{ "combineblocksigs", 1, "signatures"},
// ELEMENTS:
{ "rescanblockchain", 0, "start_height" },
{ "rescanblockchain", 1, "stop_height" },
{ "createwallet", 1, "disable_private_keys" },
{ "combineblocksigs", 1, "signatures" },
{ "sendtomainchain", 1, "amount" },
{ "sendtomainchain", 2, "subtractfeefromamount" },
};