mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
Comment out unused for now
This commit is contained in:
parent
f001006fc9
commit
68bb49dd61
1 changed files with 5 additions and 3 deletions
|
@ -152,8 +152,10 @@ impl From<hyper::error::UriError> for Error {
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct WalletConfig {
|
pub struct WalletConfig {
|
||||||
// Whether to run a wallet
|
// Right now the decision to run or not a wallet is based on the command.
|
||||||
pub enable_wallet: bool,
|
// This may change in the near-future.
|
||||||
|
// pub enable_wallet: bool,
|
||||||
|
|
||||||
// The api interface/ip_address that this api server (i.e. this wallet) will run
|
// The api interface/ip_address that this api server (i.e. this wallet) will run
|
||||||
// by default this is 127.0.0.1 (and will not accept connections from external clients)
|
// by default this is 127.0.0.1 (and will not accept connections from external clients)
|
||||||
pub api_listen_interface: String,
|
pub api_listen_interface: String,
|
||||||
|
@ -169,7 +171,7 @@ pub struct WalletConfig {
|
||||||
impl Default for WalletConfig {
|
impl Default for WalletConfig {
|
||||||
fn default() -> WalletConfig {
|
fn default() -> WalletConfig {
|
||||||
WalletConfig {
|
WalletConfig {
|
||||||
enable_wallet: false,
|
// enable_wallet: false,
|
||||||
api_listen_interface: "127.0.0.1".to_string(),
|
api_listen_interface: "127.0.0.1".to_string(),
|
||||||
api_listen_port: "13415".to_string(),
|
api_listen_port: "13415".to_string(),
|
||||||
check_node_api_http_addr: "http://127.0.0.1:13413".to_string(),
|
check_node_api_http_addr: "http://127.0.0.1:13413".to_string(),
|
||||||
|
|
Loading…
Reference in a new issue