Crate massa_grpc

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§

config
gRPC configuration
error
models error
handler
gRPC API implementation
private
business code for node management methods
public
business code for non stream methods
server
gRPC service initialization and serve
stream
business code for stream methods

Structs§

EndorsementDraw 🔒
SlotDraw 🔒
SlotRange
Slot range type