mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Closely track mempool byte total. Add "getmempoolinfo" RPC.
Goal: Gain live insight into the mempool. Groundwork for future work that caps mempool size.
This commit is contained in:
parent
7accb7dbad
commit
6f2c26a457
5 changed files with 41 additions and 0 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue