message: Port rpc client
diff: @@ -38,8 +38,10 @@ static const CRPCConvertParam vRPCConvertParams[] =
  { "sendtoaddress", 4, "subtractfeefromamount" },
  { "sendtoaddress", 5 , "replaceable" },
  { "sendtoaddress", 6 , "conf_target" },
  + { "sendtoaddress", 9, "changeToSender" },
  { "settxfee", 0, "amount" },
  { "sethdseed", 0, "newkeypool" },
  + { "getsubsidy", 0, "height" },
  { "getreceivedbyaddress", 1, "minconf" },
  { "getreceivedbylabel", 1, "minconf" },
  { "listreceivedbyaddress", 0, "minconf" },
  @@ -59,6 +61,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
  { "listtransactions", 2, "skip" },
  { "listtransactions", 3, "include_watchonly" },
  { "walletpassphrase", 1, "timeout" },
  + { "walletpassphrase", 2, "stakingonly" },
  { "getblocktemplate", 0, "template_request" },
  { "listsinceblock", 1, "target_confirmations" },
  { "listsinceblock", 2, "include_watchonly" },
  @@ -75,6 +78,25 @@ static const CRPCConvertParam vRPCConvertParams[] =
  { "sendmanywithdupes", 4, "subtractfeefrom" },
  { "addmultisigaddress", 0, "nrequired" },
  { "addmultisigaddress", 1, "keys" },
  + ////////////////////////////////////////////////// // qtum
  + { "getaddresstxids", 0, "addresses"},
  + { "getaddressmempool", 0, "addresses"},
  + { "getaddressdeltas", 0, "addresses"},
  + { "getaddressbalance", 0, "addresses"},
  + { "getaddressutxos", 0, "addresses"},
  + { "getblockhashes", 0, "high"},
  + { "getblockhashes", 1, "low"},
  + { "getblockhashes", 2, "options"},
  + { "getspentinfo", 0, "argument"},
  + { "searchlogs", 0, "fromBlock"},
  + { "searchlogs", 1, "toBlock"},
  + { "searchlogs", 2, "address"},
  + { "searchlogs", 3, "topics"},
  + { "waitforlogs", 0, "fromBlock"},
  + { "waitforlogs", 1, "txlimit"},
  + { "waitforlogs", 2, "address"},
  + { "waitforlogs", 3, "topics"},
  + //////////////////////////////////////////////////
  { "createmultisig", 0, "nrequired" },
  { "createmultisig", 1, "keys" },
  { "listunspent", 0, "minconf" },
  @@ -87,6 +109,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
  { "getblockheader", 1, "verbose" },
  { "getchaintxstats", 0, "nblocks" },
  { "gettransaction", 1, "include_watchonly" },
  + { "gettransaction", 2, "waitconf" },
  { "getrawtransaction", 1, "verbose" },
  { "createrawtransaction", 0, "inputs" },
  { "createrawtransaction", 1, "outputs" },
  @@ -161,6 +184,10 @@ static const CRPCConvertParam vRPCConvertParams[] =
  { "sendtocontract", 7, "changeToSender" },
  { "reservebalance", 0, "reserve"},
  { "reservebalance", 1, "amount"},
  + { "listcontracts", 0, "start" },
  + { "listcontracts", 1, "maxDisplay" },
  + { "getstorage", 2, "index" },
  + { "getstorage", 1, "blockNum" },
  // Echo with conversion (For testing only)
  { "echojson", 0, "arg0" },
  { "echojson", 1, "arg1" },
  