From 2e6f7f72b342eb0acdc4c4ebdc44f49316fe705a Mon Sep 17 00:00:00 2001 From: Quentin Le Sceller Date: Thu, 6 Sep 2018 10:34:08 +0000 Subject: [PATCH] Remove unused wallet listener and owner from config (#1483) --- config/src/comments.rs | 18 ------------------ servers/src/common/types.rs | 8 -------- 2 files changed, 26 deletions(-) diff --git a/config/src/comments.rs b/config/src/comments.rs index 000643621..d8f949d83 100644 --- a/config/src/comments.rs +++ b/config/src/comments.rs @@ -106,24 +106,6 @@ fn comments() -> HashMap { .to_string(), ); - retval.insert( - "run_wallet_listener".to_string(), - " -#Whether to run the wallet listener with the server by default -" - .to_string(), - ); - - retval.insert( - "run_wallet_owner_api".to_string(), - " -# Whether to run the web-wallet API (will only run on localhost) -# grin wallet web will run this automatically, so this should -# only be set to true for test/development purposes -" - .to_string(), - ); - retval.insert( "run_test_miner".to_string(), " diff --git a/servers/src/common/types.rs b/servers/src/common/types.rs index 26729f458..982f608c9 100644 --- a/servers/src/common/types.rs +++ b/servers/src/common/types.rs @@ -132,12 +132,6 @@ pub struct ServerConfig { /// if enabled, this will disable logging to stdout pub run_tui: Option, - /// Whether to run the wallet listener with the server by default - pub run_wallet_listener: Option, - - /// Whether to run the web wallet owner listener - pub run_wallet_owner_api: Option, - /// Whether to use the DB wallet backend implementation pub use_db_wallet: Option, @@ -177,8 +171,6 @@ impl Default for ServerConfig { pool_config: pool::PoolConfig::default(), skip_sync_wait: Some(false), run_tui: Some(true), - run_wallet_listener: Some(false), - run_wallet_owner_api: Some(false), use_db_wallet: None, run_test_miner: Some(false), test_miner_wallet_url: None,