RPC: Introduce getblockstats

This commit is contained in:
Jorge Timón
2017-06-04 00:25:55 +02:00
parent cda8e36f01
commit 35e77a0288
2 changed files with 283 additions and 0 deletions

View File

@@ -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" },