pub trait Proposer: Send + Sync + 'static {
    fn rounds<'life0, 'async_trait>(
        &'life0 self,
        request: Request<RoundsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<RoundsResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn node_read_causal<'life0, 'async_trait>(
        &'life0 self,
        request: Request<NodeReadCausalRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<NodeReadCausalResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with ProposerServer.

Required Methods

Returns the read_causal obtained by starting the DAG walk at the collection proposed by the input authority (as indicated by their public key) at the input round

Implementors