Commit Graph

36 Commits

Author SHA1 Message Date
David Palm 309f8e3056 Add 'triehash/' from commit '1aa25358ac3b483945316b294667f103827dca1e'
git-subtree-dir: triehash
git-subtree-mainline: 2f909101d1
git-subtree-split: 1aa25358ac
2018-07-03 10:12:44 +02:00
David Palm 2f909101d1 Rename ethcore-bytes to parity-bytes 2018-07-03 09:37:32 +02:00
David Palm bb948c0f39 Fix a path
Simpler root Cargo.toml
2018-06-29 11:56:26 +02:00
David Palm 2ce4df3ea9 Add 'kvdb/' from commit '2c7aa1f22c3e08616e0232d35a3fae267b7abba7'
git-subtree-dir: kvdb
git-subtree-mainline: 51357c1d83
git-subtree-split: 2c7aa1f22c
2018-06-29 11:37:08 +02:00
David Palm 51357c1d83 Add 'ethcore-bytes/' from commit 'bdda2d56282ec07f598f81f26cb27093a9f44c5d'
git-subtree-dir: ethcore-bytes
git-subtree-mainline: ec2818dafa
git-subtree-split: bdda2d5628
2018-06-29 11:26:25 +02:00
David Palm ec2818dafa Add bare-bones Cargo.toml 2018-06-29 11:10:58 +02:00
David 3e2c767c56
Initial commit 2018-06-29 10:45:56 +02:00
David 2c7aa1f22c Bump error-chain and quick_error versions (#8972)
* Update error-chain to 0.12 to silence warnings

* Bump quick_error crate to 1.2.2  to silence linter warnings
2018-06-25 14:20:44 +02:00
Niklas Adolfsson 1aa25358ac Update `license header` and `scripts` (#8666)
* 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
2018-06-04 10:19:50 +02:00
Niklas Adolfsson bdda2d5628 Update `license header` and `scripts` (#8666)
* 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
2018-06-04 10:19:50 +02:00
Niklas Adolfsson 63eadc1f1e Update `license header` and `scripts` (#8666)
* 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
2018-06-04 10:19:50 +02:00
Wei Tang 38d865143c Decouple rocksdb dependency from ethcore (#8320)
* 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
2018-04-09 14:21:37 +02:00
Tomasz Drwięga e4037e26b6 Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types.

* Fix test.

* Fix hex encodings.
2018-04-02 12:12:52 +01:00
Tomasz Drwięga 965af45dd9 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Tomasz Drwięga 70cf288545 Avoid allocations when computing triehash. (#8176)
* Avoid allocations when computing triehash.

* Bump elastic-array to 0.10
2018-03-22 09:24:46 +01:00
Marek Kotewicz fb4c561411 simplify compression and move it out of rlp crate (#7957)
* simplify compression and move it out of rlp crate

* removed lazy_static dependency from rlp
2018-02-23 10:12:52 +01:00
André Silva 269f95ad9c kvdb-rocksdb: remove buffered operations when committing transaction (#7950) 2018-02-20 17:20:30 +01:00
Marek Kotewicz 61cdc50429 bring back trie and triehash benches (#7926) 2018-02-19 12:03:54 +01:00
Marek Kotewicz 8ac8d57573 triehash optimisations (#7920) 2018-02-16 20:24:16 +01:00
Marek Kotewicz b3c085a101 ethabi version 5 (#7723)
* 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
2018-02-09 09:32:06 +01:00
Marek Kotewicz 76fcce1f03 dissolve util (#7460)
* 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
2018-01-10 15:35:18 +03:00
debris 032980ac1a use error-chain in ethcore-network 2017-11-13 16:48:58 +01:00
Robert Habermeier 88b0b42258 update rlp 2017-11-10 20:22:45 +01:00
Robert Habermeier 33f32ae3a4 rename hash crate to keccak-hash 2017-11-10 20:08:28 +01:00
Robert Habermeier abf3f0d9b9 update ethcore-bigint version 2017-11-10 18:50:45 +01:00
Robert Habermeier bff712d510 prepare cargo configuration for upload of crates 2017-11-10 18:31:31 +01:00
Robert Habermeier 0e54286166 prepare cargo configuration for upload of crates 2017-11-10 18:31:31 +01:00
debris a134755049 require stable error-chain 2017-10-16 12:15:19 +02:00
debris d4d7781866 KeyValueDB trait uses errors instead of strings 2017-10-16 12:11:35 +02:00
debris dd3acb8f40 Merge branch 'master' into kvdb_split 2017-10-15 16:40:20 +02:00
debris 3ef36aa844 docs 2017-10-15 16:18:45 +02:00
Dmitry Kashitsyn 5820197e4d Removes redundant `mut` in util 2017-10-15 20:11:34 +07:00
debris cb3a02ecb4 separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb, #6693 2017-10-12 15:36:27 +02:00
Marek Kotewicz 376cbd9ab5 Separate migrations from util (#6690)
* 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
2017-10-10 20:01:27 +02:00
Hawstein 37dab7c230 separate trie from util and make its dependencies into libs:
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00
Marek Kotewicz ea6b031298 triehash is separated from util (#6428) 2017-09-03 09:11:14 +02:00