Commit Graph

419 Commits

Author SHA1 Message Date
David Palm 93e7ccae1c Add 'plain_hasher/' from commit '10d8df665b00bc28f18f8e58aa8e0a3702318fb6'
git-subtree-dir: plain_hasher
git-subtree-mainline: d186724e50
git-subtree-split: 10d8df665b
2018-07-03 11:09:10 +02:00
David Palm d186724e50 Add rlp, triehash and hashdb to workspace 2018-07-03 11:06:37 +02:00
David Palm 10cfb41872 Add 'memorydb/' from commit '8805eb968d2fa41c5f37be82a29b0decbb598754'
git-subtree-dir: memorydb
git-subtree-mainline: ed4aa8c4c6
git-subtree-split: 8805eb968d
2018-07-03 11:00:05 +02:00
David Palm ed4aa8c4c6 Add 'hashdb/' from commit '8b968c0609746cc2369966cd02f21fe298d51b03'
git-subtree-dir: hashdb
git-subtree-mainline: 652774a6d7
git-subtree-split: 8b968c0609
2018-07-03 10:47:10 +02:00
David Palm 652774a6d7 Rename keccak_hash to keccak-hash for consistency
Fix ref to ethcore-bytes
2018-07-03 10:35:59 +02:00
David Palm c4fb694dd3 Add trie-standardmap to workspace 2018-07-03 10:34:11 +02:00
David Palm 205180ec6a Add 'trie-standardmap/' from commit 'fbb8024a7a8f72d3569146ddc31230686f9c8e99'
git-subtree-dir: trie-standardmap
git-subtree-mainline: a3fbe68b78
git-subtree-split: fbb8024a7a
2018-07-03 10:32:26 +02:00
David Palm a3fbe68b78 Don't use the 'version' key inside `common` 2018-07-03 10:32:14 +02:00
David Palm fefe267f73 Add 'rlp/' from commit 'ea070971703129a14d47f73bc3f30cfd359ded6d'
git-subtree-dir: rlp
git-subtree-mainline: 502c639758
git-subtree-split: ea07097170
2018-07-03 10:24:20 +02:00
David Palm 502c639758 Add 'keccak_hash/' from commit '18e926bba0d84ab8df996b399f47332f0f2524b7'
git-subtree-dir: keccak_hash
git-subtree-mainline: 8fdafc5b2e
git-subtree-split: 18e926bba0
2018-07-03 10:20:04 +02:00
David Palm 8fdafc5b2e Add triehash to workspace 2018-07-03 10:19:55 +02:00
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 938b7634c9 Make HashDB generic (#8739)
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
2018-07-02 18:50:05 +02:00
David 10d8df665b Make HashDB generic (#8739)
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
2018-07-02 18:50:05 +02:00
David 8805eb968d Make HashDB generic (#8739)
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
2018-07-02 18:50:05 +02:00
David 8b968c0609 Make HashDB generic (#8739)
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
2018-07-02 18:50:05 +02:00
David ea07097170 Make HashDB generic (#8739)
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
2018-07-02 18:50:05 +02:00
Marek Kotewicz 437995dc6f simplify kvdb error types (#8924) 2018-07-02 10:04:48 +01:00
Marek Kotewicz 61defb3974 simplify kvdb error types (#8924) 2018-07-02 10:04:48 +01:00
Marek Kotewicz e59e305e06 simplify kvdb error types (#8924) 2018-07-02 10:04:48 +01: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 4b86a7c6b2 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
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
Toralf Wittner 713a3d77fc Add type for passwords. (#8920)
* Add type for passwords.

* Fix test.

* Simplify `Drop` impls of `Password` and `Memzero`.

* Spaces to tabs.

* Custom `Drop` impl for `Password`.
2018-06-22 15:09:15 +02:00
Marek Kotewicz eb093281e3 new blooms database (#8712)
* 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
2018-06-20 15:13:07 +02:00
Marek Kotewicz 3cc665a530 cleanup nibbleslice (#8915) 2018-06-18 12:13:11 +02:00
Boyu Yang baff4372f1 Prefix '0x' for lower hex with alternate flag. 2018-06-11 22:50:26 +08:00
Boyu Yang 40818ee8e2 Prefix '0x' for lower hex with alternate flag. 2018-06-11 22:50:26 +08:00
kingoflolz 53eff543b7 add *Assign operators, make most operators work on Into<type> and make most operators work on references on uint (#31) 2018-06-04 14:49:30 +02:00
kingoflolz 12f9448a93 add *Assign operators, make most operators work on Into<type> and make most operators work on references on uint (#31) 2018-06-04 14:49:30 +02:00
Niklas Adolfsson 07278e72dc 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 fbb8024a7a 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 18e926bba0 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 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 db7a6990dc 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 f0628f5450 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 fc8debe105 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 37971f7296 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 2ce27a5372 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
Niklas Adolfsson d79b9052ef 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 fbacf4688a 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 2de6e41374 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
Svyatoslav Nikolsky 78087ffc6c ease tiny-keccak version requirements (1.4.1 -> 1.4) (#8726) 2018-05-31 14:07:35 +02:00