Trait ToVerifiableCache

Source
pub trait ToVerifiableCache {
    // Required methods
    fn find(
        &self,
        account_id: &AccountId,
        vk_hash: &Fp,
    ) -> Option<&VerificationKeyWire>;
    fn add(&mut self, account_id: AccountId, vk: VerificationKeyWire);
}

Required Methods§

Source

fn find( &self, account_id: &AccountId, vk_hash: &Fp, ) -> Option<&VerificationKeyWire>

Source

fn add(&mut self, account_id: AccountId, vk: VerificationKeyWire)

Implementors§

Source§

impl ToVerifiableCache for mina_tree::scan_state::transaction_logic::zkapp_command::from_applied_sequence::Cache

Source§

impl ToVerifiableCache for mina_tree::scan_state::transaction_logic::zkapp_command::from_unapplied_sequence::Cache