Start9Labs / start-os

Open source Linux distro optimized for self-hosting
https://start9.com
MIT License
1.03k stars 98 forks source link

Improve Bitcoin Properties tab #2792

Closed copy2018 closed 17 hours ago

copy2018 commented 22 hours ago

Prerequisites

Describe the Feature Request

I have modified the main.rs to improve Properties tab for the bitcoin core wrapper and submitted a PR about a week ago and would be grateful if someone could get around to checking it. I have already built and tested it to ensure it works properly and have included a screenshot of what the updated code looks like.

Link to PR: https://github.com/Start9Labs/bitcoind-startos/pull/154

Describe the Use Case

Properties added for added convenience:

  1. REAL Max Mempool Size in MB given core's overhead and safety buffer
  2. Current Mempool Usage in MB and as a percentage
  3. Mempool Transaction Count
  4. Progress to next halving added (counts in years, days, hours, mins)
  5. Node uptime since service was started
  6. Current total supply of Bitcoin based on issuance schedule (may be very slightly inaccuate compared to gettxoutsetinfo but is great for monitoring at a glance without needing to wait)

I also consolidated the blockchain sync summary to one line to save screen real estate.

Here is an image of what it looks like: image

Describe Preferred Solution

Link to PR: https://github.com/Start9Labs/bitcoind-startos/pull/154

Describe Alternatives

Reasons 'total bitcoin supply' may not be exactly the same as gettxoutinfo:

However overall this is a great at a glance metric imo to keep a check on things (with a fraction of a percent difference), especially since gettxoutsetinfo is resource and time intensive.

Anything else?

No response

MattDHill commented 17 hours ago

@copy2018 thank you for the request. Please re-create this ticket in the Bitcoin service repository, as it is not a StartOS issue.