-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
Find diverse peers #1383
Comments
this is not normal from canbo's log:
and from my log
in my case, I debugged and found that finalized block still in |
I think you posted this in wrong issue? 😄 |
the above comment should be for #1381 which is closed. |
@mpetrunic what's the rationale of this? right now we have also I see we have |
At least 1 peer for each subnet (single peer can be subscribed to multiple subnets so we don't actually need to have 64 peers at minimum). If you aren't subscribed to subnet and you are publishing attestation, you are doing fanout and you need peer with connection that is on that subnet in order for someone to aggregate your attestation.
I think we need to set it here, but we can have more peers in peer store but just maxPeers with connection. |
I see. Just a clarification that we have |
That's unreleated to that, we don't have to be subscribed to subnet to propagate attestation, we just need to have peer on our attestation subnet. But since you've asked, we implement that incorrectly, we don't track how many active validators we have (so we are always subscribed to one random subnet).
|
Is your feature request related to a problem? Please describe.
We should aim to have at least one peer from each subnet.
Describe the solution you'd like
Use discv5 to periodically search for peers with attestation subnets we are missing
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: