iykyk-syn / unison

Consensus nodes performing in unison!
Apache License 2.0
29 stars 2 forks source link

poc: Bootstrapping mechanism #26

Closed abstraking closed 2 months ago

abstraking commented 2 months ago

For PoC, we won't go with fancy discoveries; we will use a predefined list of machines with a single bootstrapper. This is required for the MulticastPool, which sends messages to a strict list of nodes.

In order for the PoC to scale to 100 nodes, we may do a little bootstrapping protocol. A single predefined node would be responsible for tracking all the connections it has and sharing the list of those to those who request(every other peer). Assuming a simultaneous start for all the nodes with a 5-second delay, all the nodes will get the exact list from the bootstrapper.