-
Notifications
You must be signed in to change notification settings - Fork 142
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
feat(network): permanent peer store #1354
Conversation
Three additional notes:
|
bb4a686
to
0046d26
Compare
bf05f22
to
4c5e820
Compare
Description
This PR adds a permanent json-based peer store. It keeps a backup of all connected peers at runtime when we turn the node off and restore/use it when we try to start our node again.
This change will enhance the syncing process. here is a part of
peers.json
after my test for a few second:I suggest you guys test it on your side with your environment to ensure it works properly.
Related issue