Companion for new Trie cache (#5897)

* Switch to Substrate branch

* Make everything compile

* Revert "Switch to Substrate branch"

This reverts commit cbbab7431a07cfd645428a9f4c130362a8e7588b.

* Remove stuff

* More fixes

* Fix branch

* Update Substrate

* FMT
This commit is contained in:
Bastian Köcher
2022-08-18 23:35:56 +02:00
committed by GitHub
parent 2e72ae46ec
commit c3404d109d
7 changed files with 243 additions and 236 deletions
+1 -2
View File
@@ -176,8 +176,7 @@ pub fn node_config(
keystore: KeystoreConfig::InMemory,
keystore_remote: Default::default(),
database: DatabaseSource::RocksDb { path: root.join("db"), cache_size: 128 },
state_cache_size: 16777216,
state_cache_child_ratio: None,
trie_cache_maximum_size: Some(64 * 1024 * 1024),
state_pruning: Default::default(),
blocks_pruning: BlocksPruning::All,
chain_spec: Box::new(spec),