Struct solana_runtime::accounts_hash::AccountsHash
source · [−]pub struct AccountsHash {
pub dummy: i32,
}
Fields
dummy: i32
Implementations
pub fn compute_merkle_root_loop<T, F>(
hashes: Vec<T>,
fanout: usize,
extractor: F
) -> Hash where
F: Fn(&T) -> Hash + Sync,
T: Sync,
pub fn compute_merkle_root_from_slices<'a, F>(
total_hashes: usize,
fanout: usize,
max_levels_per_pass: Option<usize>,
get_hash_slice_starting_at_index: F,
specific_level_count: Option<usize>
) -> (Hash, Vec<Hash>) where
F: Fn(usize) -> &'a [Hash] + Sync,
pub fn compute_merkle_root_from_slices_recurse(
hashes: Vec<Hash>,
fanout: usize,
max_levels_per_pass: Option<usize>,
specific_level_count: Option<usize>
) -> (Hash, Vec<Hash>)
pub fn compare_two_hash_entries(
a: &CalculateHashIntermediate,
b: &CalculateHashIntermediate
) -> Ordering
pub fn rest_of_hash_calculation(
data_sections_by_pubkey: Vec<Vec<Vec<CalculateHashIntermediate>>>,
stats: &mut HashStats,
is_last_pass: bool,
previous_state: PreviousPass,
max_bin: usize
) -> (Hash, u64, PreviousPass)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AccountsHash
impl Send for AccountsHash
impl Sync for AccountsHash
impl Unpin for AccountsHash
impl UnwindSafe for AccountsHash
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more