Add accounts-filler-size command line option (#23896)
This commit is contained in:
@@ -125,13 +125,12 @@ pub fn load_bank_forks(
|
||||
accounts_update_notifier,
|
||||
)
|
||||
} else {
|
||||
if process_options
|
||||
let maybe_filler_accounts = process_options
|
||||
.accounts_db_config
|
||||
.as_ref()
|
||||
.and_then(|config| config.filler_account_count)
|
||||
.unwrap_or_default()
|
||||
> 0
|
||||
{
|
||||
.map(|config| config.filler_accounts_config.count > 0);
|
||||
|
||||
if let Some(true) = maybe_filler_accounts {
|
||||
panic!("filler accounts specified, but not loading from snapshot");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user