1. Apr 16, 2018
    • Andrew Jones's avatar
      Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) · a04c5b18
      Andrew Jones authored
      * WIP
      
      * Replace Rlp with UntrustedRlp in views, explicity unwrap with expect
      
      First pass to get it to compile. Need to figure out whether to do this or to propogate Errors upstream, which would require many more changes to dependent code. If we do this way we are assuming that the views are always used in a context where the rlp is trusted to be valid e.g. when reading from our own DB. So need to fid out whether views are used with data received from an untrusted (e.g. extrernal peer).
      
      * Remove original Rlp impl, rename UntrustedRlp -> Rlp
      
      * Create rlp views with view! macro to record debug info
      
      Views are assumed to be over valid rlp, so if there is a decoding error we record where the view was created in the first place and report it in the expect
      
      * Use $crate in view! macro to avoid import, fix tests
      
      * Expect valid rlp in decode functions for now
      
      * Replace spaces with tabs in new file
      
      * Add doc tests for creating views with macro
      
      * Update rlp docs to reflect removing of UntrustedRlp
      
      * Replace UntrustedRlp usages in private-tx merge
      a04c5b18
  2. Apr 09, 2018
    • Anton Gavrilov's avatar
      Private transactions integration pr (#6422) · e6f75bcc
      Anton Gavrilov authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Private transaction message added
      
      * Empty line removed
      
      * Private transactions logic removed from client into the separate module
      
      * Fixed compilation after merge with head
      
      * Signed private transaction message added as well
      
      * Comments after the review fixed
      
      * Private tx execution
      
      * Test update
      
      * Renamed some methods
      
      * Fixed some tests
      
      * Reverted submodules
      
      * Fixed build
      
      * Private transaction message added
      
      * Empty line removed
      
      * Private transactions logic removed from client into the separate module
      
      * Fixed compilation after merge with head
      
      * Signed private transaction message added as well
      
      * Comments after the review fixed
      
      * Encrypted private transaction message and signed reply added
      
      * Private tx execution
      
      * Test update
      
      * Main scenario completed
      
      * Merged with the latest head
      
      * Private transactions API
      
      * Comments after review fixed
      
      * Parameters for private transactions added to parity arguments
      
      * New files added
      
      * New API methods added
      
      * Do not process packets from unconfirmed peers
      
      * Merge with ptm_ss branch
      
      * Encryption and permissioning with key server added
      
      * Fixed compilation after merge
      
      * Version of Parity protocol incremented in order to support private transactions
      
      * Doc strings for constants added
      
      * Proper format for doc string added
      
      * fixed some encryptor.rs grumbles
      
      * Private transactions functionality moved to the separate crate
      
      * Refactoring in order to remove late initialisation
      
      * Tests fixed after moving to the separate crate
      
      * Fetch method removed
      
      * Sync test helpers refactored
      
      * Interaction with encryptor refactored
      
      * Contract address retrieving via substate removed
      
      * Sensible gas limit for private transactions implemented
      
      * New private contract with nonces added
      
      * Parsing of the response from key server fixed
      
      * Build fixed after the merge, native contracts removed
      
      * Crate renamed
      
      * Tests moved to the separate directory
      
      * Handling of errors reworked in order to use error chain
      
      * Encodable macro added, new constructor replaced with default
      
      * Native ethabi usage removed
      
      * Couple conversions optimized
      
      * Interactions with client reworked
      
      * Errors omitting removed
      
      * Fix after merge
      
      * Fix after the merge
      
      * private transactions improvements in progress
      
      * private_transactions -> ethcore/private-tx
      
      * making private transactions more idiomatic
      
      * private-tx encryptor uses shared FetchClient and is more idiomatic
      
      * removed redundant tests, moved integration tests to tests/ dir
      
      * fixed failing service test
      
      * reenable add_notify on private tx provider
      
      * removed private_tx tests from sync module
      
      * removed commented out code
      
      * Use plain password instead of unlocking account manager
      
      * remove dead code
      
      * Link to the contract changed
      
      * Transaction signature chain replay protection module created
      
      * Redundant type conversion removed
      
      * Contract address returned by private provider
      
      * Test fixed
      
      * Addressing grumbles in PrivateTransactions (#8249)
      
      * Tiny fixes part 1.
      
      * A bunch of additional comments and todos.
      
      * Fix ethsync tests.
      
      * resolved merge conflicts
      
      * final private tx pr (#8318)
      
      * added cli option that enables private transactions
      
      * fixed failing test
      
      * fixed failing test
      
      * fixed failing test
      
      * fixed failing test
      e6f75bcc
  3. Apr 03, 2018
  4. Mar 29, 2018
    • 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
  5. Mar 12, 2018
  6. Mar 06, 2018
  7. Feb 23, 2018
  8. Feb 22, 2018
    • Marek Kotewicz's avatar
      fixed broken logs (#7934) · f8a2e53f
      Marek Kotewicz authored
      * fixed broken logs
      
      * bring back old lock order
      
      * removed bloom groups from blockchain
      
      * revert unrelated changes
      
      * simplify blockchain_block_blooms
      f8a2e53f
  9. Feb 19, 2018
  10. Feb 16, 2018
  11. Jan 14, 2018
    • Marek Kotewicz's avatar
      bloom refactor (#7475) · 668d910c
      Marek Kotewicz authored
      * ethereum-types refactor in progress
      
      * ethereum-types refactor in progress
      
      * ethereum-types refactor in progress
      
      * ethereum-types refactor in progress
      
      * ethereum-types refactor finished
      
      * cleanup bloom mess
      
      * simplify usage of Bloom in few places
      
      * removed obsolete util/src/lib.rs
      
      * removed commented out code
      
      * ethereum-types 0.1.4
      
      * updated ethereum-types and tiny-keccak
      668d910c
  12. Jan 10, 2018
    • Marek Kotewicz's avatar
      dissolve util (#7460) · e95b0934
      Marek Kotewicz authored and Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky committed
      * ethereum-types refactor in progress
      
      * ethereum-types refactor in progress
      
      * ethereum-types refactor in progress
      
      * ethereum-types refactor in progress
      
      * ethereum-types refactor finished
      
      * removed obsolete util/src/lib.rs
      
      * removed commented out code
      e95b0934
  13. Dec 21, 2017
  14. Oct 15, 2017
  15. Oct 12, 2017
  16. Oct 10, 2017
    • Marek Kotewicz's avatar
      Separate migrations from util (#6690) · 6279ff32
      Marek Kotewicz authored
      * separate migration from util and make its dependencies into libs:
      
      * snappy
      * kvdb
      * error
      * common
      
      * renamed common -> macros
      
      * util error does not depend on snappy module
      
      * ethsync does not depend on util nor ethcore_error
      
      * nibbleslice and nibblevec merged with patricia_trie crate
      
      * removed unused dependencies from util
      
      * util journaldb traits does not need to be public
      
      * util_error
      
      * fixed ethcore compile error
      
      * ignore .swo files
      
      * Update chain.rs
      6279ff32
  17. Sep 21, 2017
  18. Sep 15, 2017
    • Arkadiy Paronyan's avatar
      Byzantium updates (#5855) · 25b35ebd
      Arkadiy Paronyan authored
      * EIP-211 updates
      
      * benchmarks
      
      * blockhash instruction gas cost updated
      
      * More benches
      
      * EIP-684
      
      * EIP-649
      
      * EIP-658
      
      * Updated some tests
      
      * Modexp fixes
      
      * STATICCALL fixes
      
      * Pairing fixes
      
      * More STATICALL fixes
      
      * Use paritytech/bn
      
      * Fixed REVERTing of contract creation
      
      * Fixed more tests
      
      * Fixed more tests
      
      * Blockchain tests
      
      * Enable previously broken tests
      
      * Transition test
      
      * Updated tests
      
      * Fixed modexp reading huge numbers
      
      * Enabled max_code_size test
      
      * Review fixes
      
      * Updated pairing pricing
      
      * missing commas (style)
      
      * Update test.rs
      
      * Small improvements
      
      * eip161abc
      25b35ebd
    • Hawstein's avatar
      separate trie from util and make its dependencies into libs: · ade37be2
      Hawstein authored
      * bytes
      * hashdb
      * memorydb
      * nibbleslice
      * nibblevec
      ade37be2
  19. Sep 10, 2017
    • Nicolas Gotchac's avatar
      Fix slow balances (#6471) · f1a05036
      Nicolas Gotchac authored
      * Update token updates
      
      * Update token info fetching
      
      * Update logger
      
      * Minor fixes to updates and notifications for balances
      
      * Use Pubsub
      
      * Fix timeout.
      
      * Use pubsub for status.
      
      * Fix signer subscription.
      
      * Process tokens in chunks.
      
      * Fix tokens loaded by chunks
      
      * Linting
      
      * Dispatch tokens asap
      
      * Fix chunks processing.
      
      * Better filter options
      
      * Parallel log fetching.
      
      * Fix signer polling.
      
      * Fix initial block query.
      
      * Token balances updates : the right(er) way
      
      * Better tokens info fetching
      
      * Fixes in token data fetching
      
      * Only fetch what's needed (tokens)
      
      * Fix linting issues
      
      * Revert "Transaction permissioning (#6441)"
      
      This reverts commit eed0e8b0.
      
      * Revert "Revert "Transaction permissioning (#6441)""
      
      This reverts commit 8f96415e58dde652e5828706eb2639d43416f448.
      
      * Update wasm-tests.
      
      * Fixing balances fetching
      
      * Fix requests tracking in UI
      
      * Fix request watching
      
      * Update the Logger
      
      * PR Grumbles Fixes
      
      * PR Grumbles fixes
      
      * Linting...
      f1a05036
  20. Sep 04, 2017
  21. Sep 02, 2017
  22. Sep 01, 2017
  23. Aug 30, 2017
  24. Aug 17, 2017
  25. Jul 29, 2017
  26. Jul 06, 2017
  27. Jul 04, 2017
  28. Jun 29, 2017
    • Vurich's avatar
      Upgrade `elastic-array` to 0.9.0 · 3d8dc114
      Vurich authored
      This is a huge change, which includes some changes to replace code that
      originally cloned to reuse allocations instead. The updated
      `elastic-array` crate renames its consuming `Vec`-conversion method to
      `into_vec`, which means that I can do a simple
      `sed -i 's/to_vec/into_vec/'` and then fix the compilation errors.
      
      This commit is probably a minor performance win and definitely a
      significant readability win.
      3d8dc114
  29. Jun 28, 2017
    • asynchronous rob's avatar
      PoA: Wait for transition finality before applying (#5774) · d069b98b
      asynchronous rob authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * final engine changes
      
      * migration to v13
      
      * adding and removing pending transitions
      
      * epoch_transition_for
      
      * port snapshot to new engine methods
      
      * final validator set interface
      
      * fix compiler errors
      
      * revert v13/epoch_depth transition
      
      * make call on new epoch
      
      * rolling finality checker
      
      * tests for finality checker
      
      * constructing finality proof upon pending transition
      
      * fix warnings and finality proof checking
      
      * fix compiler warnings in tests
      
      * test fixes
      
      * don't include genesis in finality checking
      
      * change snapshot test chain building logic
      
      * minor refactorings
      
      * fetch epoch transition based on parent, fix divide-by-zero in SimpleList
      
      * fix formatting
      
      * fix ABIs and finality checking in snapshot restoration
      
      * encode signal number in proof
      
      * create more blocks at the end of tests
      
      * update gist to accurate contract code
      
      * test for epoch_transition_for
      
      * fix tests with immediateTransitions parameter
      
      * disable force flag after forcing
      
      * rename ValidatorsChanged to InitiateChange and finalizeSignal to finalizeChange
      
      * a few more validator set tests
      d069b98b
  30. May 19, 2017
  31. May 17, 2017
    • asynchronous rob's avatar
      PoA warp implementation (#5488) · 4c5e4ac8
      asynchronous rob authored
      * separate modules for consensus snapshot chunks
      
      * bulk of authority warp logic
      
      * finish authority warp implementation
      
      * squash warnings and enable authority snapshot mode
      
      * test harness for PoA
      
      * fiddle with harness
      
      * epoch generation proof fixes
      
      * update constructor code
      
      * store epoch transition proof after block commit
      
      * basic snap and restore test
      
      * use keyvaluedb in state restoration
      
      * decompress chunks
      
      * fix encoding issues
      
      * fixed-to-contract-to-contract test
      
      * implement ancient block import
      
      * restore genesis transition in PoW snapshot
      
      * add format version method to snapshot components
      
      * supported version numbers in snapshot_components
      
      * allow returning of ancient epoch transitions
      
      * genesis hash mismatch check
      
      * remove commented code
      4c5e4ac8