1. Apr 04, 2018
  2. Apr 03, 2018
    • André Silva's avatar
    • Svyatoslav Nikolsky's avatar
      SecretStore: generating and retrieving decryption keys via service contract (#8029) · ec960913
      Svyatoslav Nikolsky authored
      * SecretStore: started document keys generation via contract
      
      * fixed Cargo.lock
      
      * SecretStore: doc key contract gen tests
      
      * SecretStore: fixed log parsing
      
      * SecretStore: flush
      
      * SecretStore: secretstore_generateDocumentKey RPC
      
      * SecretStore: return encrypted_key from secretstore_generateDocumentKey
      
      * prepare to GenerateDocKey -> StoreDocKey
      
      * SecretStore: ability to identify requester via Public/Address
      
      * SecretStore: store author address instead of public in db
      
      * flush
      
      * SecretStore: flush
      
      * SecretStore: fixed test
      
      * SecretStore: flush
      
      * SecretStore: flush
      
      * SecretStore: flush
      
      * SecretStore: flush
      
      * SecretStore: start async generation session
      
      * SecretStore: process StoreDocumentKey service tasks
      
      * SecretStore: flush
      
      * SecretStore: update service contact ABI
      
      * SecretStore: flush
      
      * SecretStore: flush
      
      * SecretStore: fixed event
      
      * SecretStore: flush
      
      * SecretStore: fixed tests
      
      * SecretStore: fix broadcast shadows decryption
      
      * SecretStore: finally decryption via service contract works
      
      * SecretStore: fix for updated contract
      
      * SecretStore: restored pending requests reqding
      
      * SecretStore: fixed some TODOs
      
      * SecretStore: OnChainServiceContractAggregate
      
      * SecretStore: different names for different contracts types
      
      * SecretStore: updated contracts interfaces
      
      * SecretStore: utilize aggregate service contract
      
      * fixed compilation
      
      * SecretStore: fixes for updated contract
      
      * SecretStore: service fixes after testing
      
      * fixed cli test compilation
      
      * SecretStore: decryption_session_origin_is_known_to_all_initialized_nodes
      
      * SecretStore: added new contract listener tests
      
      * SecretStore: session_listener_works
      
      * removed optional TODO
      
      * SecretStore: fixed KeyServer shutdown
      
      * fixed warn + grumble
      
      * const durations
      ec960913
    • Niklas Adolfsson's avatar
      Honor --max-peers if --min-peers is not specified (#8087) · 0a535bf4
      Niklas Adolfsson authored
      * Change interpretation min and max peers
      
      * Only min specified -> Set min to that value and max to default
      * Only max specified -> Set min and max to that value
      * Both specified -> Set min the smallest value and max to the largest value
      
      * simplify logic, new ParseError & add tests
      
      * simplify code according to the review comments
      
      * address review comments
      
      * more fine-grained tests
      0a535bf4
    • 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
  3. Apr 02, 2018
  4. Mar 31, 2018
  5. Mar 30, 2018
  6. 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
  7. Mar 28, 2018
  8. Mar 27, 2018
  9. Mar 26, 2018
  10. Mar 24, 2018
  11. Mar 23, 2018