1. Jun 20, 2018
    • Marek Kotewicz's avatar
      new blooms database (#8712) · 458afcd2
      Marek Kotewicz authored
      * new blooms database
      
      * fixed conflict in Cargo.lock
      
      * removed bloomchain
      
      * cleanup in progress
      
      * all tests passing in trace db with new blooms-db
      
      * added trace_blooms to BlockChainDB interface, fixed db flushing
      
      * BlockChainDB no longer exposes RwLock in the interface
      
      * automatically flush blooms-db after every insert
      
      * blooms-db uses io::BufReader to read files, wrap blooms-db into Mutex, cause fs::File is just a shared file handle
      
      * fix json_tests
      
      * blooms-db can filter multiple possibilities at the same time
      
      * removed enum trace/db.rs CacheId
      
      * lint fixes
      
      * fixed tests
      
      * kvdb-rocksdb uses fs-swap crate
      
      * update Cargo.lock
      
      * use fs::rename
      
      * fixed failing test on linux
      
      * fix tests
      
      * use fs_swap
      
      * fixed failing test on linux
      
      * cleanup after swap
      
      * fix tests
      
      * fixed osx permissions
      
      * simplify parity database opening functions
      
      * added migration to blooms-db
      
      * address @niklasad1 grumbles
      
      * fix license and authors field of blooms-db Cargo.toml
      
      * restore blooms-db after snapshot
      458afcd2
  2. Jun 04, 2018
    • Niklas Adolfsson's avatar
      Update `license header` and `scripts` (#8666) · 98b7c071
      Niklas Adolfsson authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Update `add_license` script
      
      * run script
      
      * add `remove duplicate lines script` and run it
      
      * Revert changes `English spaces`
      
      * strip whitespaces
      
      * Revert `GPL` in files with `apache/mit license`
      
      * don't append `gpl license` in files with other lic
      
      * Don't append `gpl header` in files with other lic.
      
      * re-ran script
      
      * include c and cpp files too
      
      * remove duplicate header
      
      * rebase nit
      98b7c071
  3. May 29, 2018
  4. 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
  5. Apr 14, 2018
  6. Apr 13, 2018
    • Tomasz Drwięga's avatar
      New Transaction Queue implementation (#8074) · 1cd93e4c
      Tomasz Drwięga authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Implementation of Verifier, Scoring and Ready.
      
      * Queue in progress.
      
      * TransactionPool.
      
      * Prepare for txpool release.
      
      * Miner refactor [WiP]
      
      * WiP reworking miner.
      
      * Make it compile.
      
      * Add some docs.
      
      * Split blockchain access to a separate file.
      
      * Work on miner API.
      
      * Fix ethcore tests.
      
      * Refactor miner interface for sealing/work packages.
      
      * Implement next nonce.
      
      * RPC compiles.
      
      * Implement couple of missing methdods for RPC.
      
      * Add transaction queue listeners.
      
      * Compiles!
      
      * Clean-up and parallelize.
      
      * Get rid of RefCell in header.
      
      * Revert "Get rid of RefCell in header."
      
      This reverts commit 0f2424c9b7319a786e1565ea2a8a6d801a21b4fb.
      
      * Override Sync requirement.
      
      * Fix status display.
      
      * Unify logging.
      
      * Extract some cheap checks.
      
      * Measurements and optimizations.
      
      * Fix scoring bug, heap size of bug and add cache
      
      * Disable tx queueing and parallel verification.
      
      * Make ethcore and ethcore-miner compile again.
      
      * Make RPC compile again.
      
      * Bunch of txpool tests.
      
      * Migrate transaction queue tests.
      
      * Nonce Cap
      
      * Nonce cap cache and tests.
      
      * Remove stale future transactions from the queue.
      
      * Optimize scoring and write some tests.
      
      * Simple penalization.
      
      * Clean up and support for different scoring algorithms.
      
      * Add CLI parameters for the new queue.
      
      * Remove banning queue.
      
      * Disable debug build.
      
      * Change per_sender limit to be 1% instead of 5%
      
      * Avoid cloning when propagating transactions.
      
      * Remove old todo.
      
      * Post-review fixes.
      
      * Fix miner options default.
      
      * Implement back ready transactions for light client.
      
      * Get rid of from_pending_block
      
      * Pass rejection reason.
      
      * Add more details to drop.
      
      * Rollback heap size of.
      
      * Avoid cloning hashes when propagating and include more details on rejection.
      
      * Fix tests.
      
      * Introduce nonces cache.
      
      * Remove uneccessary hashes allocation.
      
      * Lower the mem limit.
      
      * Re-enable parallel verification.
      
      * Add miner log. Don't check the type if not below min_gas_price.
      
      * Add more traces, fix disabling miner.
      
      * Fix creating pending blocks twice on AuRa authorities.
      
      * Fix tests.
      
      * re-use pending blocks in AuRa
      
      * Use reseal_min_period to prevent too frequent update_sealing.
      
      * Fix log to contain hash not sender.
      
      * Optimize local transactions.
      
      * Fix aura tests.
      
      * Update locks comments.
      
      * Get rid of unsafe Sync impl.
      
      * Review fixes.
      
      * Remove excessive matches.
      
      * Fix compilation errors.
      
      * Use new pool in private transactions.
      
      * Fix private-tx test.
      
      * Fix secret store tests.
      
      * Actually use gas_floor_target
      
      * Fix config tests.
      
      * Fix pool tests.
      
      * Address grumbles.
      1cd93e4c
  7. Apr 10, 2018
  8. 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
    • Wei Tang's avatar
      Decouple rocksdb dependency from ethcore (#8320) · c039ab79
      Wei Tang authored
      * Move client DB opening logic to CLI
      
      * Move restoration db open logic to CLI
      
      This adds KeyValueDBHandler which handles opening a new database, thus allow us to move the restoration db open logic
      out of ethcore.
      
      * Move rocksdb's compactionprofile conversion to CLI
      
      * Move kvdb_rocksdb as test dependency for ethcore
      
      * Fix tests due to interface change
      
      * Fix service tests
      
      * Remove unused migration dep for ethcore
      c039ab79
  9. Mar 13, 2018
  10. Mar 12, 2018
  11. Jan 19, 2018
  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. Jan 03, 2018
    • André Silva's avatar
      Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) · e114b0b2
      André Silva authored
      * kvdb-rocksdb: update to RocksDB 5.8.8
      
      * kvdb-rocksdb: tune RocksDB options
      
      * Switch to level-style compaction
      * Increase default block size (16K), and use bigger blocks for HDDs (64K)
      * Increase default file size base (64MB SSDs, 256MB HDDs)
      * Create a single block cache shared across all column families
      * Tune compaction settings using RocksDB helper functions, taking into account
        memory budget spread across all columns
      * Configure backgrounds jobs based on the number of CPUs
      * Set some default recommended settings
      
      * ethcore: remove unused config blockchain.db_cache_size
      
      * parity: increase default value for db_cache_size
      
      * kvdb-rocksdb: enable compression on all levels
      
      * kvdb-rocksdb: set global db_write_bufer_size
      
      * kvdb-rocksdb: reduce db_write_bufer_size to force earlier flushing
      
      * kvdb-rocksdb: use master branch for rust-rocksdb dependency
      e114b0b2
  14. Dec 21, 2017
  15. Oct 16, 2017
  16. Oct 12, 2017
  17. 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
  18. Sep 15, 2017
  19. Sep 05, 2017
  20. Sep 04, 2017
  21. Sep 01, 2017
  22. Aug 22, 2017
  23. Jul 29, 2017
  24. Jun 22, 2017
  25. Feb 20, 2017
    • asynchronous rob's avatar
      Save pending local transactions in the database (#4566) · 62b340f2
      asynchronous rob authored
      * Create new column family for local node info
      
      * remove DBTransaction::new reliance on DB
      
      * KeyValueDB trait
      
      * InMemory KeyValueDB implementation
      
      * journaldb generic over KVDB
      
      * make most of `ethcore` generic over KVDB
      
      * fix json tests compilation
      
      * get all tests compiling
      
      * implement local store (just for transactions)
      
      * finish local store API, test
      
      * put everything into place
      
      * better test for skipping bad transactions
      
      * fix warning
      
      * update local store every 15 minutes
      
      * remove superfluous `{}`s
      62b340f2
  26. Jan 25, 2017
    • Gav Wood's avatar
      Fix whitespace (#4299) · 8404edb6
      Gav Wood authored
      * Fix whitespace.
      
      * Update copyright years/owner.
      
      * Push release only for tags.
      8404edb6
    • Nikolay Volf's avatar
      Stratum up (#4233) · 1acc8031
      Nikolay Volf authored
      * flush work
      
      * flush work
      
      * flush work
      
      * flush work
      
      * generalized notifiers
      
      * general setup with modules
      
      * general setup with modules
      
      * all binded
      
      * catch up with master
      
      * all dependencies injected
      
      * stratum another up
      
      * tcp update
      
      * submitwork routine
      
      * finalize & fix warnings
      
      * merge bugs, review fixes
      
      * merge bugs, review fixes
      
      * new cli mess cleanup
      
      * usage.txt swap
      
      * flush work
      
      * cli adopt
      
      * compilation with new cli sorted
      
      * subid space in json
      
      * serialization issues
      
      * grumbles addressed
      
      * more grumbles
      
      * remove last_work note for now
      
      * fix compilation
      
      * fix tests
      
      * merge bugs
      
      * no obliged ipc
      
      * moving notifiers
      
      * no optional feature now
      
      * refactored again
      
      * working on tests
      
      * refactor to new tcp/ip
      
      * stratum lib ok
      
      * ethcore crate ok
      
      * wip on tests
      
      * final test working
      
      * fix warnings, \n-terminated response
      
      * new compatibility
      
      * re-pushing work once anybody submitted
      
      * various review and general fixes
      
      * reviewe fixes
      
      * remove redundant notifier
      
      * one symbol -> huge bug
      
      * ensure write lock isn't held when calling handlers
      
      * extern declarations moved
      
      * options to stratum mod, SocketAddr strongly-typed instantiation
      
      * Minor style fix.
      
      * Whitespace and phrasing
      
      * Whitespace
      1acc8031
  27. Jan 10, 2017
    • keorn's avatar
      Validator/authority contract (#3937) · be30c441
      keorn authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * dir
      
      * simple validator list
      
      * stub validator contract
      
      * make the engine hold Weak<Client> instead of IoChannel
      
      * validator set factory
      
      * register weak client with ValidatorContract
      
      * check chain security
      
      * add address array to generator
      
      * register provider contract
      
      * update validator set on notify
      
      * add validator contract spec
      
      * simple list test
      
      * split update and contract test
      
      * contract change
      
      * use client in tendermint
      
      * fix deadlock
      
      * step duration in params
      
      * adapt tendermint tests
      
      * add storage fields to test spec
      
      * constructor spec
      
      * execute under wrong address
      
      * create under correct address
      
      * revert
      
      * validator contract constructor
      
      * move genesis block lookup
      
      * add removal ability to contract
      
      * validator contract adding validators
      
      * fix basic authority
      
      * validator changing test
      
      * more docs
      
      * update sync tests
      
      * remove env_logger
      
      * another env_logger
      
      * cameltoe
      
      * hold EngineClient instead of Client
      
      * add a comment about lock scope
      be30c441
  28. Dec 27, 2016
  29. Dec 12, 2016
  30. Dec 11, 2016
  31. Dec 10, 2016