Expand description
gRPC service implementation
Thin wrapper around shared handler functions from the handlers module. All business logic is in handlers, this just adapts to the tonic interface.
Structs§
- Consensus
Service Impl - gRPC consensus service implementation wrapping a ConsensusApi implementation
- Data
Service Impl - gRPC data service implementation wrapping a DataApi implementation
- Reward
Service Impl - gRPC reward service implementation wrapping a RewardApi implementation
Functions§
- create_
consensus_ service - Create the consensus gRPC service
- create_
data_ service - Create the data gRPC service
- create_
reward_ service - Create the reward gRPC service
- map_
error 🔒 - Convert ApiError to tonic::Status with proper status code mapping