mithril_aggregator

Trait SignerRegistrationRoundOpener

source
pub trait SignerRegistrationRoundOpener: Sync + Send {
    // Required methods
    fn open_registration_round<'life0, 'async_trait>(
        &'life0 self,
        registration_epoch: Epoch,
        stake_distribution: StakeDistribution,
    ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn close_registration_round<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait to open a signer registration round

Required Methods§

source

fn open_registration_round<'life0, 'async_trait>( &'life0 self, registration_epoch: Epoch, stake_distribution: StakeDistribution, ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Open a signer registration round

source

fn close_registration_round<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Close a signer registration round

Implementors§