openethereum/parity
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
..
cli Auto-updater improvements (#8078) 2018-04-03 16:49:23 +02:00
light_helpers use constant durations (#8278) 2018-04-02 10:47:56 +02:00
account.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
blockchain.rs Implement hardcoded sync in the light client (#8075) 2018-03-27 13:56:59 +02:00
cache.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
configuration.rs Auto-updater improvements (#8078) 2018-04-03 16:49:23 +02:00
dapps.rs Replace reqwest with hyper (#8099) 2018-03-14 13:40:54 +01:00
deprecated.rs Make CLI arguments parsing more backwards compatible 2017-11-08 12:33:56 +01:00
export_hardcoded_sync.rs Implement hardcoded sync in the light client (#8075) 2018-03-27 13:56:59 +02:00
helpers.rs removed old migrations (#7974) 2018-02-22 14:53:10 +01:00
informant.rs ethcore-service (#8089) 2018-03-13 11:49:57 +01:00
ipfs.rs Fix default CORS settings. (#7387) 2017-12-27 18:56:06 +01:00
main.rs Implement hardcoded sync in the light client (#8075) 2018-03-27 13:56:59 +02:00
migration.rs revert removing blooms (#8066) 2018-03-12 20:15:55 +00:00
modules.rs use error-chain in ethcore-network 2017-11-13 16:48:58 +01:00
params.rs Replace reqwest with hyper (#8099) 2018-03-14 13:40:54 +01:00
presale.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
rpc_apis.rs Replace reqwest with hyper (#8099) 2018-03-14 13:40:54 +01:00
rpc.rs Allow customization of max WS connections. (#8257) 2018-04-02 11:33:09 +01:00
run.rs Fix warning about --no-hardcoded-sync being printed when it shouldn't (#8261) 2018-03-29 14:33:57 +02:00
secretstore.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
signer.rs Re-enable signer, even with no UI. (#8167) 2018-03-20 17:57:37 +00:00
snapshot.rs ethcore-service (#8089) 2018-03-13 11:49:57 +01:00
stratum.rs remove the deprecated options in rustfmt.toml (#5616) 2017-05-19 17:12:20 +02:00
upgrade.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
url.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
user_defaults.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
whisper.rs Problem: sending any Whisper message fails 2018-01-01 20:54:15 -08:00