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

Re-bootstrap if not enough peers for all handlers #51

Open
alexdovzhanyn opened this issue Aug 29, 2018 · 0 comments
Open

Re-bootstrap if not enough peers for all handlers #51

alexdovzhanyn opened this issue Aug 29, 2018 · 0 comments
Labels
Enhancement New feature or request Good First Issue Good for newcomers Help Wanted Extra attention is needed

Comments

@alexdovzhanyn
Copy link
Owner

When a node first starts, it has no peers it can connect to, because it knows of no IPs on the network. It will ping the bootstrap server (peer registry) to receive a list of IP addresses it can connect to within the network. It then attempts to connect to each of those IP addresses, and saves each one with which it can create a successful connection.

The number of peers it successfully connects to may be lower than the number of handlers the node has available. If this is the case, the node should hit the bootstrap server again the next time it is started, and attempt to find additional peers.

@alexdovzhanyn alexdovzhanyn added Enhancement New feature or request Help Wanted Extra attention is needed labels Aug 29, 2018
@alexdovzhanyn alexdovzhanyn added the Good First Issue Good for newcomers label Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Good First Issue Good for newcomers Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant