pub struct ContextualBlockVerifier<'a, CS, MS> { /* private fields */ }Expand description
Context-dependent verification checks for block
Contains:
Implementations§
source§impl<'a, CS: ChainStore<'a> + VersionbitsIndexer, MS: MMRStore<HeaderDigest>> ContextualBlockVerifier<'a, CS, MS>
impl<'a, CS: ChainStore<'a> + VersionbitsIndexer, MS: MMRStore<HeaderDigest>> ContextualBlockVerifier<'a, CS, MS>
sourcepub fn new(
context: &'a VerifyContext<'a, CS>,
handle: &'a Handle,
switch: Switch,
txs_verify_cache: Arc<RwLock<TxVerificationCache>>,
chain_root_mmr: &'a ChainRootMMR<MS>
) -> Self
pub fn new(
context: &'a VerifyContext<'a, CS>,
handle: &'a Handle,
switch: Switch,
txs_verify_cache: Arc<RwLock<TxVerificationCache>>,
chain_root_mmr: &'a ChainRootMMR<MS>
) -> Self
Create new ContextualBlockVerifier