aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authormrbandrews <bandrewsny@gmail.com>2016-11-29 12:39:19 -0500
committermrbandrews <bandrewsny@gmail.com>2017-01-10 08:14:50 -0500
commit1fc4ec7bf224748d3d6271bffa23d121f015cbf3 (patch)
treea726cadbb46e5e41932be2f06477a145f16df911 /src/rpc/client.cpp
parent5754e0341b7c033d4caf99534aca47e9981bd7ed (diff)
downloadbitcoin-1fc4ec7bf224748d3d6271bffa23d121f015cbf3.tar.xz
Add pruneblockchain RPC to enable manual block file pruning.
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 422d005f0c..5d3c458455 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -103,6 +103,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "importmulti", 1, "options" },
{ "verifychain", 0, "checklevel" },
{ "verifychain", 1, "nblocks" },
+ { "pruneblockchain", 0, "height" },
{ "keypoolrefill", 0, "newsize" },
{ "getrawmempool", 0, "verbose" },
{ "estimatefee", 0, "nblocks" },