aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2017-06-04 00:25:55 +0200
committerJorge Timón <jtimon@jtimon.cc>2018-05-22 23:26:32 +0200
commit35e77a0288bcac5594ff25c10c9679a161cb730b (patch)
tree9f93e0c8da431da01f90777cf1f23a570abec0c7 /src/rpc/client.cpp
parentcda8e36f019dd181e5c3774961b4f1335e5602cb (diff)
RPC: Introduce getblockstats
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 34c41b3b6b..90a7ac9ab2 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -122,6 +122,8 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "importmulti", 1, "options" },
{ "verifychain", 0, "checklevel" },
{ "verifychain", 1, "nblocks" },
+ { "getblockstats", 0, "hash_or_height" },
+ { "getblockstats", 1, "stats" },
{ "pruneblockchain", 0, "height" },
{ "keypoolrefill", 0, "newsize" },
{ "getrawmempool", 0, "verbose" },