-
Notifications
You must be signed in to change notification settings - Fork 276
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
WIP: mempool stats chart #108
WIP: mempool stats chart #108
Conversation
7fcc1a1
to
2ea7ec8
Compare
Concept ACK -- nice! |
96ee92a
to
52267ab
Compare
52267ab
to
bc78567
Compare
Should the background color of the Network Traffic display be changed to white as well? - to create a consistent UX within the different tabs? If so - should they share a common theme - so they can be toggled together? |
Concept ACK :) It seems that the parent window should trigger a repaint/resize of the view simular to the peer table data model... Line 219 in d67883d
Line 840 in d67883d
We can attempt to use similar settings to make a more consistent UX between the tabs by using the same dimensions for the data presentation view and the margin underneath... PR #90 |
Concept ACK. |
Very cool, concept ACK. |
@RandyMcMillan I recommend to do the visual alignment later on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The peers tab is dropped from the menu, try expanding std::vector<TabTypes> tabs()
in rpcconsole.h
I managed to get a segfault by clicking on the chart (macOS), though only once. Also when clicking on an item in the legend.
You could split this into two PR's, one where the node collects all the histogram data and exposes it via RPC (with a functional test). And a GUI PR on top.
ClickableRectItem *fee_rect = new ClickableRectItem(); | ||
fee_rect->setRect(4, c_y, c_w, c_h); | ||
|
||
QColor brush_color = colors[(i < static_cast<int>(colors.size()) ? i : static_cast<int>(colors.size())-1)]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comparison of integers of different signs: 'int' and 'std::__1::vector<QColor, std::__1::allocator<QColor> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
(a bunch of other warnings too)
Concept ACK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK
One Note:
On macOS 11.1, Qt 5.15.2 - I can reliably cause a segmentation fault by clicking on any of the text on the left side. I can click on the corresponding box, but clicking on the text will cause a segmentation fault. Here is a pastebin link to the error report: https://pastebin.com/E7my5X8V
IMO the bar graph used by https://btc.bitaps.com is better than https://jochen-hoenicke.de/queue/#BTC%20(default%20mempool),24h Reason: Its easy to look at it and use the information while broadcasting a bitcoin transaction |
I like it. It uses the widget area more effective. |
#320 is a rebase of this PR. |
The "22.0" milestone seems unrealistic here. Removing it. |
@jonasschnelli Do you still have plans to work on this? Thanks! |
Concept ACK, this looks really neat. I think it's good for people running the GUI to have some introspection into what is happening on their node, and visualizations like this are useful for that. |
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
Closing due to inactivity. Feel free to reopen. |
Mark up for grabs? |
Done. |
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:
See also bitcoin/bitcoin#8550 (an initial attempt, different concept).
TODO: