Right now I have one cloud instance running a node, and 2 local instances on the same computer. On my local instances, in the bootnodes flag I pass the address to my cloud instance. Initially I was expecting that this would result in (2 peers)
showing up on each of my local instances, but only my cloud instance shows (2 peers)
, the local instances show (1 peer)
, which is the cloud instance.
Now my initial mental model was that this cloud instance would just be used as a means to sync up or discover other nodes in the network, and the nodes would then decide amongst themselves how to send communication to the fastest/nearest node, rather than the bootnode. Resulting in (2 peers)
showing for each node (local or remote).
What I am asking is a networking question, does it happen that my local nodes could be communicating between themselves without going through the remote instance? Say local A
produced a block, will that information be relayed directly to local B
or through remote
and then to local B
?
Also, is it possible to use the bootnode as just a discovery point for other nodes? If not, is it possible to specify multiple bootnodes (if yes how)?