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ยง
Sourcefn 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.
fn verify_cpu( &self, start_hash: &Hash, thread_pool: &ThreadPool, ) -> EntryVerificationState
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.
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.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.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.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.Sourcefn 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.
fn verify_tick_hash_count( &self, tick_hash_count: &mut u64, hashes_per_tick: u64, ) -> bool
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.
Sourcefn 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.
fn tick_count(&self) -> u64
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]
impl EntrySlice for [Entry]
Sourceยงfn verify(&self, start_hash: &Hash, thread_pool: &ThreadPool) -> bool
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
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
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
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
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
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
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.