Trait sui_core::consensus_adapter::SubmitToConsensus
source · pub trait SubmitToConsensus: Sync + Send + 'static {
// Required method
fn submit_to_consensus<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
transaction: &'life1 ConsensusTransaction,
epoch_store: &'life2 Arc<AuthorityPerEpochStore>
) -> Pin<Box<dyn Future<Output = SuiResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}