This PR adds a mempool statistics to the “debug” window. The diagram is heavy inspired by Jochen Hoenicke’s webversion (Thanks @jhoenicke for that).
macOS:
Ubuntu:
The approach is it to collect the fees also when the mempool chart or the node window is not open (collect it from the start of the application). Clicking on the fee-range color square highlights the fee group over time.
To keep the scope minimal:
- flexible timeframe is out of scope (can be added later)
See also https://github.com/bitcoin/bitcoin/pull/8550 (an initial attempt, different concept).
TODO:
- Make it non HiDPI compatible (linux/win/etc.).
- Analyze memory consumption (should not be too bad)
- Optimize performance
- Try to make fee ranges dynamic