Mirobit / bitcoin-node-manager

:bar_chart: Lightweight dashboard and control system for bitcoin nodes
MIT License
122 stars 62 forks source link

Suggestion: Relocate Memory Pool Metrics and Remove Memory Pool Transactions Tab #70

Closed k0gen closed 1 year ago

k0gen commented 1 year ago

The "Memory Pool Transactions" tab in Bitcoin Node Manager is currently disabled due to memory concerns. To improve the user experience and resource management, I suggest making the following changes:

  1. Unifi the "TX in Mempool" and "Usage" metrics on the "Main" tab for easy access and monitoring .
  2. Remove the "Memory Pool" tab.

Benefits:

Future Considerations: In the long term, as the application evolves, the "Memory Pool Transactions" tab could potentially be re-implemented with memory usage optimizations.

MontejoJorge commented 1 year ago

I don't like the idea of add other stat to the home page main panel, but maybe in add it in the node card? or create other card with mempol stats such as usage and average fee per tx. Here is all the result of getmempoolinfo method.

k0gen commented 1 year ago

I have just noticed that "TX in Mempool" is actually there:

Screenshot 2023-08-05 at 05 15 03

What is really left in the "Moemory Pool" tab is just the Usage (reflected in MB)

Screenshot 2023-08-05 at 05 27 30

I agree @MontejoJorge it might be a better idea to restructure the "Node" card to include Mempool usage in MB or make a separate Mempool card for stats.

Mirobit commented 1 year ago

True, the Memory pool page is kind of pointless. It should be unified on the main page. A solution could be to show the usage in MB on only if you hover over the xx% usage. That way no extra space would be needed.

k0gen commented 1 year ago

True, the Memory pool page is kind of pointless. It should be unified on the main page. A solution could be to show the usage in MB on only if you hover over the xx% usage. That way no extra space would be needed.

Excellent idea!

Mirobit commented 1 year ago

In 66ba3cc I moved the information to a mouse hover on the usage percentage on the main page. For some reason the bootstrap tooltip didn't work, so I used the default hover for now. I want to fix this later