Anoma.Supervisor (Anoma v0.29.0)

I am the top level supervisor for the Anoma node application.

I manage the shared processes and multiple nodes.

Shared Processes

  • Registry
  • NodeSupervisor

Summary

Functions

Returns a specification to start this module under a supervisor.

I start a new node with the given node_id.

Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(args)

@spec start_link(any()) :: Supervisor.on_start()
Link to this function

start_node(args)

@spec start_node(node_id: String.t(), grpc_port: non_neg_integer(), tx_args: any()) ::
  DynamicSupervisor.on_start_child()

I start a new node with the given node_id.