Struct solana_runtime::accounts_hash::AccountsHash [−][src]
pub struct AccountsHash {
pub filler_account_suffix: Option<Pubkey>,
}
Fields
filler_account_suffix: Option<Pubkey>
Implementations
true if it is possible that there are filler accounts present
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, T>(
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 [T] + Sync,
T: Borrow<Hash> + Sync + 'a,
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(
&self,
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
Returns the “default value” for a type. Read more
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