1. Apr 03, 2018
    • André Silva's avatar
      Auto-updater improvements (#8078) · dcaff6f4
      André Silva authored
      * 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
      dcaff6f4
    • Wei Tang's avatar
      dapps-fetcher: calculate keccak in-flight while reading the response (#8294) · 5e7d42e4
      Wei Tang authored
      * dapps-fetcher: calculate keccak in-flight while reading the response
      
      * Rename keccak_buffer_and_write -> keccak_pipe
      
      * Fix file read bug by creating another file handle as the return value
      5e7d42e4
    • ellaismer's avatar
      Cleanup Ellaism bootnodes (#8276) · 99a13c4e
      ellaismer authored and Marek Kotewicz's avatar Marek Kotewicz committed
      Removed several bootnodes known not to be running anymore. Added two new ones.
      99a13c4e
    • Tomasz Drwięga's avatar
      060205ab
    • Tomasz Drwięga's avatar
      Remove RefCell from Header (#8227) · 9f775a76
      Tomasz Drwięga authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Cache RLP and header hashes.
      
      * Refactor header - WiP
      
      * Avoid decoding laster header.
      
      * Pre-compute hashes for Sealed/Locked block.
      
      * Use accrue bloom. Closes ##8241
      9f775a76
    • Wei Tang's avatar
      Typo fix: todo with no content (#8292) · d477670c
      Wei Tang authored and Niklas Adolfsson's avatar Niklas Adolfsson committed
      d477670c
  2. Apr 02, 2018
  3. Mar 31, 2018
  4. Mar 30, 2018
  5. Mar 29, 2018
    • Sergey Pepyakin's avatar
      Add missing license header for runtime.rs (#8252) · cab073ba
      Sergey Pepyakin authored
      * Add missing license header for runtime.rs
      
      * Update year
      cab073ba
    • Pierre Krieger's avatar
    • Tomasz Drwięga's avatar
      Warp-only sync with warp-barrier [blocknumber] flag. (#8228) · 899c1a4b
      Tomasz Drwięga authored
      * Warp-only sync with warp-after [blocknumber] flag.
      
      * Fix tests.
      
      * Fix configuration tests.
      
      * Rename to warp barrier.
      899c1a4b
    • Andrew Jones's avatar
      Replace all Rlp usages with UntrustedRlp except for ethcore views (#8233) · e3f7b70c
      Andrew Jones authored
      * Replace Rlp with UntrustedRlp and unsafely unwrap
      
      All Rlp methods return Result<_,DecoderError> now, so for this first
      pass each will be marked with `expect("TODO")`. In the next pass we can
      categorise figure out how to handle each case.
      
      * Handle DecoderError for tendermint message
      
      * Unwrap rlp results in TestBlockcChainClient
      
      Rlp should be valid since created manually in tests
      
      * Replace `use rlp::*` with explicit imports
      
      * Remove rlp decode unwraps from light cli request
      
      * Structured rlp encoding for curr best and latest in header chain
      
      * Propogate decoder errors from send_packet
      
      * Fix body uncles rlp index
      
      * Use BodyView in sync and `expect` rlp errors
      
      * Revert bbf28f removing original Rlp for this phase
      
      This can be done again in the next phase, in order that we can leave the ethcore views unchanged
      
      * Restore legacy Rlp and UntrustedRlp
      
      Use legacy Rlp for ethcore views. Will redo replacing Rlp with UntrustedRlp in  a subsequent PR
      
      * Fix tests
      
      * Replace boilerplate Encodable/Decodable with derive
      
      * Use BlockView instead of Rlp, remove unwrap
      
      * Remove rlp test_cli unwraps by using BlockView instead of Rlp directly
      
      * Remove unneccesary change to use borrowed hash
      
      * Construct sync block using new_from_header_and_body
      e3f7b70c
  6. Mar 28, 2018
  7. Mar 27, 2018
  8. Mar 26, 2018
  9. Mar 24, 2018
  10. Mar 23, 2018
  11. Mar 22, 2018
  12. Mar 21, 2018
  13. Mar 20, 2018