Crate sn_node

Source
Expand description

Implementation of the Node in SAFE Network.

Structs§

NodeBuilder
Helper to build and run a Node
NodeEventsChannel
Channel where users of the public API can listen to events broadcasted by the node.
RunningNode
Once a node is started and running, the user obtains a NodeRunning object which can be used to interact with it.

Enums§

Marker
Public Markers for generating log output, These generate appropriate log level output and consistent strings. Changing these log markers is a breaking change.
NodeEvent
Type of events broadcasted by the node to the public API.

Constants§

PERIODIC_REPLICATION_INTERVAL_MAX_S
Interval to trigger replication of all records to all peers. This is the max time it should take. Minimum interval at any node will be half this

Type Aliases§

NodeEventsReceiver
Type of channel receiver where events are broadcasted to by the node.