Implementation of the “Node” node for the SAFE Network.
Run code when a chaotic. Defaults to 20% of the time. Overall frequence can be set via “SAFE_CHAOS_LEVEL” env var.
Main node struct.
Node error variants.
Writes connection info to file for use by clients (and joining nodes when local network).
Overwrites connection info at file.