Crate sn_node[][src]

Implementation of the "Node" node for the SAFE Network.

Modules

utils

Utilities

Macros

with_chaos

Run code when a chaotic. Defaults to 20% of the time. Overall frequence can be set via "SAFE_CHAOS_LEVEL" env var.

Structs

AdultState
Config

Node configuration

ElderState
Network
Node

Main node struct.

NodeInfo

Info about the node used to init its various dbs (among things).

Enums

Error

Node error variants.

NodeState

Functions

write_connection_info

Writes connection info to file for use by clients.

Type Definitions

Result

Specialisation of std::Result for Node.