Crate massa_grpc

source ·
Expand description

Overview

This Rust module is a gRPC API for providing services for the Massa blockchain. It implements gRPC services defined in the [massa_proto_rs] crate.

Structure

  • api.rs: implements gRPC service methods without streams.
  • handler.rs: defines the logic for handling incoming gRPC requests.
  • server: initializes the gRPC service and serve It.
  • stream/: contains the gRPC streaming methods implementations files.

Modules

  • gRPC configuration
  • models error
  • gRPC API implementation
  • business code for node management methods
  • business code for non stream methods
  • gRPC service initialization and serve
  • business code for stream methods

Structs