Skip to content
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

Provide additional information about connected peers #781

Open
geigerzaehler opened this issue Sep 2, 2021 · 2 comments
Open

Provide additional information about connected peers #781

geigerzaehler opened this issue Sep 2, 2021 · 2 comments

Comments

@geigerzaehler
Copy link
Contributor

Currently, users of radicle-daemon get information about the connected peers from the Status in the StatusChanged Event. The list set of peers includes peers that the protocol has established a QUIC connection with and that have not responded to the membership protocol yet.

To improve this the daemon should also provide information about the peers in the active and passive sets of the membership protocol so we can display that information.

@kim
Copy link
Contributor

kim commented Sep 3, 2021 via email

@xla
Copy link
Contributor

xla commented Sep 3, 2021

You are looking for net::peer::Peer::membership exposed from librad. Be aware that it is considered a bug that the return type of net::peer::Peer::stats contains IP addresses.

@geigerzaehler If you curious as to why check the first item in #722 with the linked discussion to RFC0696.

@geigerzaehler geigerzaehler changed the title Provide more accurate information about connected peers Provide additional information about connected peers Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants