mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user