Crate sn_node[−][src]
Expand description
Implementation of the “Node” node for the SAFE Network.
Modules
| state_db | Docs |
| utils | Utilities |
Macros
| btree_map | Easily create a |
| btree_set | Easily create a |
| 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 |
| Node | Main node struct. |
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 |