Crate sn_node[−][src]
Implementation of the “Node” node for the SAFE Network.
Modules
| state_db | Docs |
| 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
| Config | Node configuration |
| Network | |
| Node | Main node struct. |
| NodeInfo | Static info about the node. |
Enums
| Error | Node error variants. |
Functions
| add_connection_info | Writes connection info to file for use by clients (and joining nodes when local network). |
| set_connection_info | Overwrites connection info at file. |
Type Definitions
| Result | Specialisation of |