Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Conversation

@juga0
Copy link
Contributor

@juga0 juga0 commented Mar 7, 2019

No description provided.

Copy link

@nmathewson nmathewson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! I've made some small suggestions throughout the code. It's a little tricky to follow, but I think documenting functions will fix that. Also, I'd strongly suggest documenting what exactly each new field should contain. Once that's done you should feel free to merge.

for each relay and for the list of relays when fetching new
network statuses.
To count the number of times a relay was in a consensus and how
many consensuses have been seen.
In the test network router status entries don't have document
attribute.
Part of #28566
@juga0 juga0 force-pushed the ticket28566_rebased_on_29591 branch from 5cfb716 to a060738 Compare March 7, 2019 16:28
@juga0
Copy link
Contributor Author

juga0 commented Mar 7, 2019

Agree with all suggestions.
Squashed fixups and force pushed since not expecting new review

juga0 added 6 commits March 7, 2019 16:36
that have been seen for a relay and for the relay list.

Part of #28566.
for every result that is stored.

Part of #28566.
to the state file.
To know the total number of consensus seen in the last days.

Part of #28566.
Include a KeyValue in each bandwidth line with the number of
times the relay has been in a consensus in the past days.

Part of #28566.
The total number of consensuses seen in the last days.

Part of #28566.
@juga0 juga0 force-pushed the ticket28566_rebased_on_29591 branch from a060738 to d775f42 Compare March 7, 2019 16:38
juga0 added 2 commits March 8, 2019 16:10
used in the bandwidth file, so that it is less confusing and less
prone to errors.
@juga0 juga0 force-pushed the ticket28566_rebased_on_29591 branch from 6b535f9 to 9903b5e Compare March 8, 2019 16:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants