Skip to main content

FetchedTxVerificationCache

Type Alias FetchedTxVerificationCache 

Source
pub type FetchedTxVerificationCache = HashMap<VerifyCacheKey, CachedScriptCycles>;
Expand description

Verification cache entries fetched for a batch of transactions.

Aliased Type§

pub struct FetchedTxVerificationCache { /* private fields */ }

Trait Implementations§

Source§

impl TxVerificationCacheLookup for FetchedTxVerificationCache

Source§

fn get_by_wtx_hash(&self, key: &VerifyCacheKey) -> Option<&CachedScriptCycles>

Returns the cached verification result for key.