Struct solana_runtime::accounts_hash::AccountsHash [−][src]
pub struct AccountsHash {
pub dummy: i32,
}Fields
dummy: i32Implementations
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_hashes: F
) -> Hash where
F: Fn(usize) -> &'a [Hash] + Sync, pub fn compare_two_hash_entries(
a: &CalculateHashIntermediate,
b: &CalculateHashIntermediate
) -> Orderingpub fn rest_of_hash_calculation(
data_sections_by_pubkey: Vec<Vec<Vec<CalculateHashIntermediate>>>,
stats: &mut HashStats
) -> (Hash, u64)Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AccountsHashimpl Send for AccountsHashimpl Sync for AccountsHashimpl Unpin for AccountsHashimpl UnwindSafe for AccountsHashBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V