Skip to content

fix: netsize warning #1077

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

Merged
merged 1 commit into from
Apr 29, 2025
Merged

fix: netsize warning #1077

merged 1 commit into from
Apr 29, 2025

Conversation

guillaumemichel
Copy link
Contributor

The network size estimator is emitting a warning if it doesn't get exactly bucketSize peers in the Track() method.

If the network doesn't contain bucketSize peers altogether, the warning will constantly be emitted, which is undesirable and corrected in this PR.

See this post.

@guillaumemichel guillaumemichel requested a review from a team as a code owner April 29, 2025 13:50
@guillaumemichel guillaumemichel merged commit 8f175ae into master Apr 29, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

1 participant