add caching_enabled option to test-validator
This commit is contained in:
committed by
Michael Vines
parent
ed924e3bc4
commit
5fb7da12f2
@ -104,6 +104,7 @@ pub struct TestValidatorGenesis {
|
||||
pub max_ledger_shreds: Option<u64>,
|
||||
pub max_genesis_archive_unpacked_size: Option<u64>,
|
||||
pub accountsdb_plugin_config_files: Option<Vec<PathBuf>>,
|
||||
pub accounts_db_caching_enabled: bool,
|
||||
}
|
||||
|
||||
impl TestValidatorGenesis {
|
||||
@ -556,6 +557,7 @@ impl TestValidator {
|
||||
|
||||
let mut validator_config = ValidatorConfig {
|
||||
accountsdb_plugin_config_files: config.accountsdb_plugin_config_files.clone(),
|
||||
accounts_db_caching_enabled: config.accounts_db_caching_enabled,
|
||||
rpc_addrs: Some((
|
||||
SocketAddr::new(IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)), node.info.rpc.port()),
|
||||
SocketAddr::new(
|
||||
|
Reference in New Issue
Block a user