Commit Graph

457 Commits

Author SHA1 Message Date
David Palm 70a778a43c cleanup 2018-07-13 18:35:00 +02:00
David Palm f8ee2e6e1a Move tests from `primitives/tests` to `uint`
Fix wonky example causing long compile times
2018-07-13 17:58:26 +02:00
David Palm 646fe8cfb7 Add 'uint/tests/' from commit '716691c42b794ad004d95df5ecdc77fe7d3b9d3b'
git-subtree-dir: uint/tests
git-subtree-mainline: 9144702316
git-subtree-split: 716691c42b
2018-07-13 15:19:51 +02:00
David Palm 9144702316 Move formatting test from `primitives` 2018-07-13 15:12:00 +02:00
David Palm 716691c42b Remove uint (moved to parity-common) 2018-07-13 14:29:10 +02:00
David Palm bd8ea85d50 Add uint to workspace
Fix compiler warning
Bump version
2018-07-13 12:23:15 +02:00
David Palm 9c065b76b0 Add 'uint/' from commit '043569906ba7a817abde33877fe1f71cdbc87749'
git-subtree-dir: uint
git-subtree-mainline: d2e4ec5b31
git-subtree-split: 043569906b
2018-07-13 12:03:03 +02:00
David Palm d2e4ec5b31 Fix warning about unused result
Fix homepage in manifest
Add sanity-check test
2018-07-13 10:32:10 +02:00
David Palm d31562b0a9 Add 'fixed-hash/' from commit 'd922258255841e97218cf0f3b05a4e5779f4596a'
git-subtree-dir: fixed-hash
git-subtree-mainline: 4481687a81
git-subtree-split: d922258255
2018-07-13 09:09:37 +02:00
André Silva 4481687a81
Merge pull request #9 from paritytech/fix/implement-default-for-memorydb
Fix bug where deriven Default impl causes panics
2018-07-12 17:18:44 +01:00
David 5f05acd90c
Merge pull request #11 from tomaka/revert-9077
Revert 9077
2018-07-12 08:03:13 +02:00
Pierre Krieger e94a11eea1
Restore Cargo.toml 2018-07-11 15:58:54 +02:00
Pierre Krieger 9549b0b2b7
Revert "Replace `std::env::home_dir` with `dirs::home_dir` (#9077)"
This reverts commit da70a7850f.
2018-07-11 15:57:33 +02:00
David Palm 1e8052765d Add readme for MemoryDB 2018-07-11 15:55:12 +02:00
David Palm f1ab6239d9 Fix bug with derives Default impl
Version bump: 0.2.1

Closes #8
2018-07-11 15:48:04 +02:00
David Palm c58839b3e0 README for keccak-hash 2018-07-10 18:42:39 +02:00
David Palm 35c637400a README for hashdb 2018-07-10 18:39:27 +02:00
David Palm 30da392933 README for triehash 2018-07-10 18:35:13 +02:00
David a72c34f82f Upstream cda535: db: remove wal disabling / fast-and-loose option (#7) 2018-07-10 15:58:21 +02:00
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
Tomasz Drwięga 69740c4f74 A last bunch of txqueue performance optimizations (#9024)
* Clear cache only when block is enacted.

* Add tracing for cull.

* Cull split.

* Cull after creating pending block.

* Add constant, remove sync::read tracing.

* Reset debug.

* Remove excessive tracing.

* Use struct for NonceCache.

* Fix build

* Remove warnings.

* Fix build again.
2018-07-05 16:27:48 +01: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
Marek Kotewicz d922258255 Merge pull request #37 from yangby-cryptape/hash-lowerhex-alternate
Prefix '0x' for lower hex with alternate flag.
2018-07-05 11:48:19 +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