[][src]Trait solana_ledger::entry::EntrySlice

pub trait EntrySlice {
    pub fn verify_cpu(&self, start_hash: &Hash) -> EntryVerificationState;
pub fn verify_cpu_generic(
        &self,
        start_hash: &Hash
    ) -> EntryVerificationState;
pub fn verify_cpu_x86_simd(
        &self,
        start_hash: &Hash,
        simd_len: usize
    ) -> EntryVerificationState;
pub fn start_verify(
        &self,
        start_hash: &Hash,
        recyclers: VerifyRecyclers,
        secp256k1_program_enabled: bool
    ) -> EntryVerificationState;
pub fn verify(&self, start_hash: &Hash) -> bool;
pub fn verify_tick_hash_count(
        &self,
        tick_hash_count: &mut u64,
        hashes_per_tick: u64
    ) -> bool;
pub fn tick_count(&self) -> u64;
pub fn verify_transaction_signatures(
        &self,
        secp256k1_program_enabled: bool
    ) -> bool; }

Required methods

pub fn verify_cpu(&self, start_hash: &Hash) -> EntryVerificationState[src]

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

pub fn verify_cpu_generic(&self, start_hash: &Hash) -> EntryVerificationState[src]

pub fn verify_cpu_x86_simd(
    &self,
    start_hash: &Hash,
    simd_len: usize
) -> EntryVerificationState
[src]

pub fn start_verify(
    &self,
    start_hash: &Hash,
    recyclers: VerifyRecyclers,
    secp256k1_program_enabled: bool
) -> EntryVerificationState
[src]

pub fn verify(&self, start_hash: &Hash) -> bool[src]

pub fn verify_tick_hash_count(
    &self,
    tick_hash_count: &mut u64,
    hashes_per_tick: u64
) -> bool
[src]

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.

pub fn tick_count(&self) -> u64[src]

Counts tick entries

pub fn verify_transaction_signatures(
    &self,
    secp256k1_program_enabled: bool
) -> bool
[src]

Loading content...

Implementations on Foreign Types

impl EntrySlice for [Entry][src]

Loading content...

Implementors

Loading content...