openethereum/miner
Toby Dimmick 79a17dedd0 Deduplicate registrar contract & calling logic (#11110)
* Rename RegistryInfo -> RegistryInfoDeprecated

* Add BlockId parameter to Registrar::get_address and RegistrarClient::call_contract

* Remove RegistrarClient::Call (use async for now); add RegistrarClient::get_address

* Remove Registrar type in favour of naked trait

* Use CallContract trait bound instead of separate call_contract method

* Make RegistrarClient::get_address and URLHint::resolve synchronous

* RegistrarClient::get_address: return check if address is zero

* Modify RegistryInfo::registry_address to take &str

* return Result from RegistryInfo::registry_address

* Replace RegistryInfo with RegistrarClient

- Modifed RegistrarClient::registrar_address to return Option
- Removed BlockChainClient::registrar_address

* Fix other build configs

* Fix unit test builds

* Remove local RegistrarClient type from run::execute_impl

* Remove registrar.json from ethcore

* Formatting/line breaks

* Update RegistrarClient docs, remove explicit lifetime

* Weak ref to ethcore client from hash fetch client

* Fix unit tests
2019-10-03 15:15:25 +02:00
..
local-store Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
price-info updated price-info to edition 2018 (#10801) 2019-06-27 17:29:24 +08:00
res/contracts Extract CallContract and RegistryInfo traits into their own crate (#10178) 2019-01-16 19:52:21 +01:00
src Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
stratum Update to latest jsonrpc (#11111) 2019-10-02 10:25:51 +02:00
using-queue Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
Cargo.toml Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00