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

Change the way that bootstrap peers are passed #11

Closed
d-roak opened this issue Jun 16, 2024 · 0 comments
Closed

Change the way that bootstrap peers are passed #11

d-roak opened this issue Jun 16, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Open for external contributors

Comments

@d-roak
Copy link
Member

d-roak commented Jun 16, 2024

We want to add a bootstrap peer and remove the connection (unless we don't find other peers). We also want to allow multiple bootstrap peers to try to exchange other peers' information.

Relevant code:

// bootstrap
// TODO: use another technique instead of dial
await this._node.dial([
multiaddr(
"/ip4/127.0.0.1/tcp/50000/ws/p2p/Qma3GsJmB47xYuyahPZPSadh1avvxfyYQwk8R3UnFrQ6aP",
),
]);

@d-roak d-roak added enhancement New feature or request good first issue Good for newcomers help wanted Open for external contributors and removed good first issue Good for newcomers labels Jun 16, 2024
@d-roak d-roak closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Open for external contributors
Projects
Archived in project
Development

No branches or pull requests

1 participant