Port getchaintxstats from BTC master (#1328)

This will allow explorers to present interesting analytics about
transaction volume in various time frames.
This commit is contained in:
Duke Leto
2019-03-11 09:46:22 -04:00
committed by jl777
parent 8ff5220943
commit 02961a91e4
2 changed files with 83 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "listunspent", 2 },
{ "getblock", 1 },
{ "getblockheader", 1 },
{ "getchaintxstats", 0 },
{ "getlastsegidstakes", 0 },
{ "gettransaction", 1 },
{ "getrawtransaction", 1 },