Bootstrapping a network of mining nodes, how to connect them?

+2 votes
I'm working on dynamically bootstrapping a network of n multichain nodes, starting with the genesis node, then starting up n-1 nodes which will need to be networked together to support transactions and mining. One thing that isn't terribly clear is...should I have all the nodes connect to the genesis node? Will they gossip and subsequently connect to one another for backup routes? If I do end up connecting them all to the genesis node and it goes down, what happens? Do they attempt to connect to others?

Trying to figure out how much intelligence I need to provide to ensure the network is properly routing across a dynamic number of nodes.
asked Jul 12, 2017 by dp_blockparty

1 Answer

+1 vote
 
Best answer

You can connect any new node to any existing node, and it will quickly and automatically discover and connect to the other nodes in the network (up to a reasonable limit). So there is no central dependency on the genesis node or any other. You can use getpeerinfo to see which others nodes one particular node is connected to.

answered Jul 13, 2017 by MultiChain
selected Jul 13, 2017 by dp_blockparty
...