Anoma.Client.Connection.GRPCProxy (Anoma v0.25.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, 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.
Functions
Link to this function
add_intent(intent)
@spec add_intent(Anoma.Protobuf.Intent.t()) ::
{:ok, Anoma.Protobuf.IntentPool.AddIntent.Response.t()}
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.IntentPool.ListIntents.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