Function massa_grpc::stream::send_blocks::send_blocks

source ยท
pub(crate) async fn send_blocks(
    grpc: &MassaPublicGrpc,
    request: Request<Streaming<SendBlocksRequest>>,
) -> Result<SendBlocksStreamType, GrpcError>
Expand description

This function takes a streaming request of block messages, verifies, saves and propagates the block received in each message, and sends back a stream of block id messages