Function solana_ledger::bank_forks_utils::load [−][src]
pub fn load(
genesis_config: &GenesisConfig,
blockstore: &Blockstore,
account_paths: Vec<PathBuf>,
shrink_paths: Option<Vec<PathBuf>>,
snapshot_config: Option<&SnapshotConfig>,
process_options: ProcessOptions,
transaction_status_sender: Option<&TransactionStatusSender>,
cache_block_meta_sender: Option<&CacheBlockMetaSender>,
accounts_update_notifier: Option<AccountsUpdateNotifier>
) -> LoadResult
Expand description
Load the banks and accounts
If a snapshot config is given, and a snapshot is found, it will be loaded. Otherwise, load from genesis.