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

View consensus weight #42

Open
xrisk opened this issue Sep 23, 2021 · 2 comments
Open

View consensus weight #42

xrisk opened this issue Sep 23, 2021 · 2 comments

Comments

@xrisk
Copy link

xrisk commented Sep 23, 2021

Is there perhaps any way to view one’s consensus weight (preferably both the raw value and the fraction)?

@atagar
Copy link
Collaborator

atagar commented Sep 23, 2021

Hi xrisk. No, Nyx does not present consensus weights and doing so would be confusing for users. Consensus weights reside within router status entries, for example...

r moria1 lpXfw1/+uGEym58asExGOXAgzjE iiukB+Ua+P+ePeHtX0d0LhIqj18 2021-09-23 18:39:12 128.31.0.34 9101 9131
s Authority Fast HSDir Running Stable V2Dir Valid
w Bandwidth=480

That value (480) is an arbitrary heuristic derived by the bandwidth authorities. The number itself is meaningless except as a weight when compared with other eligible relays for path selection.

If you can think of a good way to present this that doesn't cause confused inquiries I'd be happy to look at a patch.

@xrisk
Copy link
Author

xrisk commented Sep 26, 2021

Hi yes, I was thinking of a graph of the fractional consensus weight in the same vein as Onionoo. I am not sure of how accurately we can represent a line graph in the terminal though. I will take a stab at it.

EDIT: although now that I think of it, I’m not sure how useful or interesting that graph is once the initial 14 day period is over.

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

2 participants