pub trait ProverService: Sync + Send {
    // Required method
    fn compute_transactions_proofs<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        up_to: &'life1 CardanoDbBeacon,
        transaction_hashes: &'life2 [TransactionHash]
    ) -> Pin<Box<dyn Future<Output = StdResult<Vec<CardanoTransactionsSetProof>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

Prover service is the cryptographic engine in charge of producing cryptographic proofs for transactions

Required Methods§

source

fn compute_transactions_proofs<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, up_to: &'life1 CardanoDbBeacon, transaction_hashes: &'life2 [TransactionHash] ) -> Pin<Box<dyn Future<Output = StdResult<Vec<CardanoTransactionsSetProof>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Compute the cryptographic proofs for the given transactions

Implementors§