mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01: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:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user