Anoma.Node.Examples.EAdvertise (Anoma v0.34.0)

Summary

Functions

I create two nodes, and I advertise the first node to the second node. I do this by sending a GRPC request that advertises the first node to the second node.

I test advertisement using a distributed node.

I stop the slave from running.

Functions

seed_nodes_distributed(opts \\ [stop_slave: true])

@spec seed_nodes_distributed(Keyword.t()) ::
  {map(), map(), Anoma.Node.Examples.EAdvertise.Peer.t()}

I test advertisement using a distributed node.

I work but i break other tests, so I'm disabled in apps/anoma_node/test/advertise_test.exs

stop_slave(peer)

@spec stop_slave(Anoma.Node.Examples.EAdvertise.Peer.t()) :: :ok

I stop the slave from running.

Stopping the slave means disabling distribution, stopping the net kernel, and restarting mnesia.