Commit Graph

457 Commits

Author SHA1 Message Date
Niklas Adolfsson 043569906b nits (#39)
* Use b`x` instead of `x` as u8 -> no casting required
* Use more human-friendly repr of hex value
2018-07-05 11:33:55 +02:00
Niklas Adolfsson a530eec63e ethereum-types `make it work in no_std` (#42)
* fix error on nightly

* make it work on no-std by disabling default ft
2018-07-05 11:33:17 +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
Tomasz Drwięga e22c3470d6 Never drop local transactions from different senders. (#9002) 2018-07-03 11:36:59 +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
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
Tomasz Drwięga 758a7bea9d Minimal effective gas price in the queue (#8934)
* Minimal effective gas price.

* Fix naming, add test

* Fix minimal entry score and add test.

* Fix worst_transaction.

* Remove effective gas price threshold.

* Don't leak gas_price decisions out of Scoring.
2018-06-30 11:11:31 +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 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
David 4413ddc2d2 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