-
Notifications
You must be signed in to change notification settings - Fork 281
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
Display fRelayTxes and bip152_highbandwidth_{to, from} in peer details #206
Display fRelayTxes and bip152_highbandwidth_{to, from} in peer details #206
Conversation
e91bcb5
to
caf9b87
Compare
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, just a few thoughts
The usage of text symbols to indicate something makes sense in a CLI environment, as used in the netinfo dashboard:
In adding these new fields, I don't think we should continue to use the same text symbols used in a CLI environment in a GUI environment.
Suggestions:
Relay Transactions
- I don't think it's great UX to show a checkmark when the peer is relaying transactions and nothing when it isn't. It would be better to have a simple
TRUE
orFALSE
for each case. - The tooltip should also be modified to have bullet points just like the high-bandwidth field's tooltip has
High Bandwidth
- The
.
and*
symbols are small. I think aTO
andFROM
key-word would be a better fit, given the context of the GUI environment, and provide a better UX experience.
When Not Applicable
- Currently, if any of these fields are not applicable they will still show up and show up empty. Perhaps we can fill in the space with
N/A
or not show the field at all. Below is a screenshot showing this behavior.
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
caf9b87
to
142807a
Compare
Thanks @jarolrod and @MarcoFalke. Updated to "Wants Tx Relay" (Yes/No) and "High Bandwidth" (To/From/No). Updated the tooltips accordingly. |
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.
ACK 142807a
The Yes/No
for Relay Transactions
and the To/From/No
for High Bandwidth
is certainly an improvement
review ACK 142807a |
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.
Good points @Talkless, will retouch those in the next patch adding last block and last transaction fields. |
…… …th_{to, from} in peer details
…provements 6242bee Hoist repeated translated strings to RPCConsole struct members (Jon Atack) 0f035c1 RPCConsole::updateDetailWidget: convert strings to translated strings (Jon Atack) Pull request description: - fixups from #206 review feedback (thanks!), see commit message for details - hoists repeatedly used translatable strings to the `RPCConsole` class for reuse ACKs for top commit: hebasto: re-ACK 6242bee Talkless: tACK 6242bee, tested on Debian Sid with Qt 5.15.2. I see "Ban for.." translated to my native language as before, "To/From/Yes/No" are not but that's expected, as `.ts` files are not updated. jarolrod: ACK 6242bee Tree-SHA512: 20a296511c5ac03a816766237fa2731b0360dedebf1bea02711eb21d7e4eae2a63a051fe48f4726052edc3e6318952f01fef920cd4b22a8196c39c23d8e5cc3a
Summary: > gui: display fRelayTxes in peer details > gui: display BIP152 high bandwidth relay in peer details This is a backport of [[bitcoin-core/gui#206 | core-gui#206]] Depends on D10962 Test Plan: `ninja && src/qt/bitcoin-qt` In the Peers view, select a peer and check the new "high bandwidth" and "Wants Tx Relay" fields. Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D10963
This pull adds two fields to the peer details, "Wants Tx Relay" (fRelayTxes) and "High Bandwidth" (bip152_highbandwidth to/from). See the added tooltips for more info.