-
Notifications
You must be signed in to change notification settings - Fork 266
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
Peer address column sorting does not honor the inbound/outbound arrow prefix #397
Comments
@wodry UPDATE: see #397 (comment) |
@wodry UPDATE: see #397 (comment) |
I wanted to sort by peer address (to more easily count I2P and Onion inbound/outbound connections), so I clicked manually on the peer address column header (where the little triangle is), to be sure, sorting by address is active. Then I noticed this issue. Clicking more times on the header reverses sorting order as expected, but issue persists. |
For now, only address itself in considered during sorting: gui/src/qt/peertablesortproxy.cpp Lines 27 to 28 in 03826ae
|
I do not find them reasonable, see my expressions there. I like the sorting functionality that honors the inbound/outbound arrow prefix. I cannot imagine any use case for not honoring the prefix. Honoring the prefix makes sense, see my use case. Was the prefix sorting honoring removed? In the past I did not stumble upon this issue, but not sure if I tested it explicitly. |
Your use case, actually, requires filtering :)
The implementation remains unchanged since it was introduced in bitcoin/bitcoin#4225. |
This issue would be obsoleted by alternatives like #401 (B.2) or (B.3) |
Closing, as #317 has been merged. |
See this peer address column:
Expected behavior
Peer number 196 is sorted below peer number 424, because it is sorted by the first character (arrow) first.
Actual behavior
Peer number 196 is sorted below peer number 110. The first (arrow) character seems not to be relevant for sorting?
To reproduce
Run with both Onion and I2P network enabled and watch the peer table.
System information
22.0rc2
Debian Buster amd_64
The text was updated successfully, but these errors were encountered: