X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fbitcoinrpc.cpp;h=8433d862ce22cafad7103e0f4c36087702920feb;hp=03bd10e057f1578ff9de4163803c74d90a048584;hb=0068ce8ee8d23110a8d892f3213fe7335bf98813;hpb=28fdb061d3af424edea93c095219a5862fffba7c diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 03bd10e..8433d86 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -250,6 +250,7 @@ static const CRPCCommand vRPCCommands[] = { "getinfo", &getinfo, true, false }, { "getsubsidy", &getsubsidy, true, false }, { "getmininginfo", &getmininginfo, true, false }, + { "scaninput", &scaninput, true, true }, { "getnewaddress", &getnewaddress, true, false }, { "getnettotals", &getnettotals, true, true }, { "getaccountaddress", &getaccountaddress, true, false }, @@ -1211,6 +1212,10 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector 0) ConvertTo(params[0]); if (strMethod == "listsinceblock" && n > 1) ConvertTo(params[1]); + if (strMethod == "scaninput" && n > 1) ConvertTo(params[1]); + if (strMethod == "scaninput" && n > 2) ConvertTo(params[2]); + if (strMethod == "scaninput" && n > 3) ConvertTo(params[3]); + if (strMethod == "sendalert" && n > 2) ConvertTo(params[2]); if (strMethod == "sendalert" && n > 3) ConvertTo(params[3]); if (strMethod == "sendalert" && n > 4) ConvertTo(params[4]);