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

Cache peers #1374

Closed
rotilho opened this issue Nov 10, 2018 · 1 comment
Closed

Cache peers #1374

rotilho opened this issue Nov 10, 2018 · 1 comment
Assignees
Milestone

Comments

@rotilho
Copy link

rotilho commented Nov 10, 2018

It would be nice to the node cache all peers when certain threshold is reached.

This would speed up peer discovery in case of restart and would remove the dependence to the DNS after first execution.

More details:

  • When the threshold is reached all peers are cached in the database
  • Every X seconds the cache is replaced with current peer list
  • If the number of peer is below threshold cache is not updated anymore
  • After start up node sends handshake to all cached peers
@wezrule
Copy link
Contributor

wezrule commented Jan 30, 2019

This has been solved by #1608

@wezrule wezrule closed this as completed Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants