pub trait Validator: Send + Sync + 'static {
    fn get_collections<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetCollectionsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetCollectionsResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn remove_collections<'life0, 'async_trait>(
        &'life0 self,
        request: Request<RemoveCollectionsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn read_causal<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ReadCausalRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ReadCausalResponse>, 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 ValidatorServer.

Required Methods

Returns collection contents for each requested collection.

Expunges collections from the mempool.

Returns collections along a DAG walk with a well-defined starting point.

Implementors