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. |
Enums
Error | Node error variants. |
NodeState |
Functions
write_connection_info | Writes connection info to file for use by clients. |
Type Definitions
Result | Specialisation of |