aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-08-15 10:53:23 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-08-15 14:09:33 +0200
commit984ff68c679e9a40e14e791c6363c6136639a686 (patch)
tree71f67460c82fb19e45cde56c6654bbb148a25f38 /src/rpcserver.cpp
parent6b099402b40dcf9fc716be29c85e7e1865b28e92 (diff)
parent6f2c26a457d279138d23d0f321edf55cd6b1f72f (diff)
downloadbitcoin-984ff68c679e9a40e14e791c6363c6136639a686.tar.xz
Merge pull request #4638
6f2c26a Closely track mempool byte total. Add "getmempoolinfo" RPC. (Jeff Garzik)
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 56064941f6..3b51c91e7c 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -256,6 +256,7 @@ static const CRPCCommand vRPCCommands[] =
{ "blockchain", "getblockhash", &getblockhash, true, false, false },
{ "blockchain", "getchaintips", &getchaintips, true, false, false },
{ "blockchain", "getdifficulty", &getdifficulty, true, false, false },
+ { "blockchain", "getmempoolinfo", &getmempoolinfo, true, true, false },
{ "blockchain", "getrawmempool", &getrawmempool, true, false, false },
{ "blockchain", "gettxout", &gettxout, true, false, false },
{ "blockchain", "gettxoutsetinfo", &gettxoutsetinfo, true, false, false },