openethereum/parity
Nicolas Ochem 542cee9ace fix #6228: do not display eth price in cli for etc (#6877)
* fix #6228: do not display eth price in cli for etc

Current behaviour:

When the client is started with defaults, the miner's gas calibrator
periodically queries the price of ether in usd and uses it to adjust
the wei_per_gas variable, displaying an info message in the cli each
time calibration happens. The info message mentions the price of ETH.

When started with the --min-gas-price option, the calibrator is inactive
and the price is not displayed.

Problem:

When running on an alternate chain such as ethereum classic, the info
message mentioning the ETH price is present, unless the --min-gas-price
option is used.

Solution:

if chain != foundation and --min-gas-price is not set,
don't use GasPricerConfig::Calibrated as default but rather fix
the minimum gas price to zero.

* self.chain() returns ChainType.

* match chain based on SpecType
2017-10-25 11:42:48 +02:00
..
cli fix mining help (#6885) 2017-10-25 11:38:47 +02:00
light_helpers Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
account.rs Use standard paths for Ethash cache (#5881) 2017-07-10 12:57:40 +02:00
blockchain.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
cache.rs Memory usage optimization (#5526) 2017-05-02 11:40:03 +02:00
configuration.rs fix #6228: do not display eth price in cli for etc (#6877) 2017-10-25 11:42:48 +02:00
dapps.rs Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
deprecated.rs Refactor and port CLI from Docopt to Clap (#2066) (#6356) 2017-09-05 12:30:22 +01:00
dir.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
helpers.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
informant.rs Sync progress and error handling fixes (#6560) 2017-09-21 10:12:27 +02:00
ipfs.rs Dapps and RPC server merge (#5365) 2017-04-03 10:27:37 +02:00
main.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
migration.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
modules.rs finished removing ipc 2017-10-16 18:18:43 +02:00
params.rs Fixes import in test 2017-10-17 12:12:46 +07:00
presale.rs Ledger wallet support (#4486) 2017-02-09 19:07:06 -05:00
rpc.rs Allow force sealing and reseal=0 for non-dev chains. (#6878) 2017-10-24 12:25:34 +02:00
rpc_apis.rs Return error on timed unlock attempt. (#6777) 2017-10-24 11:57:55 +02:00
run.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
secretstore.rs SecretStore: administrative sessions prototypes (#6605) 2017-10-02 15:27:31 +02:00
signer.rs fix #6052. honor --no-color for signer command (#6100) 2017-07-28 19:07:38 +02:00
snapshot.rs finished 2017-08-31 11:35:41 +02:00
stratum.rs remove the deprecated options in rustfmt.toml (#5616) 2017-05-19 17:12:20 +02:00
upgrade.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
url.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
user_defaults.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
whisper.rs Compatibility with whisper v6 (#6179) 2017-09-10 18:02:14 +02:00