[stable] Disable HF and UI (#3372)

* Disable the HF

* Disabled the UI

* v1.3.11
This commit is contained in:
Arkadiy Paronyan
2016-11-11 16:54:25 +01:00
committed by Gav Wood
parent 7972c27b61
commit 080ec8043f
7 changed files with 27 additions and 23 deletions

View File

@@ -126,7 +126,6 @@ API and Console Options:
--ipc-apis APIS Specify custom API set available via JSON-RPC over
IPC [default: web3,eth,net,ethcore,personal,traces,rpc].
--no-dapps Disable the Dapps server (e.g. status page).
--dapps-port PORT Specify the port portion of the Dapps server
[default: 8080].
--dapps-interface IP Specify the hostname portion of the Dapps
@@ -289,6 +288,7 @@ Legacy Options:
--etherbase ADDRESS Equivalent to --author ADDRESS.
--extradata STRING Equivalent to --extra-data STRING.
--cache MB Equivalent to --cache-size MB.
--no-dapps Disable the Dapps server (e.g. status page).
Miscellaneous Options:
-l --logging LOGGING Specify the logging level. Must conform to the same

View File

@@ -80,13 +80,17 @@ pub struct RunCmd {
pub custom_bootnodes: bool,
}
pub fn execute(cmd: RunCmd) -> Result<(), String> {
pub fn execute(mut cmd: RunCmd) -> Result<(), String> {
// increase max number of open files
raise_fd_limit();
// set up logger
let logger = try!(setup_log(&cmd.logger_config));
if cmd.dapps_conf.enabled {
warn!("Warning: Parity UI is disabled in this release. Please upgrade to version 1.4.2 or higher.");
cmd.dapps_conf.enabled = false;
}
// set up panic handler
let panic_handler = PanicHandler::new_in_arc();