diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-08-14 22:01:22 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-08-14 22:01:22 -0700 |
commit | 4323bfeafda4a5e0101710d94b518d41819a2325 (patch) | |
tree | 6ddfef232d5928bda0e566f55a405a0b8040bf6c /src/bitcoinrpc.cpp | |
parent | 5c28d820b613d01c0ebd8cb3ca7196c35b3e9d98 (diff) | |
parent | 36bd46f1c4330fa57a3730bd80706eca11510b55 (diff) | |
download | bitcoin-4323bfeafda4a5e0101710d94b518d41819a2325.tar.xz |
Merge pull request #2776 from jgarzik/keypoolsize
RPC: keypoolrefill now permits optional size parameter, to bump keypool
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r-- | src/bitcoinrpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 7a3e6560ab..a14f5e7060 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1200,6 +1200,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; } |