Function massa_grpc::stream::send_endorsements::send_endorsements
source ยท pub(crate) async fn send_endorsements(
grpc: &MassaPublicGrpc,
request: Request<Streaming<SendEndorsementsRequest>>,
) -> Result<SendEndorsementsStreamType, GrpcError>
Expand description
This function takes a streaming request of endorsements messages, verifies, saves and propagates the endorsements received in each message, and sends back a stream of endorsements ids messages