[][src]Struct grin_core::core::verifier_cache::LruVerifierCache

pub struct LruVerifierCache { /* fields omitted */ }

An implementation of verifier_cache using lru_cache. Caches tx kernels by kernel hash. Caches outputs by output rangeproof hash (rangeproofs are committed to separately).

Methods

impl LruVerifierCache[src]

pub fn new() -> LruVerifierCache[src]

TODO how big should these caches be? They need to be at least large enough to cover a maxed out block.

Trait Implementations

impl VerifierCache for LruVerifierCache[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self