Open kn0wmad opened 2 years ago
+1 would love to see. This is perhaps us just replicating something that appears in Bitcoin Core QT anyway where you can hover and see at least how many nodes you're connected to.
+1 from me too for adding more detailed node info, especially about the network and peers. I just got started with embassyOS and really like it. For my previous bitcoin node, seeing the number of inbound connections was nice because it told me that I had things configured correctly to fully support the network. I took a shot at adding a Connections property here. Its value would have a format like this: "13 (3 in / 10 out)", similar to the Information tab in Bitcoin Core's node window.
Btw, reasons I didn't do a pull request: 1) I'm new to using Github and have never done one. 2) I've never done anything in Rust. My changes are basically just a guess by replicating what I saw above with the other properties. 3) I only searched the repo for the property related stuff and don't know what else may be needed in other files in addition to what I changed. 4) I'm not able to build and install and test my changes for myself. I don't want to blindly change code and propose it.
@biotic21 A PR is preferred. Just make it a draft pull request and we'll help you complete it :)
Prerequisites
Describe the Feature Request
List the number and host info of connected peers. This is may be better suited to a UI Dashboard, depending on how far out that feature is
Describe the Use Case
Quickly view connected peers and info about them
Describe Preferred Solution
Perhaps throw into Properties, but a UI Dashboard is ideal
Describe Alternatives
No response
Anything else?
No response