pub trait Configuration: Send + Sync + 'static {
    fn new_epoch<'life0, 'async_trait>(
        &'life0 self,
        request: Request<NewEpochRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn new_network_info<'life0, 'async_trait>(
        &'life0 self,
        request: Request<NewNetworkInfoRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn get_primary_address<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Empty>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetPrimaryAddressResponse>, 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 ConfigurationServer.

Required Methods

Signals a new epoch

Signals a change in networking info

Retrieve multiaddr of narwhal primary

Implementors