Browse Source

rpc: make estimatesmartfee argument naming consistent with documentation

Part of this was a reversion in ec6902d0ea.
0.16
Wladimir J. van der Laan 7 years ago
parent
commit
5acd82de9a
  1. 2
      src/rpc/client.cpp
  2. 2
      src/rpc/mining.cpp

2
src/rpc/client.cpp

@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] = @@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "keypoolrefill", 0, "newsize" },
{ "getrawmempool", 0, "verbose" },
{ "estimatefee", 0, "nblocks" },
{ "estimatesmartfee", 0, "nblocks" },
{ "estimatesmartfee", 0, "conf_target" },
{ "estimaterawfee", 0, "conf_target" },
{ "estimaterawfee", 1, "threshold" },
{ "prioritisetransaction", 1, "dummy" },

2
src/rpc/mining.cpp

@ -980,7 +980,7 @@ static const CRPCCommand commands[] = @@ -980,7 +980,7 @@ static const CRPCCommand commands[] =
{ "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} },
{ "util", "estimatefee", &estimatefee, {"nblocks"} },
{ "util", "estimatesmartfee", &estimatesmartfee, {"nblocks", "estimate_mode"} },
{ "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} },
{ "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} },
};

Loading…
Cancel
Save