Adding CLI options: port shift and unsafe expose. (#5677)

* Adding CLI option for port shift and unsafe expose.

* Fixing IPC path.

* Fix hosts when attempting to expose on all interfaces.

* Fixing test.

* Fix typo.
This commit is contained in:
Tomasz Drwięga
2017-05-23 12:24:32 +02:00
committed by Arkadiy Paronyan
parent 532801f9d6
commit f47cbe0be6
8 changed files with 159 additions and 58 deletions

View File

@@ -39,7 +39,7 @@ impl Default for NetworkSettings {
chain: "foundation".into(),
network_port: 30303,
rpc_enabled: true,
rpc_interface: "local".into(),
rpc_interface: "127.0.0.1".into(),
rpc_port: 8545
}
}