Commit Graph

240 Commits

Author SHA1 Message Date
David Palm 0d6a1e653e Use tiny_keccak directly
Fix warnings about unused values
2018-07-10 13:23:22 +02:00
David d322bcebd2
Merge pull request #4 from paritytech/chore/publish-triehash-v0.2
Prep for publication of triehash v0.2 to crates.io
2018-07-10 10:35:18 +02:00
David Palm a7c4a52397 Prep for publication to crates.io 2018-07-09 17:59:41 +02:00
Niklas Adolfsson da70a7850f Replace `std::env::home_dir` with `dirs::home_dir` (#9077)
`std::env::home_dir` is deprecated but will probably take a while until
it is deprecated on stable. For more info see https://github.com/rust-lang/rust/pull/51656
2018-07-09 17:29:24 +02:00
David 1803c0f378
Merge pull request #2 from paritytech/refactor/triehash-generic-over-hasher
Make triehash generic over hasher
2018-07-09 16:22:10 +02:00
David Palm 43ba23969e Address grumbles 2018-07-09 16:12:50 +02:00
David Palm beafa8f2df Fix toml syntax
Add keccak-hasher test-helper as a test dep
2018-07-06 19:35:03 +02:00
David Palm 2b195f04aa Merge branch 'master' into refactor/triehash-generic-over-hasher
* master:
  Bump triehash to v0.1.1
  Prepare triehash for cargo publication
2018-07-06 19:32:43 +02:00
David Palm 77872d8515 Bump triehash to v0.1.1 2018-07-06 19:28:41 +02:00
David Palm 692de29a8c Prepare triehash for cargo publication 2018-07-06 19:27:08 +02:00
David Palm 42214ad1c4 Upgrade patricia_trie to use triehash v0.2
Bump patricia_trie to v0.2.1
2018-07-06 19:00:41 +02:00
David Palm 83e2ce2fc0 Bump version to 0.2 2018-07-06 18:38:47 +02:00
David Palm 67cc810f8b Remove keccak_hash dependency 2018-07-06 18:13:38 +02:00
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