Skip to content
  1. May 09, 2018
    • Tomasz Drwięga's avatar
      Don't block sync when importing old blocks (#8530) · 24838bbc
      Tomasz Drwięga authored
      * Alter IO queueing.
      
      * Don't require IoMessages to be Clone
      
      * Ancient blocks imported via IoChannel.
      
      * Get rid of private transactions io message.
      
      * Get rid of deadlock and fix disconnected handler.
      
      * Revert to old disconnect condition.
      
      * Fix tests.
      
      * Fix deadlock.
      24838bbc
    • Wei Tang's avatar
      Trace precompiled contracts when the transfer value is not zero (#8486) · 7a00d979
      Wei Tang authored
      * Trace precompiled contracts when the transfer value is not zero
      
      * Add tests for precompiled CALL tracing
      
      * Use byzantium test machine for the new test
      
      * Add notes in comments on why we don't trace all precompileds
      
      * Use is_transferred instead of transferred
      7a00d979
    • Pierre Krieger's avatar
      Parity as a library (#8412) · ac3de4c5
      Pierre Krieger authored
      * Parity as a library
      
      * Fix concerns
      
      * Allow using a null on_client_restart_cb
      
      * Fix more concerns
      
      * Test the C library in test.sh
      
      * Reduce CMake version to 3.5
      
      * Move the clib test before cargo test
      
      * Add println in test
      ac3de4c5
  2. May 08, 2018
    • David's avatar
      Rlp decode returns Result (#8527) · 28c73188
      David authored
      rlp::decode returns Result
      
      Make a best effort to handle decoding errors gracefully throughout the code, using `expect` where the value is guaranteed to be valid (and in other places where it makes sense).
      28c73188
  3. May 07, 2018
    • André Silva's avatar
      Node table sorting according to last contact data (#8541) · a7a46f42
      André Silva authored
      * network-devp2p: sort nodes in node table using last contact data
      
      * network-devp2p: rename node contact types in node table json output
      
      * network-devp2p: fix node table tests
      
      * network-devp2p: note node failure when failed to establish connection
      
      * network-devp2p: handle UselessPeer error
      
      * network-devp2p: note failure when marking node as useless
      a7a46f42
    • Wei Tang's avatar
      Keep all enacted blocks notify in order (#8524) · 528497b8
      Wei Tang authored
      * Keep all enacted blocks notify in order
      
      * Collect is unnecessary
      
      * Update ChainNotify to use ChainRouteType
      
      * Fix all ethcore fn defs
      
      * Wrap the type within ChainRoute
      
      * Fix private-tx and sync api
      
      * Fix secret_store API
      
      * Fix updater API
      
      * Fix rpc api
      
      * Fix informant api
      
      * Eagerly cache enacted/retracted and remove contain_enacted/retracted
      
      * Fix indent
      
      * tests: should use full expr form for struct constructor
      
      * Use into_enacted_retracted to further avoid copy
      
      * typo: not a function
      
      * rpc/tests: ChainRoute -> ChainRoute::new
      528497b8
    • André Silva's avatar
  4. May 05, 2018
    • Toralf Wittner's avatar
      Consolidate crypto functionality in `ethcore-crypto`. (#8432) · e30839e8
      Toralf Wittner authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Consolidate crypto functionality in `ethcore-crypto`.
      
      - Move `ecdh`/`ecies` modules to `ethkey`.
      - Refactor `ethcore-crypto` to use file per module.
      - Replace `subtle` with `ethcore_crypto::is_equal`.
      - Add `aes_gcm` module to `ethcore-crypto`.
      
      * Rename `aes::{encrypt,decrypt,decrypt_cbc}` ...
      
      ... to `aes::{encrypt_128_ctr,decrypt_128_ctr,decrypt_128_cbc}`.
      e30839e8
    • Wei Tang's avatar
      EIP 145: Bitwise shifting instructions in EVM (#8451) · a4c7843a
      Wei Tang authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Add SHL, SHR, SAR opcodes
      
      * Add have_bitwise_shifting schedule flag
      
      * Add all EIP tests for SHL
      
      * Add SHR implementation and tests
      
      * Implement SAR and add tests
      
      * Add eip145transition config param
      
      * Change map_or to map_or_else when possible
      a4c7843a
  5. May 04, 2018
    • David's avatar
      Remove expect (#8536) · f0c6d17a
      David authored
      * Remove expect and propagate rlp::DecoderErrors as TrieErrors
      f0c6d17a
  6. May 03, 2018
    • Andrew Jones's avatar
      Don't panic in import_block if invalid rlp (#8522) · 66c0638f
      Andrew Jones authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Don't panic in import_block if invalid rlp
      
      * Remove redundant type annotation
      
      * Replace RLP header view usage with safe decoding
      
      Using the view will panic with invalid RLP. Here we use Rlp decoding directly which will return a `Result<_, DecoderError>`. While this path currently should not have any invalid RLP - it makes it safer if ever called with invalid RLP from other code paths.
      66c0638f
  7. May 02, 2018
    • Wei Tang's avatar
      Pass on storage keys tracing to handle the case when it is not modified (#8491) · eec73647
      Wei Tang authored
      * Pass on storage keys even if it is not modified
      
      * typo: account and storage query
      
      `to_pod_diff` builds both `touched_addresses` merge and storage keys merge.
      
      * Fix tests
      
      * Use state query directly because of suicided accounts
      
      * Fix a RefCell borrow issue
      
      * Add tests for unmodified storage trace
      
      * Address grumbles
      
      * typo: remove unwanted empty line
      
      * ensure_cached compiles with the original signature
      eec73647
    • Wei Tang's avatar
      Fetching logs by hash in blockchain database (#8463) · b1009450
      Wei Tang authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Fetch logs by hash in blockchain database
      
      * Fix tests
      
      * Add unit test for branch block logs fetching
      
      * Add docs that blocks must already be sorted
      
      * Handle branch block cases properly
      
      * typo: empty -> is_empty
      
      * Remove return_empty_if_none by using a closure
      
      * Use BTreeSet to avoid sorting again
      
      * Move is_canon to BlockChain
      
      * typo: pass value by reference
      
      * Use loop and wrap inside blocks to simplify the code
      
      Borrowed from https://github.com/paritytech/parity/pull/8463#discussion_r183453326
      
      * typo: missed a comment
      b1009450
    • Tomasz Drwięga's avatar
      Transaction Pool improvements (#8470) · 8e867980
      Tomasz Drwięga authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Don't use ethereum_types in transaction pool.
      
      * Hide internal insertion_id.
      
      * Fix tests.
      
      * Review grumbles.
      8e867980
    • Pierre Krieger's avatar
      More changes for Android (#8421) · 629da8f8
      Pierre Krieger authored and Marek Kotewicz's avatar Marek Kotewicz committed
      629da8f8
  8. May 01, 2018
    • ellaismer's avatar
      Enable WebAssembly and Byzantium for Ellaism (#8520) · 10a34647
      ellaismer authored
      * Enable WebAssembly and Byzantium for Ellaism
      
      * Fix indentation
      
      * Remove empty lines
      10a34647
    • Svyatoslav Nikolsky's avatar
      SecretStore: merge two types of errors into single one + Error::is_non_fatal (#8357) · d1f5284f
      Svyatoslav Nikolsky authored
      * SecretStore: error unify initial commit
      
      SecretStore: pass real error in error messages
      
      SecretStore: is_internal_error -> Error::is_non_fatal
      
      warnings
      
      SecretStore: ConsensusTemporaryUnreachable
      
      fix after merge
      
      removed comments
      
      removed comments
      
      SecretStore: updated HTTP error responses
      
      SecretStore: more ConsensusTemporaryUnreachable tests
      
      fix after rebase
      
      * fixed grumbles
      
      * use HashSet in tests
      d1f5284f
    • Niklas Adolfsson's avatar
      Hardware Wallet trait (#8071) · 849f5d9a
      Niklas Adolfsson authored
      * getting started with replacing HardwareWalletManager
      
      * trezor and ledger impls the new trait with some drawbacks
      
      * Everything move to the new trait
      
      * It required lifetime annotations in the trait because [u8] in unsized
      * Lets now start moving entry point from HardwareWalletManager
      
      * rename trait to Wallet
      
      * move thread management to the actual wallets
      
      * Moved thread management to each respective Wallet
      * Cleaned up pub items that is needed to be pub
      * Wallet trait more or less finished
      * Cleaned up docs
      
      * fix tests
      
      * omit removed docs
      
      * fix spelling, naming och remove old comments
      
      * ledger test is broken, add correct logging format
      
      * So locally on my machine Linux Ubuntu 17.10 the test doesn't panic but on the CI server libusb::Context::new()
      fails which I don't understand because it has worked before
      * Additionally the ledger test is optional so I lean toward ignoring it the CI Server
      
      * ignore hardware tests by default
      
      * more verbose checking in ledger test
      849f5d9a
    • Wei Tang's avatar
      Directly return None if tracing is disabled (#8504) · 7a769161
      Wei Tang authored
      * Directly return None if tracing is disabled
      
      * Address gumbles: release read locks as fast as possible
      7a769161
    • Wei Tang's avatar
      Show imported messages for light client (#8517) · 2a829b1f
      Wei Tang authored and asynchronous rob's avatar asynchronous rob committed
      2a829b1f
  9. Apr 27, 2018
  10. Apr 26, 2018
  11. Apr 25, 2018
  12. Apr 24, 2018
  13. Apr 23, 2018
  14. Apr 21, 2018
  15. Apr 20, 2018