Networking

The networking mechanism in the Nerif Network is built on a peer-to-peer (p2p) model, leveraging the libp2p library written in GoLang. This mechanism allows Nerif Nodes to connect with each other, ensuring seamless communication within the network.

To bootstrap the network, a minimum of four nodes is required to run the consensus mechanism. While nodes can be started and connected with fewer than four nodes, they will be in silent mode and not serving workflows. Once the fourth node joins, the network automatically activates and starts serving workflows. This sequential addition of nodes ensures the gradual growth and stability of the network.

In the initial stages, the Nerif team will serve an internal network with four nodes to bootstrap the network.

Last updated