openethereum/util
André Silva dcaff6f4c8 Auto-updater improvements (#8078)
* updater: refactor updater flow into state machine

* updater: delay update randomly within max range

* updater: configurable update delay

* updater: split polling and updater state machine step

* updater: drop state to avoid deadlocking

* updater: fix fetch backoff

* updater: fix overflow in update delay calculation

* updater: configurable update check frequency

* updater: fix update policy frequency comparison

* updater: use lazy_static for platform and platform_id_hash

* updater: refactor operations contract calls into OperationsClient

* updater: make updater generic over operations and fetch client

* updater: fix compilation

* updater: add testing infrastructure and minimal test

* updater: fix minor grumbles

* updater: add test for successful updater flow

* updater: add test for update delay

* updater: add test for update check frequency

* updater: mock time and rng for deterministic tests

* updater: test backoff on failure

* updater: add test for backoff short-circuit on new release

* updater: refactor to increase readability

* updater: cap maximum backoff to one month

* updater: add test for detecting already downloaded update

* updater: add test for updater disable on fatal errors

* updater: add test for pending outdated fetch

* updater: test auto install of updates

* updater: add test for capability updates

* updater: fix capability update

* updater: use ethabi to create event topic filter

* updater: decrease maximum backoff to 1 day

* updater: cap maximum update delay with upcoming fork block number

* updater: receive state mutex guard in updater_step

* updater: overload execute_upgrade to take state mutex guard

* updater: remove unnecessary clone of latest operations info

* updater: remove latest operations info clone when triggering fetch
2018-04-03 16:49:23 +02:00
..
bloom Problem: Cargo.toml file contains [project] key (#7346) 2017-12-20 16:41:52 +01:00
bloomchain Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
bytes prepare cargo configuration for upload of crates 2017-11-10 18:31:31 +01:00
dir Auto-updater improvements (#8078) 2018-04-03 16:49:23 +02:00
error Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
fetch use constant durations (#8278) 2018-04-02 10:47:56 +02:00
hash dapps-fetcher: calculate keccak in-flight while reading the response (#8294) 2018-04-03 14:58:55 +02:00
hashdb Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
io Bump master to 1.11.0 (#8021) 2018-03-03 22:02:33 +01:00
journaldb Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
kvdb Avoid allocations when computing triehash. (#8176) 2018-03-22 09:24:46 +01:00
kvdb-memorydb simplify compression and move it out of rlp crate (#7957) 2018-02-23 10:12:52 +01:00
kvdb-rocksdb Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
macros Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
memory_cache Uses dash instead of underscore in crate name 2017-10-16 11:05:54 +07:00
memorydb Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
migration removed old migrations (#7974) 2018-02-22 14:53:10 +01:00
network Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
network-devp2p Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
panic_hook Moved panick_hook to util/panic_hook (#7629) 2018-01-20 20:28:25 +01:00
path splitting part of util into smaller crates (#4956) 2017-03-22 06:23:40 +01:00
patricia_trie Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
plain_hasher Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
reactor Expose health status over RPC (#6274) 2017-08-28 14:11:55 +02:00
rlp Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
rlp_compress Avoid allocations when computing triehash. (#8176) 2018-03-22 09:24:46 +01:00
rlp_derive update serde, serde-derive, ethabi-derive, syn, quote and rlp_derive (#8085) 2018-03-13 12:43:24 +01:00
stats Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
stop-guard Moved StopGaurd to it's own crate (#7635) 2018-01-19 13:46:31 +01:00
table Squash remaining warnings (#6789) 2017-10-16 12:31:52 +02:00
trace-time Remove the time dependency where possible (#8100) 2018-03-14 12:29:52 +01:00
trie-standardmap Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
triehash Bump ethabi & ethereum-types. (#8258) 2018-04-02 12:12:52 +01:00
unexpected UtilError uses error_chain!, moved OutOfBounds and Mismatched to unexpected crate 2017-09-05 12:14:03 +02:00
using_queue Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
version Postpone Kovan hard fork (#8137) 2018-03-19 11:23:12 +01:00