EntrySlice

Trait EntrySlice 

Source
pub trait EntrySlice {
    // Required methods
    fn verify_cpu(
        &self,
        start_hash: &Hash,
        thread_pool: &ThreadPool,
    ) -> EntryVerificationState;
    fn verify_cpu_generic(
        &self,
        start_hash: &Hash,
        thread_pool: &ThreadPool,
    ) -> EntryVerificationState;
    fn verify_cpu_x86_simd(
        &self,
        start_hash: &Hash,
        simd_len: usize,
        thread_pool: &ThreadPool,
    ) -> EntryVerificationState;
    fn start_verify(
        &self,
        start_hash: &Hash,
        thread_pool: &ThreadPool,
        recyclers: VerifyRecyclers,
    ) -> EntryVerificationState;
    fn verify(&self, start_hash: &Hash, thread_pool: &ThreadPool) -> bool;
    fn verify_tick_hash_count(
        &self,
        tick_hash_count: &mut u64,
        hashes_per_tick: u64,
    ) -> bool;
    fn tick_count(&self) -> u64;
}
๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Required Methodsยง

Source

fn verify_cpu( &self, start_hash: &Hash, thread_pool: &ThreadPool, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Verifies the hashes and counts of a slice of transactions are all consistent.

Source

fn verify_cpu_generic( &self, start_hash: &Hash, thread_pool: &ThreadPool, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source

fn verify_cpu_x86_simd( &self, start_hash: &Hash, simd_len: usize, thread_pool: &ThreadPool, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source

fn start_verify( &self, start_hash: &Hash, thread_pool: &ThreadPool, recyclers: VerifyRecyclers, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source

fn verify(&self, start_hash: &Hash, thread_pool: &ThreadPool) -> bool

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Source

fn verify_tick_hash_count( &self, tick_hash_count: &mut u64, hashes_per_tick: u64, ) -> bool

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Checks that each entry tick has the correct number of hashes. Entry slices do not necessarily end in a tick, so tick_hash_count is used to carry over the hash count for the next entry slice.

Source

fn tick_count(&self) -> u64

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Counts tick entries

Implementations on Foreign Typesยง

Sourceยง

impl EntrySlice for [Entry]

Sourceยง

fn verify(&self, start_hash: &Hash, thread_pool: &ThreadPool) -> bool

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Sourceยง

fn verify_cpu_generic( &self, start_hash: &Hash, thread_pool: &ThreadPool, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Sourceยง

fn verify_cpu_x86_simd( &self, start_hash: &Hash, simd_len: usize, thread_pool: &ThreadPool, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Sourceยง

fn verify_cpu( &self, start_hash: &Hash, thread_pool: &ThreadPool, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Sourceยง

fn start_verify( &self, start_hash: &Hash, thread_pool: &ThreadPool, recyclers: VerifyRecyclers, ) -> EntryVerificationState

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Sourceยง

fn verify_tick_hash_count( &self, tick_hash_count: &mut u64, hashes_per_tick: u64, ) -> bool

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Sourceยง

fn tick_count(&self) -> u64

๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Implementorsยง