1. Aug 05, 2016
    • asynchronous rob's avatar
      Snapshot creation and restoration (#1679) · 76a72463
      asynchronous rob authored
      * to_rlp takes self by-reference
      
      * clean up some derefs
      
      * out-of-order insertion for blockchain
      
      * implement block rebuilder without verification
      
      * group block chunk header into struct
      
      * block rebuilder does verification
      
      * integrate snapshot service with client service; flesh out implementation more
      
      * initial implementation of snapshot service
      
      * remove snapshottaker trait
      
      * snapshot writer trait with packed and loose implementations
      
      * write chunks using "snapshotwriter" in service
      
      * have snapshot taking use snapshotwriter
      
      * implement snapshot readers
      
      * back up client dbs when replacing
      
      * use snapshot reader in snapshot service
      
      * describe offset format
      
      * use new get_db_path in parity, allow some errors in service
      
      * blockchain formatting
      
      * implement parity snapshot
      
      * implement snapshot restore
      
      * force blocks to be submitted in order
      
      * fix bug loading block hashes in packed reader
      
      * fix seal field loading
      
      * fix uncle hash computation
      
      * fix a few bugs
      
      * store genesis state in db. reverse block chunk order in packed writer
      
      * allow out-of-order import for blocks
      
      * bring restoration types together
      
      * only snapshot the last 30000 blocks
      
      * restore into overlaydb instead of journaldb
      
      * commit version to database
      
      * use memorydbs and commit directly
      
      * fix trie test compilation
      
      * fix failing tests
      
      * sha3_null_rlp, not H256::zero
      
      * move overlaydb to ref_overlaydb, add new overlaydb without on-disk rc
      
      * port archivedb to new overlaydb
      
      * add deletion mode tests for overlaydb
      
      * use new overlaydb, check state root at end
      
      * share chain info between state and block snapshotting
      
      * create blocks snapshot using blockchain directly
      
      * allow snapshot from arbitrary block, remove panickers from snapshot creation
      
      * begin test framework
      
      * blockchain chunking test
      
      * implement stateproducer::tick
      
      * state snapshot test
      
      * create block and state chunks concurrently, better restoration informant
      
      * fix tests
      
      * add deletion mode tests for overlaydb
      
      * address comments
      
      * more tests
      
      * Fix up tests.
      
      * remove a few printlns
      
      * add a little more documentation to `commit`
      
      * fix tests
      
      * fix ref_overlaydb test names
      
      * snapshot command skeleton
      
      * revert ref_overlaydb renaming
      
      * reimplement snapshot commands
      
      * fix many errors
      
      * everything but inject
      
      * get ethcore compiling
      
      * get snapshot tests passing again
      
      * instrument snapshot commands again
      
      * fix fallout from other changes, mark snapshots as experimental
      
      * optimize injection patterns
      
      * do two injections
      
      * fix up tests
      
      * take snapshots from 1000 blocks efore
      
      * address minor comments
      
      * fix a few io crate related errors
      
      * clarify names about total difficulty
      
      [ci skip]
      76a72463
  2. Aug 03, 2016
  3. Aug 01, 2016
  4. Jul 30, 2016
    • Marek Kotewicz's avatar
      cache manager and clearing tracing cache (#1769) · bcf8cd6d
      Marek Kotewicz authored
      * removed configure_cache method
      
      * generic cache_manager struct
      
      * fixed #1743, tracing caches are cleared
      
      * removed deadlocks in garbage_collect, implemented HeapSizeOf for traces
      
      * trace cache config
      
      * fixed carbage typo
      bcf8cd6d
  5. Jul 28, 2016
    • Gav Wood's avatar
      Minor tweak to logging. Fix CLI help. · 4304f4a2
      Gav Wood authored
      4304f4a2
    • Tomasz Drwięga's avatar
      Single DB (#1741) · e4f0c0b2
      Tomasz Drwięga authored
      * Consolidation migration
      
      * Started db amalgamation
      
      * Using client constants for columns
      
      * Adding with_columns constructor
      
      * Migrating to single db
      
      * Fixing tests.
      
      * test.sh without verbose
      
      * Fixing warnings
      
      * add migration tests that catch the bug
      
      * make multiple migrations more robust
      
      * add moved v9
      
      * Merge branch 'noop-migrations' into single-db
      
      * spurious line
      
      * clean up migrations ordering
      
      * update comment [ci skip]
      
      * Bumping default number of max_open_files & re-ordering columns.
      
      * fix merge
      
      * fix ignored analysis tests
      
      * Caching best block content
      
      * Faster best_block_header
      
      * Adding progress to v8 migration
      
      * clean up warnings
      
      * Separate hashes and bodies in the DB
      
      * Separate hashes and bodies in the DB
      
      * Fixed tests
      e4f0c0b2
    • Gav Wood's avatar
      0934a283
  6. Jul 27, 2016
    • keorn's avatar
      Blocks and snapshot compression (#1687) · 02cf4868
      keorn authored
      * new Compressible rlp trait
      
      * new Compressible rlp trait
      
      * make compressed rlp iterable
      
      * make compressed rlp iterable
      
      * invalid rlp slice swapper
      
      * switch compress to swapper, add reverse swapper test case
      
      * add basic account compression test
      
      * add new rlp trait
      
      * new Compressible rlp trait
      
      * make compressed rlp iterable
      
      * invalid rlp slice swapper
      
      * invalid rlp slice swapper
      
      * switch compress to swapper, add reverse swapper test case
      
      * switch compress to swapper, add reverse swapper test case
      
      * add account compress/ decompress test
      
      * make compressor cleaner, use hashmaps for swapper
      
      * improve compression tests
      
      * add a DecompressingDecoder, change Decoder to take refernce
      
      * separate rlp compression related stuff
      
      * new Compressible rlp trait
      
      * new Compressible rlp trait
      
      * new Compressible rlp trait
      
      * make compressed rlp iterable
      
      * make compressed rlp iterable
      
      * make compressed rlp iterable
      
      * invalid rlp slice swapper
      
      * invalid rlp slice swapper
      
      * invalid rlp slice swapper
      
      * switch compress to swapper, add reverse swapper test case
      
      * switch compress to swapper, add reverse swapper test case
      
      * switch compress to swapper, add reverse swapper test case
      
      * add basic account compression test
      
      * add new rlp trait
      
      * add account compress/ decompress test
      
      * make compressor cleaner, use hashmaps for swapper
      
      * improve compression tests
      
      * add a DecompressingDecoder, change Decoder to take refernce
      
      * separate rlp compression related stuff
      
      * DecompressingDecoder test
      
      * initial compressing HashDB wrapper
      
      * remove unused test
      
      * change CompressedDB to struct wrapper with overlay
      
      * simplify compressor
      
      * failed RefCell attempt
      
      * use denote to return reference
      
      * compiled compresseddb
      
      * compressdb test, add overlay emplace
      
      * fix overlay reference count handling
      
      * add immutable compresseddb, make account use hashdb
      
      * simplify using trait objects
      
      * enable hashdb for account
      
      * initial state compression attempt
      
      * wrap state db
      
      * add tests for analyzing db
      
      * add account predicate
      
      * try to compress data fields as rlp too
      
      * remove compression for storage trie
      
      * add a compressing migration
      
      * more compression stats tests
      
      * fix migration import
      
      * nested encoding compression test
      
      * fix decompression, move db stats tests to rlpcompression
      
      * added malformed rlp tests, cover a few edge cases
      
      * new CompressingEncoder struct
      
      * extend migrations to state
      
      * first version working on the whole db
      
      * clean up Compressible impl
      
      * tests cleanup
      
      * add a testing migration
      
      * refactor deep compression using option, add simple compression
      
      * put tests in a module
      
      * fix compressed overlay loading
      
      * simple compression for snapshots
      
      * remove unused DecompressingDecoder
      
      * add a general compressing migration
      
      * add more common rlps to compress
      
      * use static slices for swapper
      
      * add precomputed hashes and invalid rlps
      
      * make decoder private again
      
      * cover more cases with tests
      
      * style
      
      * fix weird indentation
      
      * remove possible panic in payload_info
      
      * make prefix checking safe
      
      * fix db existence check
      
      * remove db dir from test
      
      * pass usize by value [ci skip]
      
      * Improve comment on panic removal.
      
      * add common blocks db rlps
      
      * add compression to blockchain db
      
      * add blocks db migration
      
      * fix the migrations
      
      * remove state compression
      
      * add a separate snapshot swapper
      
      * ability to use different swappers and traversal
      
      * update tests to new interface
      
      * clean up code ordering
      
      * update usage
      
      * fix compilation
      
      * remove unnecessary changes
      
      * move methods to functions to reduce interface
      
      * move test to module
      
      * update common rlps to blocks db
      
      * move tests to tests modules
      
      * remove redundant &
      02cf4868
  7. Jul 26, 2016
  8. Jul 25, 2016
    • Arkadiy Paronyan's avatar
      22a87b12
    • Gav Wood's avatar
      Log a chain-reorg. (#1715) · 856657e3
      Gav Wood authored
      * Log a chain-reorg.
      
      * Nicer output
      
      * Use imported rather than enacted.
      
      Enacted can include previously imported blocks which makes the
      info incorrect.
      856657e3
    • Arkadiy Paronyan's avatar
      Rotate blockchain cache (#1709) · 898f1410
      Arkadiy Paronyan authored
      898f1410
    • Marek Kotewicz's avatar
      cli overhaul (#1600) · 226fe8e0
      Marek Kotewicz authored
      * cli commands
      
      * cleanup parity/signer
      
      * cleanup parity/signer
      
      * remove redundant import of signer crate from main.rs
      
      * cli cleanup in progress
      
      * cli cleanup in progress
      
      * moved few commonly used functions to separate methods with tests
      
      * cleaning up blockchain import in progress
      
      * cleaning up blockchain import in progress2
      
      * cleaning up blockchain import in progress3
      
      * tests for database compaction profile parsing
      
      * cleaning up blockchain import in progress4
      
      * cleaning up blockchain import in progress5
      
      * blockchain import
      
      * export blockchain in progress
      
      * cleanup execute_export
      
      * Configuration::to_duration cleaned up
      
      * removed unused code, tests for to_duration
      
      * cleanup Configuration::mode function
      
      * parsing some of the cli params in params.rs
      
      * rpc and signer are no longer optional
      
      * move importing extern crates to main.rs file
      
      * swipe dies from rpc module
      
      * swipe dies from dapps
      
      * finding deprecated
      
      * several tests and fixes for parity
      
      * parity cleanup in progress
      
      * cleanup price parsing
      
      * parity cleanup in progress
      
      * swiped all dies
      
      * parity cleanup in progress
      
      * replace usages of from_str with parse() in parity/params.rs
      
      * removed few more from_str
      
      * split parity/params.rs into params and helpers
      
      * removed wildcard import from configuration.rs
      
      * cleanup directories/path creation
      
      * cleaning up run cmd
      
      * moved LoggerConfig
      
      * defaults for cli params
      
      * fixed indention in raise_fd_limit
      
      * tests for rpc_apis
      
      * tests for default ipc and rpc settings
      
      * ipc socket
      
      * cleanup in progress
      
      * account service
      
      * cleanup miner config
      
      * BlockChain commands use Directiores structure now
      
      * client_config
      
      * network settings and dapps configuration
      
      * removing warnings
      
      * default logger config
      
      * fixed client_path
      
      * overhaul
      
      * fixing export && import
      
      * default export DataFormat
      
      * import and export also upgrade db
      
      * fixed export && import
      
      * polishing pr
      
      * polishing pr
      
      * fixed custom bootnodes
      
      * fixed daemonize on windows
      
      * fixed setting up enable network
      
      * finished pr
      
      * fixed compiling on windows
      
      * Fixed warning; windows build
      
      * Better cache management
      
      * Fixed tests on windows
      
      * Fixed test
      
      * Restored pruning method names
      
      * --cache alias
      
      * Fixed more tests
      
      * Ensure default options actually listed as valid
      
      [ci:skip]
      226fe8e0
    • Arkadiy Paronyan's avatar
      Fixing warnings (#1705) · f048839a
      Arkadiy Paronyan authored
      f048839a
  9. Jul 23, 2016
  10. Jul 19, 2016
  11. Jul 17, 2016
  12. Jul 14, 2016
  13. Jul 13, 2016
  14. Jul 07, 2016
    • Nikolay Volf's avatar
      Client IPC Interface (#1493) · 8282c7dd
      Nikolay Volf authored
      * btree map serializer
      
      * serde tests
      
      * state diff serialization
      
      * basic layout
      
      * more missing serializaers
      
      * uncle returns rlp
      
      * block queue info
      
      * sorting with transaction result
      
      * sorting out util imports
      
      * transaction import result sorting also
      
      * sorting filters & ranges
      
      * error sorting out
      
      * deriving ipc service compiling
      
      * rpc & sync recompile
      
      * sorting rpc using uncles
      
      * fix compilation
      
      * fix merging bugs
      
      * fix unused imports
      
      * fix all warnings
      
      * tests stub
      
      * some merge bugs
      
      * ethcore compilation
      
      * fix rpc compilation
      
      * deriving attribute
      
      * tests (and fixes)
      
      * rpc test working
      
      * fix warnings again
      
      * rs.in -> rs
      
      * missing attribute
      
      * refactored tree changes
      
      * paste reformat mess fix
      
      * pub mod actually
      
      * intendation fix
      8282c7dd
    • Gav Wood's avatar
      Switch out .X().unwrap() for .unwrapped_X · 3b662c28
      Gav Wood authored
      3b662c28
  15. Jul 04, 2016
  16. Jun 30, 2016
  17. Jun 29, 2016
  18. Jun 20, 2016
  19. May 26, 2016
    • Marek Kotewicz's avatar
      Bloomchain (#1014) · 7370776a
      Marek Kotewicz authored
      * use bloomchain crate in blockchain module. remove obsole chainfilter submodule
      
      * update database version to 6.0
      
      * removed redundant line
      
      * simple db migration
      
      * make migration slightly more functional
      
      * bloomchain migration
      
      * migration version is just a single unsigned integer
      
      * updated migration v6
      
      * parity migration
      
      * db migration
      
      * removed hardcoded migration dir
      
      * replace ptr::copy with clone_from_slice, removed potential endianess problem from trace/db.rs
      
      * removed superfluous line
      
      * blockchains log blooms config is not exposed any more
      7370776a
  20. May 24, 2016
  21. May 16, 2016
    • Nikolay Volf's avatar
      Moving all Client public API types to separate mod & binary serialization... · 4e41cbca
      Nikolay Volf authored
      Moving all Client public API types to separate mod & binary serialization codegen for that mod (#1051)
      
      * transaction moved
      
      * trash remove
      
      * ids move
      
      * receipt
      
      * tree-route
      
      * blockchain info
      
      * log_entry move
      
      * trace filter moved
      
      * executed & trace moved
      
      * localized trace moved
      
      * block status moved
      
      * build scripts and codegen refs
      
      * Cargo.lock update
      
      * binary for blockstatus, blockchaininfo
      
      * binary for trace
      
      * trace filters binary ser
      
      * binary for log entries & executed
      
      * binary for receipt
      
      * special case for u8 & transaction binary attribute
      
      * resolved remaining issues & error binary serialization
      
      * json-tests util import
      
      * fix warnings
      
      * ids attr
      
      * add missing attributes
      
      * Update build.rs
      4e41cbca
  22. May 05, 2016
  23. Apr 30, 2016
    • Marek Kotewicz's avatar
      Core tracedb functionality. (#996) · 66477a94
      Marek Kotewicz authored
      * fixed encoding 0u8
      
      * simplified if else stmt
      
      * tracedb core
      
      * more comprehensive tracedb tests
      
      * fixed minor review issues
      
      * addresses filter
      
      * fixed typos
      
      * replace malformed with corrupted
      
      * trace switch
      
      * db key is generic and can be made smaller
      
      * smaller tracedb keys
      
      * tracedb version
      
      * fixed ignored tests
      
      * rename Tracedb -> TraceDB
      
      * fixed typos
      
      * proves
      
      * trace only top level calls to builtins to avoid DDoS attacks
      
      * fixed tracedb config switches
      
      * fix comments fat replaced with trace
      
      * vector-addressing scheme for localized traces
      
      * removed comments
      
      * removed first, redundant 0 from trace address
      
      * updated db.trace method
      
      * additional tests for tracedb.trace()
      66477a94
  24. Apr 24, 2016