pub trait ProverService: Sync + Send {
// Required method
fn compute_cache<'life0, 'async_trait>(
&'life0 self,
up_to: BlockNumber,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Prover service is the cryptographic engine in charge of producing cryptographic proofs for transactions and blocks
Required Methods§
Sourcefn compute_cache<'life0, 'async_trait>(
&'life0 self,
up_to: BlockNumber,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn compute_cache<'life0, 'async_trait>(
&'life0 self,
up_to: BlockNumber,
) -> Pin<Box<dyn Future<Output = StdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Compute the cache