Expand description
This module provides network abstractions and the data schemas for remote procedure calls (RPCs) in the Linera protocol.
Re-exports§
pub use client::Client;pub use node_provider::NodeOptions;pub use node_provider::NodeProvider;pub use node_provider::DEFAULT_MAX_BACKOFF;
Modules§
- client
- A network-agnostic client for talking to a validator node.
- config
- Network configuration types for validators, shards, and cross-chain messaging.
- grpc
- The gRPC network transport.
- node_
provider - Construction of validator-node clients from network configuration.
- propagation
- Propagation of OpenTelemetry trace context across RPC boundaries. OpenTelemetry context propagation for gRPC.
- simple
- The simple custom-TCP/UDP network transport.
Structs§
- Handle
Confirmed Certificate Request - A request to handle a confirmed-block certificate.
- Handle
Lite Cert Request - A request to handle a lite certificate.
- Handle
Timeout Certificate Request - A request to handle a timeout certificate.
- Handle
Validated Certificate Request - A request to handle a validated-block certificate.
- Shard
Info - Information about shard configuration for a specific chain.
Enums§
- RpcMessage
- An RPC message exchanged between clients, proxies and validators.
Constants§
- CERT_
PEM - A self-signed TLS certificate (PEM), generated at build time for local testing.
- FILE_
DESCRIPTOR_ SET - The protobuf file descriptor set for the RPC service, used for gRPC reflection.
- KEY_PEM
- The private key (PEM) matching
CERT_PEM, generated at build time for local testing.