openethereum/miner
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
..
local-store Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00
price-info Use provided usd-per-eth value if an endpoint is specified (#11209) 2019-10-29 12:18:30 +01:00
res/contracts Extract CallContract and RegistryInfo traits into their own crate (#10178) 2019-01-16 19:52:21 +01:00
src Use provided usd-per-eth value if an endpoint is specified (#11209) 2019-10-29 12:18:30 +01:00
stratum Upgrade jsonrpc to latest (#11206) 2019-10-26 11:26:04 +02:00
using-queue Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
Cargo.toml Crypto primitives removed from ethkey (#11174) 2019-10-23 13:03:46 +02:00