Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Create a swarm bootnode #1111

Closed
nonsense opened this issue Jan 14, 2019 · 2 comments
Closed

Create a swarm bootnode #1111

nonsense opened this issue Jan 14, 2019 · 2 comments
Assignees

Comments

@nonsense
Copy link
Contributor

nonsense commented Jan 14, 2019

At the moment both p2p package and Swarm hive protocol handle node discovery and connections to peers, which is problematic for a number of reasons.

We want to configure the p2p package to not connect to any random nodes, and handle connections to new peers from the Swarm Kademlia implementation and SuggestPeer functionality.

For this purpose we need to create a Swarm bootnode, which runs the hive protocol, so that Swarm Kademlia implementation can take of new connections to nodes.

At the moment the bootnode cmd does not run hive, so if we turn off random peer dialling in the p2p package, we end up with 0 peers in all Swarm nodes. However if random peer dialing is on we end up with full connectivity #1094

@nonsense
Copy link
Contributor Author

In progress at:
#1138
ethersphere/helm-charts#32

@skylenet
Copy link
Contributor

skylenet commented Feb 5, 2019

Prod bootnode setup: https://github.com/ethereum/swarm-cluster/pull/121

@zelig zelig closed this as completed Feb 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants