Commit Graph

227 Commits

Author SHA1 Message Date
David Palm 7d309b2309 more generic: hash256rlp and hash256aux takes a Hasher 2018-07-06 18:11:53 +02:00
David Palm b471d516dd WIP make generic 2018-07-06 17:27:50 +02:00
David Palm b0d4a0307a WIP todos and doc tweaks 2018-07-06 16:29:03 +02:00
David Palm e0e9797981 Include kvdb in the workspace and load from relative path 2018-07-06 15:44:08 +02:00
David Palm 7f9d504827 Add 'kvdb-memorydb/' from commit '320c1efe278ce3d025a478ee62e411868f369009'
git-subtree-dir: kvdb-memorydb
git-subtree-mainline: 4276cdf2bc
git-subtree-split: 320c1efe27
2018-07-06 15:39:00 +02:00
David Palm 4276cdf2bc Fancy badge 2018-07-06 14:31:46 +02:00
David 54e5331422
Update README.md 2018-07-06 14:26:57 +02:00
David Palm a8afb4c8ba TravisCI 2018-07-06 14:14:52 +02:00
David Palm 320c1efe27 Use crates from parity-common 2018-07-06 13:04:45 +02:00
David Palm dc5fbe4a38 readme 2018-07-06 12:22:35 +02:00
Marek Kotewicz 86577516bb reduce number of constraints for triedb types (#9043)
* NodeHandle does not require Hasher

* Node does not require Hasher

* change name of the template typo from I to O
2018-07-06 12:18:29 +02:00
David Palm 6e0b647ac9 Add copies of keccak-hasher and patricia-trie-ethereum so tests can run 2018-07-05 14:28:23 +02:00
David Palm 629d8f0edb "Solving" patricia_trie test dependencies with a brute-force copy into `test-support` 2018-07-05 14:27:22 +02:00
David Palm 58c796bf99 .gitignores 2018-07-05 14:25:33 +02:00
David Palm 9fede71c86 Add 'patricia_trie/' from commit '938b7634c910773e253c4a3e3ac787d9b01d36f5'
git-subtree-dir: patricia_trie
git-subtree-mainline: 7ebb72aebe
git-subtree-split: 938b7634c9
2018-07-05 13:02:40 +02:00
David Palm 7ebb72aebe Merge commit 'aa414988dcd1345921e8f0ead57be1394d007bec'
* commit 'aa414988dcd1345921e8f0ead57be1394d007bec':
  bump parking_lot to 0.6 (#9013)
2018-07-05 11:38:21 +02:00
David Palm bc7cfdbb41 Merge commit '437995dc6fdce8c55d0325a40181ea1019ac9b9d'
* commit '437995dc6fdce8c55d0325a40181ea1019ac9b9d':
  simplify kvdb error types (#8924)
2018-07-05 11:18:46 +02:00
David Palm cbf8c61707 Merge commit '9e0f85e0e5c3cb1961ecf7ea8bf278428f772da5'
* commit '9e0f85e0e5c3cb1961ecf7ea8bf278428f772da5':
  plain_hasher 0.1 is fine
2018-07-04 18:39:49 +02:00
David Palm 9e0f85e0e5 plain_hasher 0.1 is fine 2018-07-04 18:39:27 +02:00
David Palm 2738dc03c2 Use keccak-hasher from crates.io with nasty work-around for hashdb getting fetched twice (from local fs and crates.io) 2018-07-04 18:30:30 +02:00
David Palm a9a8d26534 Add memorydb to workspace
WIP pending publication of keccak-hasher to crates
2018-07-04 17:46:30 +02:00
Wei Tang e6a48e8ca1 bump parking_lot to 0.6 (#9013)
* Bump parking_lot to 0.6

* Bump parity-wasm to 0.31 so it gets rid of parking_lot

ref https://github.com/paritytech/parity-wasm/pull/206

* Update jsonrpc versions

* Update wasmi and pwasm-utils version

* Fix compile

* Update jsonrpc crates
2018-07-03 17:31:08 +02:00
Wei Tang aa414988dc bump parking_lot to 0.6 (#9013)
* Bump parking_lot to 0.6

* Bump parity-wasm to 0.31 so it gets rid of parking_lot

ref https://github.com/paritytech/parity-wasm/pull/206

* Update jsonrpc versions

* Update wasmi and pwasm-utils version

* Fix compile

* Update jsonrpc crates
2018-07-03 17:31:08 +02:00
David Palm 3f60f86118 Add ethcore-crypto and rename it to parity-crypto 2018-07-03 14:05:27 +02:00
David Palm c744beb8a6 Add 'ethcore-crypto/' from commit '4b86a7c6b2083083f9c86121304c569735c8bae6'
git-subtree-dir: ethcore-crypto
git-subtree-mainline: b8ba9f9821
git-subtree-split: 4b86a7c6b2
2018-07-03 14:03:30 +02:00
David Palm b8ba9f9821 Merge commit '3fb81d2e2fc909682a09305a48b70fe9ed871c4e'
* commit '3fb81d2e2fc909682a09305a48b70fe9ed871c4e':
  simplify kvdb error types (#8924)
2018-07-03 13:47:37 +02:00
Marek Kotewicz 3fb81d2e2f simplify kvdb error types (#8924) 2018-07-03 13:45:39 +02:00
David Palm 63d6beba45 Add kvdb-rocksdb to the workspace 2018-07-03 13:21:05 +02:00
David Palm e0411c955e Add 'kvdb-rocksdb/' from commit 'e59e305e0650fe05ea7384c9c81b8b9c08fe508f'
git-subtree-dir: kvdb-rocksdb
git-subtree-mainline: 692b94e5b3
git-subtree-split: e59e305e06
2018-07-03 12:21:19 +02:00
David Palm 692b94e5b3 Add path to workspace 2018-07-03 12:21:12 +02:00
David Palm 3b52c4301e Add 'path/' from commit '07278e72dca239739490cdd77a4742186f56de76'
git-subtree-dir: path
git-subtree-mainline: 1110c3b523
git-subtree-split: 07278e72dc
2018-07-03 12:17:32 +02:00
David Palm 1110c3b523 Add plain_hasher to workspace 2018-07-03 11:27:51 +02:00
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