openethereum/parity
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
..
cli cli: update usage and version headers (#10924) 2019-09-05 16:07:26 +02:00
db fix compile warnings (#10993) 2019-08-27 17:29:33 +02:00
light_helpers fix compile warnings (#10993) 2019-08-27 17:29:33 +02:00
logger Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
account_utils.rs fix compile warnings (#10993) 2019-08-27 17:29:33 +02:00
account.rs Upgrade to parity-crypto 0.4 (#10650) 2019-05-28 07:50:10 +02:00
blockchain.rs Refactor return type of BlockChainClient::code #7098 (#11102) 2019-10-03 13:21:26 +02:00
cache.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
configuration.rs [ethcore]: reduce re-exports (#11059) 2019-09-16 17:12:21 +02:00
deprecated.rs whisper is no longer a part of parity-ethereum repo (#10855) 2019-07-12 14:15:30 +02:00
export_hardcoded_sync.rs Extract spec to own crate (#10978) 2019-08-23 15:32:58 +02:00
helpers.rs [ethcore]: reduce re-exports (#11059) 2019-09-16 17:12:21 +02:00
informant.rs Extract snapshot to own crate (#11010) 2019-09-03 11:29:25 +02:00
ipfs.rs fix compile warnings (#10993) 2019-08-27 17:29:33 +02:00
lib.rs Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
main.rs parity/main.rs uses eprintln instead of raw stderr interface (#10427) 2019-02-27 11:41:03 +03:00
modules.rs Extract snapshot to own crate (#11010) 2019-09-03 11:29:25 +02:00
params.rs xDai chain support and nodes list update (#10989) 2019-08-29 09:33:33 +02:00
presale.rs Upgrade to parity-crypto 0.4 (#10650) 2019-05-28 07:50:10 +02:00
rpc_apis.rs Extract snapshot to own crate (#11010) 2019-09-03 11:29:25 +02:00
rpc.rs update jsonrpc to 12.0 (#10841) 2019-07-05 16:24:23 +08:00
run.rs Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
secretstore.rs fix compile warnings (#10993) 2019-08-27 17:29:33 +02:00
signer.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
snapshot_cmd.rs Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
stratum.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
upgrade.rs Add message to IO errors (#10324) 2019-02-18 20:39:38 +03:00
user_defaults.rs Extract the Engine trait (#10958) 2019-08-15 17:59:22 +02:00