Reputation: 620
When starting a new node we have to indicate the address of a root node so as it can connect and discover the network. Is there a way to set a list of nodes so as the new node does not depend on a single peer?
Environment variable: - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051
Upvotes: 0
Views: 339
Reputation: 18753
Q:Is there a way to set a list of nodes so as the new node does not depend on a single peer?
Answer: new nodes doesn't depend on a single peer and ROOTNODE can be any peer.
from fabric protocol spec,
Upon start up, a peer runs discovery protocol if CORE_PEER_DISCOVERY_ROOTNODE
is specified.
CORE_PEER_DISCOVERY_ROOTNODE
is the IP address of another peer on the network (any peer) that serves as the starting point for discovering all the peers on the network.
Upvotes: 1