Skip to main content

TxVerificationCache

Type Alias TxVerificationCache 

Source
pub type TxVerificationCache = LruCache<VerifyCacheKey, CachedScriptCycles>;
Expand description

TX verification lru cache

Aliased Type§

pub struct TxVerificationCache { /* private fields */ }

Trait Implementations§

Source§

impl TxVerificationCacheLookup for TxVerificationCache

Source§

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

Returns the cached verification result for key.