mirror of
https://github.com/hinto-janai/gupax.git
synced 2025-03-21 06:38:45 +00:00
helper: p2pool - fix [Advanced] argument builder
This commit is contained in:
parent
9b1a815089
commit
b4a6dbec19
1 changed files with 13 additions and 13 deletions
|
@ -266,17 +266,17 @@ impl Helper {
|
||||||
}
|
}
|
||||||
// Else, build the argument
|
// Else, build the argument
|
||||||
} else {
|
} else {
|
||||||
args.push(state.address.clone()); // Wallet
|
args.push("--wallet".to_string()); args.push(state.address.clone()); // Wallet
|
||||||
args.push(state.selected_ip.clone()); // IP
|
args.push("--host".to_string()); args.push(state.selected_ip.to_string()); // IP
|
||||||
args.push(state.selected_rpc.clone()); // RPC
|
args.push("--rpc-port".to_string()); args.push(state.selected_rpc.to_string()); // RPC
|
||||||
args.push(state.selected_zmq.clone()); // ZMQ
|
args.push("--zmq-port".to_string()); args.push(state.selected_zmq.to_string()); // ZMQ
|
||||||
|
args.push("--loglevel".to_string()); args.push(state.log_level.to_string()); // Log Level
|
||||||
|
args.push("--out-peers".to_string()); args.push(state.out_peers.to_string()); // Out Peers
|
||||||
|
args.push("--in-peers".to_string()); args.push(state.in_peers.to_string()); // In Peers
|
||||||
|
args.push("--data-api".to_string()); args.push(api_path.display().to_string()); // API Path
|
||||||
args.push("--local-api".to_string()); // Enable API
|
args.push("--local-api".to_string()); // Enable API
|
||||||
args.push("--no-color".to_string()); // Remove color escape sequences
|
args.push("--no-color".to_string()); // Remove color escape sequences
|
||||||
if state.mini { args.push("--mini".to_string()); }; // Mini
|
if state.mini { args.push("--mini".to_string()); }; // Mini
|
||||||
args.push(format!("--loglevel {}", state.log_level)); // Log Level
|
|
||||||
args.push(format!("--out-peers {}", state.out_peers)); // Out Peers
|
|
||||||
args.push(format!("--in-peers {}", state.in_peers)); // In Peers
|
|
||||||
args.push(format!("--data-api {}", api_path.display())); // API Path
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue