pub struct AbsRequestHandler {
pub snapshot_request_handler: Option<SnapshotRequestHandler>,
pub pruned_banks_receiver: DroppedSlotsReceiver,
}
Fields§
§snapshot_request_handler: Option<SnapshotRequestHandler>
§pruned_banks_receiver: DroppedSlotsReceiver
Implementations§
source§impl AbsRequestHandler
impl AbsRequestHandler
pub fn handle_snapshot_requests(
&self,
accounts_db_caching_enabled: bool,
test_hash_calculation: bool,
use_index_hash_calculation: bool,
non_snapshot_time_us: u128,
last_full_snapshot_slot: &mut Option<Slot>
) -> Option<Result<u64, SnapshotError>>
sourcepub fn handle_pruned_banks(&self, bank: &Bank, is_from_abs: bool) -> usize
pub fn handle_pruned_banks(&self, bank: &Bank, is_from_abs: bool) -> usize
is_from_abs
is true if the caller is the AccountsBackgroundService