More serde snapshot cleanup (#22449)

This commit is contained in:
Brooks Prumo
2022-01-13 09:20:20 -06:00
committed by GitHub
parent 9c3144e286
commit 2756abce39
5 changed files with 125 additions and 117 deletions

View File

@@ -1,15 +1,14 @@
use {
crate::{
accounts_db::{AccountShrinkThreshold, AccountsDbConfig},
accounts_db::{
AccountShrinkThreshold, AccountsDbConfig, SnapshotStorage, SnapshotStorages,
},
accounts_index::AccountSecondaryIndexes,
accounts_update_notifier_interface::AccountsUpdateNotifier,
bank::{Bank, BankSlotDelta},
builtins::Builtins,
hardened_unpack::{unpack_snapshot, ParallelSelector, UnpackError, UnpackedAppendVecMap},
serde_snapshot::{
bank_from_streams, bank_to_stream, SerdeStyle, SnapshotStorage, SnapshotStorages,
SnapshotStreams,
},
serde_snapshot::{bank_from_streams, bank_to_stream, SerdeStyle, SnapshotStreams},
shared_buffer_reader::{SharedBuffer, SharedBufferReader},
snapshot_archive_info::{
FullSnapshotArchiveInfo, IncrementalSnapshotArchiveInfo, SnapshotArchiveInfoGetter,