openethereum/miner/src
Rakan Alhneiti 6993ec9531 Use provided usd-per-eth value if an endpoint is specified (#11209)
* Fix `invalid transaction price` error message

* Setup Calibrated GasPriceConfig when usd-per-eth is an endpoint

The change will try to check if the specified value is an endpoint.
If the value of `auto` is specified, the default endpoint URL will be used
otherwise, the user-provided value will be taken as-is for an endpoint.

* Use if-let and check for usd-per-eth arg:

1. auto = use etherscan
2. value = use fixed pricer
3. endpoint = use the provided endpoint as-is

* Fix typo in to_pricce error message

* Correct whitespace indentation

* Use arg_usd_per_eth directly
2019-10-29 12:18:30 +01:00
..
pool Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
external.rs Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
gas_price_calibrator.rs Use provided usd-per-eth value if an endpoint is specified (#11209) 2019-10-29 12:18:30 +01:00
gas_pricer.rs Revive parity_setMinGasPrice RPC call (#10294) 2019-02-11 18:08:12 +01:00
lib.rs Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
local_accounts.rs Deprecate account management (#10213) 2019-02-07 14:34:24 +01:00
service_transaction_checker.rs ServiceTransactionChecker::refresh_cache: allow registrar unavailable (#11126) 2019-10-07 12:04:41 +02:00
work_notify.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00