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

Expose list of peers with too old code versions #1

Open
sesam opened this issue Dec 10, 2017 · 0 comments
Open

Expose list of peers with too old code versions #1

sesam opened this issue Dec 10, 2017 · 0 comments

Comments

@sesam
Copy link

sesam commented Dec 10, 2017

Maybe grinexplorer could have an output with the most up to date list of seemingly unwanted peers.

This could be formatted like a dynamic "getting started with grin" kind of living documentation, that gets autogenerated from the last known grin network situation.

By formatting it as one peer per row, curl -X POST http://localhost:13413/v1/peers/$IP:$PORT/ban, anyone having trouble syncing up or who want to avoid a lot of gossiping with outdated peers could copy&paste the list to their local node. This is meant as a help in messy situations when a breaking update has been made and lots of nodes are not yet updated.

Note that grin's ban API endpoint is currently "forever" but will become time limited, but until that is done, it might also be a good idea to keep a note about cleaning out the ban list manually by removing .grin/peers as soon as you've got your node synced up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant