Add missing documentation to the getmempoolinfo RPC call.
What about mexmempool -> max, mempoolminfee -> minfee?
Add missing documentation to the getmempoolinfo RPC call.
What about mexmempool -> max, mempoolminfee -> minfee?
utACK
unACK
797 | @@ -798,6 +798,8 @@ UniValue getmempoolinfo(const UniValue& params, bool fHelp) 798 | " \"size\": xxxxx (numeric) Current tx count\n" 799 | " \"bytes\": xxxxx (numeric) Sum of all tx sizes\n" 800 | " \"usage\": xxxxx (numeric) Total memory usage for the mempool\n" 801 | + " \"maxmempool\": xxxxx (numeric) Maximum memory usage for the mempool\n"
Nit: all the other RPC helps have commas after all but the last field in an object, to make it look more like actual JSON:
" \"usage\": xxxxx,
" \"maxmempool\": xxxxx,
" \"mempoolminfee\": xxxxx
Not that I care deeply about this (or at all, really), but you may preempt someone that wants to make that update later :)
I can add the commas in the other lines as well (wanted to minimize changes).
Sure, let's do that. Better to do this (update the help for getmempoolinfo) in one go.
utACK