Anoma.Client.Connection.GRPCProxy (Anoma v0.29.0)
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type t() :: %Anoma.Client.Connection.GRPCProxy{ channel: any() | nil, host: String.t() | nil, node_id: String.t() | nil, port: integer() | nil }
I am the state of a TCP listener.
My fields contain information to listen for TCP connection with a remote node.
Fields
:port
- The port on which the remote node is listening to GRPC.:host
- The host on which the remote node is listening to GRPC.:channel
- The channel to the remote grpc.:node_id
- The id of the remote node.
Functions
Link to this function
add_intent(intent)
@spec add_intent(Anoma.Protobuf.Intents.Intent.t()) ::
{:ok, Anoma.Protobuf.Intents.Add.Response.t()}
Link to this function
add_transaction(jammed_nock)
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
list_intents()
@spec list_intents() :: {:ok, Anoma.Protobuf.Intents.List.Response.t()}
Link to this function
list_nullifiers()
@spec list_nullifiers() :: {:ok, Anoma.Protobuf.Indexer.Nullifiers.Response.t()}
Link to this function
list_unrevealed_commits()
@spec list_unrevealed_commits() ::
{:ok, Anoma.Protobuf.Indexer.UnrevealedCommits.Response.t()}
Link to this function
list_unspent_resources()
@spec list_unspent_resources() ::
{:ok, Anoma.Protobuf.Indexer.UnspentResources.Response.t()}
Link to this function
start_link(args)
@spec start_link(Keyword.t()) :: GenServer.on_start()