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

Add ability to load peers to use as bootstrap nodes #48

Closed
cblgh opened this issue Nov 27, 2019 · 4 comments
Closed

Add ability to load peers to use as bootstrap nodes #48

cblgh opened this issue Nov 27, 2019 · 4 comments

Comments

@cblgh
Copy link

cblgh commented Nov 27, 2019

To increase the resilience of using hyperswarm (e.g. networks being forcefully shut off, or booting into a specifically set up mesh network) it would be very useful if peers could somehow load in a list of IPs to use as introducers/bootstrap nodes for the network. Either that or just peers to connect to in general.

Similarly it would be very useful to export a list of the currently connected peers.

This has been discussed previously in

@mafintosh
Copy link
Contributor

You can pass your own bootstrap list already using the dht options. Let me see if we expose nodes atm

@cblgh
Copy link
Author

cblgh commented Nov 27, 2019

sweet! yeah exporting would be 👨‍🍳 👌

@mafintosh
Copy link
Contributor

This landed in master with dht.getNodes, dht.addNodes

@cblgh
Copy link
Author

cblgh commented May 5, 2020

heyyyy fantastic!

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