Crate sn_node

source ·
Expand description

Implementation of the Node in SAFE Network.

Structs

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

Enums

  • Public Markers for generating log output, These generate appropriate log level output and consistent strings. Changing these log markers is a breaking change.
  • Commands that can be sent by the user to the Node instance, e.g. to mutate some settings.
  • Type of events broadcasted by the node to the public API.

Constants

  • Expected topic name where notifications of transfers are sent on. The notification msg is expected to contain the serialised public key, followed by the serialised transfer info encrypted against the referenced public key.

Type Aliases