(LedgerStore) Rename BlockstoreAdvancedOptions to LedgerColumnOptions (#23764)

This PR renames BlockstoreAdvancedOptions to LedgerColumnOptions, as we will
pass-down this struct to LedgerColumn to allow it to perform metric reporting.
This commit is contained in:
Yueh-Hsuan Chiang
2022-03-18 11:13:35 -07:00
committed by GitHub
parent 56428be629
commit f999eef452
9 changed files with 64 additions and 65 deletions

View File

@ -13,8 +13,7 @@ use {
socketaddr,
},
solana_ledger::{
blockstore::create_new_ledger, blockstore_db::BlockstoreAdvancedOptions,
create_new_tmp_ledger,
blockstore::create_new_ledger, blockstore_db::LedgerColumnOptions, create_new_tmp_ledger,
},
solana_net_utils::PortRange,
solana_rpc::{rpc::JsonRpcConfig, rpc_pubsub_service::PubSubConfig},
@ -582,7 +581,7 @@ impl TestValidator {
config
.max_genesis_archive_unpacked_size
.unwrap_or(MAX_GENESIS_ARCHIVE_UNPACKED_SIZE),
BlockstoreAdvancedOptions::default(),
LedgerColumnOptions::default(),
)
.map_err(|err| {
format!(