Module node

Source
Expand description

Interact with a node running on greenlight.

The node must be scheduled using crate::scheduler::Scheduler:

Structs§

GenericClient
A GRPC client that can call and return pre-encoded messages. Used by the language bindings to keep the interface between languages small: the client language is used to encode the protobuf payloads, and on the Rust side we just expose the call method.
Node
A builder to configure a Client that can either connect to a node directly, assuming you have the grpc_uri that the node is listening on, or it can talk to the crate::scheduler::Scheduler to schedule the node and configure the Client accordingly.

Traits§

GrpcClient

Type Aliases§

Client
A client to the remotely running node on the greenlight infrastructure. It is configured to authenticate itself with the device mTLS keypair and will sign outgoing requests with the same mTLS keypair.
ClnClient
GClient