gui icon indicating copy to clipboard operation
gui copied to clipboard

Use fallback value for Version and User Agent during peer connection

Open jonatack opened this issue 3 years ago • 1 comments

During connection setup for a peer, getpeerinfo returns "version": 0, "subver": "" and the GUI Peers window displays 0 and an empty field, respectively.

Give these fields the same behavior as the other fields in the GUI Peers window: display the fallback value in src/qt/forms/debugwindow.ui (i.e. N/A) until a valid result is available after the peer connection completes.

An alternative would be to display nothing for both, as is the case currently for User Agent.

jonatack avatar Oct 05 '22 13:10 jonatack

Thanks @jarolrod! I noticed this because these fields can occasionally remain in the "connection setup" stage for a few seconds.

jonatack avatar Oct 18 '22 22:10 jonatack