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

more consistent handling of peers_preferred and peer_allow during startup #3578

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Mar 2, 2021

The following config options can be configured in grin-server.toml -

  • peers_allow
  • peers_deny
  • peers_preferred

This PR reworks the initial connection handling process during startup to make peers_preferred and peers_allow more consistent.

We can now restart the node and have it reconnect to our configured list of preferred (or allowed) peers more reliably.
This has been useful during local testing of "archival sync" with peers_allow and peers_preferred configured, connecting to known archival nodes.

@antiochp antiochp merged commit 4284458 into mimblewimble:master Mar 2, 2021
@antiochp antiochp deleted the allowed_peers_restart branch March 2, 2021 20:34
@antiochp antiochp mentioned this pull request May 6, 2021
bayk added a commit to mwcproject/mwc-node that referenced this pull request Jun 13, 2024
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

Successfully merging this pull request may close these issues.

1 participant