Can now disable the keystore (#3004)

* Can now disable the keystore

* Fix service test

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Fix cli
This commit is contained in:
Pierre KriegerandBastian Köcher authored and Bastian Köcher committed 2019-07-04 10:33:43 +02:00
1 parent 4fe9e8732f
commit eca9c36b75
5 files changed
+51 -42

No files matched your search

+2 -2
View File
@@ -171,8 +171,8 @@ fn node_config<F: ServiceFactory> (
roles: role,
transaction_pool: Default::default(),
network: network_config,
keystore_path: root.join("key").to_str().unwrap().into(),
database_path: root.join("db").to_str().unwrap().into(),
keystore_path: Some(root.join("key")),
database_path: root.join("db"),
database_cache_size: None,
state_cache_size: 16777216,
state_cache_child_ratio: None,