1. Mar 26, 2018
  2. Mar 24, 2018
  3. Mar 22, 2018
  4. Mar 21, 2018
  5. Mar 20, 2018
  6. Mar 19, 2018
  7. Mar 14, 2018
    • Toralf Wittner's avatar
      Const time comparison (#8113) · 236692cf
      Toralf Wittner authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Use `subtle::slices_equal` for constant time comparison.
      
      Also update the existing version of subtle in `ethcrypto` from
      0.1 to 0.5
      
      * Test specifically for InvalidPassword error.
      236692cf
    • Toralf Wittner's avatar
      Replace reqwest with hyper (#8099) · 322dfbcd
      Toralf Wittner authored
      * Very primitive test of the Client API
      
      * [WIP] getting rid of request
      
      * Add support for redirects.
      
      * Remove CpuPool from `fetch::Client`.
      
      * Adapt code to API changes and fix tests.
      
      * Use reference counter to stop background thread.
      
      On `clone` the counter is incremented, on `drop` decremented. Once 0 we
      send `None` over the channel, expecting the background thread to end.
      
      * Fix tests.
      
      * Comment.
      
      * Change expect messages.
      
      * Use local test server for testing fetch client.
      
      * Ensure max_size also in BodyReader.
      
      * Replace `Condvar` with `sync_channel`.
      
      * Re-export `url::Url` from `fetch` crate.
      
      * Remove spaces.
      
      * Use random ports in local test server.
      322dfbcd
    • Pierre Krieger's avatar
      Remove the time dependency where possible (#8100) · 113c35af
      Pierre Krieger authored and Marek Kotewicz's avatar Marek Kotewicz committed
      113c35af
    • Niklas Adolfsson's avatar
      Replace std::env::temp_dir with tempdir in tests (#8103) · 23fc5517
      Niklas Adolfsson authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * std::env::temp_dir -> tempdir in test context
      
      * fix lifetime issue so tempdir removes tmpfiles
      23fc5517
  8. Mar 13, 2018
  9. Mar 12, 2018
    • Niklas Adolfsson's avatar
      [contract-client] refactor (#7978) · e0f71b0c
      Niklas Adolfsson authored
      * Refactor usage of registry contract
      
      * remove unsed file
      
      * Rename methods & fix comments
      
      * refactor contract_client:
      
      * Intoduced separate traits for asyncronous and syncronous contract clients
      * Removed registrar from ethcore::client
      * s/ContractClient/AsyncContractClient
      
      * make the tests compile and pass
      
      * omit changes in ethcore
      
      * Use only one trait for ContractClient
      
      * Use an associated type in the trait to determine syncronous or asyncronous communication
      * Export the types from contract-client crate
      * Document that "A" in the hash correspons to a DNS A Record A.K.A Address Record
      
      * contract_client -> registrar
      
      * address review feedback
      e0f71b0c
    • Marek Kotewicz's avatar
      revert removing blooms (#8066) · 66f3c508
      Marek Kotewicz authored
      * Revert "fix traces, removed bloomchain crate, closes #7228, closes #7167"
      
      This reverts commit 1bf62038678295e5586f02a38a0c5aab9a9efe62.
      
      * Revert "fixed broken logs (#7934)"
      
      This reverts commit f8a2e53f.
      
      * fixed broken logs
      
      * bring back old lock order
      
      * remove migration v13
      
      * revert CURRENT_VERSION to 12 in migration.rs
      66f3c508
    • Nikolay Volf's avatar
      WASM libraries bump (#7970) · e0a21e5a
      Nikolay Volf authored
      * update wasmi, parity-wasm, wasm-utils to latest version
      
      * Update to new wasmi & error handling
      
      * also utilize new stack limiter
      
      * fix typo
      
      * replace dependency url
      
      * Cargo.lock update
      e0a21e5a
  10. Mar 05, 2018
  11. Mar 03, 2018
    • Rando's avatar
      Bump master to 1.11.0 (#8021) · 33284e98
      Rando authored
      * Bump master to 1.11.0
      
      * Bump price-info
      
      * Bump mac installer version
      
      * Fix gitlab builds
      33284e98
    • Dmitry Kashitsyn's avatar
      `Client` refactoring (#7038) · 9d7d6f71
      Dmitry Kashitsyn authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Improves `BestBlock` comment
      
      * Improves `TraceDB` comment
      
      * Improves `journaldb::Algorithm` comment.
      
      Probably the whole enum should be renamed to `Strategy` or something alike.
      
      * Comments some of the `Client`'s fields
      
      * Deglobs client imports
      
      * Fixes comments
      
      * Extracts `import_lock` to `Importer` struct
      
      * Extracts `verifier` to `Importer` struct
      
      * Extracts `block_queue` to `Importer` struct
      
      * Extracts `miner` to `Importer` struct
      
      * Extracts `ancient_verifier` to `Importer` struct
      
      * Extracts `rng` to `Importer` struct
      
      * Extracts `import_old_block` to `Importer` struct
      
      * Adds `Nonce` trait
      
      * Adds `Balance` trait
      
      * Adds `ChainInfo` trait
      
      * Fixes imports for tests using `chain_info` method
      
      * Adds `BlockInfo` trait
      
      * Adds more `ChainInfo` imports
      
      * Adds `BlockInfo` imports
      
      * Adds `ReopenBlock` trait
      
      * Adds `PrepareOpenBlock` trait
      
      * Fixes import in tests
      
      * Adds `CallContract` trait
      
      * Fixes imports in tests using `call_contract` method
      
      * Adds `TransactionInfo` trait
      
      * Adds `RegistryInfo` trait
      
      * Fixes imports in tests using `registry_address` method
      
      * Adds `ScheduleInfo` trait
      
      * Adds `ImportSealedBlock` trait
      
      * Fixes imports in test using `import_sealed_block` method
      
      * Adds `BroadcastProposalBlock` trait
      
      * Migrates `Miner` to static dispatch
      
      * Fixes tests
      
      * Moves `calculate_enacted_retracted` to `Importer`
      
      * Moves import-related methods to `Importer`
      
      * Removes redundant `import_old_block` wrapper
      
      * Extracts `import_block*` into separate trait
      
      * Fixes tests
      
      * Handles `Pending` in `LightFetch`
      
      * Handles `Pending` in filters
      
      * Handles `Pending` in `ParityClient`
      
      * Handles `Pending` in `EthClient`
      
      * Removes `BlockId::Pending`, partly refactors dependent code
      
      * Adds `StateInfo` trait
      
      * Exports `StateOrBlock` and `BlockChain` types from `client` module
      
      * Refactors `balance` RPC using generic API
      
      * Refactors `storage_at` RPC using generic API
      
      * Makes `MinerService::pending_state`'s return type dynamic
      
      * Adds `StateOrBlock` and `BlockChain` types
      
      * Adds impl of `client::BlockChain` for `Client`
      
      * Exports `StateInfo` trait from `client` module
      
      * Missing `self` use
      
      To be fixed up to "Adds impl of `client::BlockChain` for `Client`"
      
      * Adds `number_to_id` and refactors dependent RPC methods
      
      * Refactors `code_at` using generic API
      
      * Adds `StateClient` trait
      
      * Refactors RPC to use `StateClient` trait
      
      * Reverts `client::BlockChain` trait stuff, refactors methods to accept `StateOrBlock`
      
      * Refactors TestClient
      
      * Adds helper function `block_number_to_id`
      
      * Uses `block_number_to_id` instead of local function
      
      * Handles `Pending` in `list_accounts` and `list_storage_keys`
      
      * Attempt to use associated types for state instead of trait objects
      
      * Simplifies `state_at_beginning`
      
      * Extracts `call` and `call_many` into separate trait
      
      * Refactors `build_last_hashes` to accept reference
      
      * Exports `Call` type from the module
      
      * Refactors `call` and `call_many` to accept state and header
      
      * Exports `state_at` in `StateClient`
      
      * Exports `pending_block_header` from `MinerService`
      
      * Refactors RPC `call` method using new API
      
      * Adds missing parentheses
      
      * Refactors `parity::call` to use new call API
      
      * Update .gitlab-ci.yml
      
      fix gitlab lint
      
      * Fixes error handling
      
      * Refactors `traces::call` and `call_many` to use new call API
      
      * Refactors `call_contract`
      
      * Refactors `block_header`
      
      * Refactors internal RPC method `block`
      
      * Moves `estimate_gas` to `Call` trait, refactors parameters
      
      * Refactors `estimate_gas` in RPC
      
      * Refactors `uncle`
      
      * Refactors RPC `transaction`
      
      * Covers missing branches
      
      * Makes it all compile, fixes compiler grumbles
      
      * Adds casts in `blockchain` module
      
      * Fixes `PendingBlock` tests, work on `MinerService`
      
      * Adds test stubs for StateClient and EngineInfo
      
      * Makes `state_db` public
      
      * Adds missing impls for `TestBlockChainClient`
      
      * Adds trait documentation
      
      * Adds missing docs to the `state_db` module
      
      * Fixes trivial compilation errors
      
      * Moves `code_hash` method to a `BlockInfo` trait
      
      * Refactors `Verifier` to be generic over client
      
      * Refactors `TransactionFilter` to be generic over client
      
      * Refactors `Miner` and `Client` to reflect changes in verifier and txfilter API
      
      * Moves `ServiceTransactionChecker` back to `ethcore`
      
      * Fixes trait bounds in `Miner` API
      
      * Fixes `Client`
      
      * Fixes lifetime bound in `FullFamilyParams`
      
      * Adds comments to `FullFamilyParams`
      
      * Fixes imports in `ethcore`
      
      * Fixes BlockNumber handling in `code_at` and `replay_block_transactions`
      
      * fix compile issues
      
      * First step to redundant trait merge
      
      * Fixes compilation error in RPC tests
      
      * Adds mock `State` as a stub for `TestClient`
      
      * Handles `StateOrBlock::State` in `TestBlockChainClient::balance`
      
      * Fixes `transaction_count` RPC
      
      * Fixes `transaction_count`
      
      * Moves `service_transaction.json` to the `contracts` subfolder
      
      * Fixes compilation errors in tests
      
      * Refactors client to use `AccountData`
      
      * Refactors client to use `BlockChain`
      
      * Refactors miner to use aggregate traits
      
      * Adds `SealedBlockImporter` trait
      
      * Refactors miner to use `SealedBlockImporter` trait
      
      * Removes unused imports
      
      * Simplifies `RegistryInfo::registry_address`
      
      * Fixes indentation
      
      * Removes commented out trait bound
      9d7d6f71
  12. Mar 01, 2018
  13. Feb 23, 2018
  14. Feb 22, 2018
    • Marek Kotewicz's avatar
      removed old migrations (#7974) · ee93be80
      Marek Kotewicz authored
      * removed old migrations
      
      * improve SimpleMigration
      
      * fixed migration tests
      
      * fixed redundant whitespace
      
      * add ToV13 migration which removes bloom groups
      
      * bump CURRENT_VERSION of db
      ee93be80
  15. Feb 20, 2018
  16. Feb 19, 2018
  17. Feb 09, 2018
    • Marek Kotewicz's avatar
      ethabi version 5 (#7723) · c060d958
      Marek Kotewicz authored
      * Refactor updater to use ethabi-derive
      
      * Grumble: do_call type alias
      
      * Empty commit to trigger test re-run
      
      * migration to ethabi-5.0
      
      * migration to ethabi-5.0 in progress
      
      * use ethabi_deriven to generate TransactAcl contract
      
      * use ethabi_deriven to generate Registry contract
      
      * hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720
      
      * node-filter crate uses ethabi_derive to generate peer_set contract interface
      
      * use LruCache in node-filter instead of HashMap
      
      * validator_set engine uses ethabi_derive
      
      * ethcore does not depend on native_contracts
      
      * miner does no depend on native_contracts
      
      * secret_store does not use native_contracts (in progress)
      
      * removed native-contracts
      
      * ethcore and updater does not depend on futures
      
      * updated ethereum-types
      
      * fixed all warnings caused by using new version of ethereum-types
      
      * updated ethabi_derive && ethabi_contract to get rid of warnings
      
      * removed another retain cycle in updater, fixed following minor version on update
      
      * moved contracts out of native_contracts res
      
      * updated ethabi_contract
      
      * fixed failing test
      
      * fixed failing test
      
      * there is no need to create two contracts of the same kind any more
      
      * simplify updater::ReleaseTrack conversion into u8 and add several tests for it
      
      * applied review suggestions
      
      * applied review suggestions
      c060d958
  18. Feb 08, 2018
  19. Feb 07, 2018
  20. Feb 06, 2018
  21. Feb 05, 2018
  22. Jan 31, 2018
    • Axel Chalon's avatar
      Wrap --help output to 120 characters (#7626) · fee88d04
      Axel Chalon authored
      * Update Clap dependency and remove workarounds
      
      * WIP
      
      * Remove line breaks in help messages for now
      
      * Multiple values can only be separated by commas (closes #7428)
      
      * Grumbles; refactor repeating code; add constant
      
      * Use a single Wrapper rather than allocate a new one for each call
      
      * Wrap --help to 120 characters rather than 100 characters
      fee88d04
    • Tomasz Drwięga's avatar
      Filter-out nodes.json (#7716) · f5c68c60
      Tomasz Drwięga authored
      * Filter-out nodes.json
      
      * network: sort node table nodes by failure ratio
      
      * network: fix node table tests
      
      * network: fit node failure percentage into buckets of 5%
      
      * network: consider number of attempts in sorting of node table
      
      * network: fix node table grumbles
      f5c68c60
  23. Jan 20, 2018