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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not disconnect from synced peers #3026

Open
kyle-u410 opened this issue Jan 22, 2024 · 0 comments
Open

Do not disconnect from synced peers #3026

kyle-u410 opened this issue Jan 22, 2024 · 0 comments
Labels
feature New feature or request

Comments

@kyle-u410
Copy link

馃殌 Feature

When snarkOS does a periodic refresh of peers, only select peers that are in sync when there are more than one.

Motivation

When only some peers are caught up with chain, it could be that only one or two peers can help keep snarkOS in sync. When these peers are removed due to periodic refresh, then the current node becomes out of sync. The periodic cycling is good, but the loss of only peer that is in sync is bad. So only remove an in sync peer when there are a number of them in the peer list.

@kyle-u410 kyle-u410 added the feature New feature or request label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant