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

P2pool seed peers not adding new peers #260

Open
SWvheerden opened this issue Feb 24, 2025 · 2 comments
Open

P2pool seed peers not adding new peers #260

SWvheerden opened this issue Feb 24, 2025 · 2 comments

Comments

@SWvheerden
Copy link
Contributor

Only peers with external addresses are added to the seed peers. This is due to the requirement that a peer can only be added to the peer database if they have en external dial-able address to dial. As soon as they get the relays they dont need to dial the seed peers anymore to get new addresses, but the seed peers never gets updated to include those peers.

@SWvheerden
Copy link
Contributor Author

Perhaps we need to make this that if you are a relay, you periodically dial the seed peers to make sure they have your address.

We also dont want to make it that the seed peers only have non relay addresses, we need them to in effect only have the addreses of the relays

@stringhandler
Copy link
Contributor

could also use the peer_info gossipsub publish when the external address changes. We need to make sure this isn't done too often

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

2 participants