diff options
| author | Jeff Garzik <[email protected]> | 2014-08-06 23:58:19 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2014-08-14 12:34:38 -0400 |
| commit | 6f2c26a457d279138d23d0f321edf55cd6b1f72f (patch) | |
| tree | ce209c55c8ede839f538481135bf6949523db5cc /src/rpcserver.h | |
| parent | Merge pull request #4659 (diff) | |
| download | discoin-6f2c26a457d279138d23d0f321edf55cd6b1f72f.tar.xz discoin-6f2c26a457d279138d23d0f321edf55cd6b1f72f.zip | |
Closely track mempool byte total. Add "getmempoolinfo" RPC.
Goal: Gain live insight into the mempool. Groundwork for future work
that caps mempool size.
Diffstat (limited to 'src/rpcserver.h')
| -rw-r--r-- | src/rpcserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index 2248e8aeb..b850d15d4 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -200,6 +200,7 @@ extern json_spirit::Value getblockcount(const json_spirit::Array& params, bool f extern json_spirit::Value getbestblockhash(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getdifficulty(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value settxfee(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value getmempoolinfo(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getrawmempool(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getblockhash(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getblock(const json_spirit::Array& params, bool fHelp); |