aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-06-25 16:21:42 -0400
committerJeff Garzik <[email protected]>2013-06-25 16:21:42 -0400
commit36bd46f1c4330fa57a3730bd80706eca11510b55 (patch)
tree1b85ec3e3b0f3a064f6378484fbdaca34f2704a9 /src/bitcoinrpc.cpp
parentCWallet::TopUpKeyPool() takes optional pool size argument (diff)
downloaddiscoin-36bd46f1c4330fa57a3730bd80706eca11510b55.tar.xz
discoin-36bd46f1c4330fa57a3730bd80706eca11510b55.zip
RPC: keypoolrefill gains optional size parameter
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 590812620..9cd94f023 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -1199,6 +1199,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
if (strMethod == "importprivkey" && n > 2) ConvertTo<bool>(params[2]);
if (strMethod == "verifychain" && n > 0) ConvertTo<boost::int64_t>(params[0]);
if (strMethod == "verifychain" && n > 1) ConvertTo<boost::int64_t>(params[1]);
+ if (strMethod == "keypoolrefill" && n > 0) ConvertTo<boost::int64_t>(params[0]);
return params;
}