Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

% of blocks per pool & Signal as graphic #35

Open
oliverkane opened this issue May 4, 2021 · 4 comments
Open

% of blocks per pool & Signal as graphic #35

oliverkane opened this issue May 4, 2021 · 4 comments

Comments

@oliverkane
Copy link

Would you welcome a PR with something which converts two columns on the Miners page "Signals" and "Blocks" to a single pie with the number of blocks for and against?

https://benpickles.github.io/peity/

If you're interested, I'll patch something up.

@hsjoberg
Copy link
Owner

hsjoberg commented May 5, 2021

Hi @oliverkane!

Hmm that's an interesting idea.
I'm not fond of importing jQuery as a dependency to the project, but perhaps there is some other lib or way to go about doing this, we could give it a try and see how it would look like.

@oliverkane
Copy link
Author

Oh, yeah, that's just one I'm familiar with. There's a few other libs out there that do the same without the (rather old and bloated) jQuery. I'll give 'er a stab and put in a PR.

@oliverkane
Copy link
Author

What about something like this for a library? No external deps, fits with the existing React choice, and clocks in at 2kb.

https://toomuchdesign.github.io/react-minimal-pie-chart/index.html?path=/story/pie-chart--custom-size

@Giszmo
Copy link

Giszmo commented May 13, 2021

I suggest to not use pies. What I want is a stacked share chart showing all pools sorted by signalling, with additionally grand totals for the following categories, shown over all signalling periods:

  • Pools that signal with all mined blocks 🟩
  • Pools that signal both 🟩 and 🟥
  • Pools that signal only 🟥

I want to see if pools gain or lose miners depending on their stance towards speedy trial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants