companion pr for substrate:auto_db (#3590)

* companion pr for substrate:auto_db

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Marek Kotewicz
2021-08-09 15:59:48 +02:00
committed by GitHub
parent 2574398d00
commit 276dc1981e
4 changed files with 240 additions and 192 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ use sc_network::{
multiaddr,
};
use service::{
config::{DatabaseConfig, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
config::{DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskExecutor, TaskManager,
TransactionStorageMode,
};
@@ -146,7 +146,7 @@ pub fn node_config(
network: network_config,
keystore: KeystoreConfig::InMemory,
keystore_remote: Default::default(),
database: DatabaseConfig::RocksDb { path: root.join("db"), cache_size: 128 },
database: DatabaseSource::RocksDb { path: root.join("db"), cache_size: 128 },
state_cache_size: 16777216,
state_cache_child_ratio: None,
state_pruning: Default::default(),