Hawstein
dd7a60c7a8
rename trie to patricia-trie
2017-09-15 11:49:26 +08:00
Hawstein
ade37be25b
separate trie from util and make its dependencies into libs:
...
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00
Fredrik
e54784bfeb
Merge branch 'master' into fo-6418-dont-export-bigint
...
# Conflicts:
# dapps/src/tests/helpers/registrar.rs
# ethcore/evm/src/interpreter/shared_cache.rs
# ethcore/light/src/client/header_chain.rs
# ethcore/light/src/client/mod.rs
# ethcore/light/src/net/mod.rs
# ethcore/light/src/on_demand/request.rs
# ethcore/light/src/on_demand/tests.rs
# ethcore/light/src/provider.rs
# ethcore/node_filter/src/lib.rs
# ethcore/src/block.rs
# ethcore/src/blockchain/blockchain.rs
# ethcore/src/client/test_client.rs
# ethcore/src/engines/authority_round/mod.rs
# ethcore/src/engines/basic_authority.rs
# ethcore/src/engines/mod.rs
# ethcore/src/engines/tendermint/mod.rs
# ethcore/src/engines/validator_set/contract.rs
# ethcore/src/engines/validator_set/multi.rs
# ethcore/src/engines/validator_set/safe_contract.rs
# ethcore/src/engines/vote_collector.rs
# ethcore/src/miner/external.rs
# ethcore/src/miner/miner.rs
# ethcore/src/miner/service_transaction_checker.rs
# ethcore/src/miner/work_notify.rs
# ethcore/src/pod_account.rs
# ethcore/src/pod_state.rs
# ethcore/src/snapshot/block.rs
# ethcore/src/snapshot/consensus/work.rs
# ethcore/src/snapshot/mod.rs
# ethcore/src/snapshot/service.rs
# ethcore/src/spec/spec.rs
# ethcore/src/state/backend.rs
# ethcore/src/trace/db.rs
# ethcore/src/verification/queue/mod.rs
# ethcore/src/verification/verification.rs
# parity/informant.rs
# rpc/src/v1/helpers/dispatch.rs
# rpc/src/v1/helpers/light_fetch.rs
# rpc/src/v1/helpers/signing_queue.rs
# rpc/src/v1/impls/eth.rs
# rpc/src/v1/impls/eth_filter.rs
# rpc/src/v1/impls/eth_pubsub.rs
# rpc/src/v1/impls/light/eth.rs
# rpc/src/v1/impls/signing.rs
# rpc/src/v1/tests/helpers/miner_service.rs
# rpc/src/v1/tests/helpers/snapshot_service.rs
# rpc/src/v1/tests/helpers/sync_provider.rs
# rpc/src/v1/tests/mocked/eth.rs
# stratum/src/lib.rs
# sync/src/blocks.rs
# sync/src/chain.rs
# sync/src/light_sync/mod.rs
# sync/src/tests/helpers.rs
# sync/src/tests/snapshot.rs
# updater/src/updater.rs
# util/src/lib.rs
# util/triehash/src/lib.rs
2017-09-04 18:32:55 +02:00
Fredrik
308f36a532
Don't reexport bigint from util
2017-09-04 16:36:49 +02:00
Marek Kotewicz
b731ccea18
triehash is separated from util ( #6428 )
2017-09-03 09:11:14 +02:00
debris
f0e8abb07b
Hashable::sha3 -> fn keccak for ethcore
2017-08-30 19:18:28 +02:00
debris
4cb610d9ae
Itertools are no longer reexported from util, optimized triedb iter
2017-08-17 16:05:26 +02:00
Marek Kotewicz
46183b1cdd
bigint upgraded to version 3.0 ( #5986 )
...
* bigint upgraded to version 3.0
* fixed missing FromHex import in ethcore tests
* fixed missing FromHex import in rpc tests
2017-07-06 11:26:14 +02:00
Vurich
3d8dc11442
Upgrade elastic-array
to 0.9.0
...
This is a huge change, which includes some changes to replace code that
originally cloned to reuse allocations instead. The updated
`elastic-array` crate renames its consuming `Vec`-conversion method to
`into_vec`, which means that I can do a simple
`sed -i 's/to_vec/into_vec/'` and then fix the compilation errors.
This commit is probably a minor performance win and definitely a
significant readability win.
2017-06-29 13:05:33 +02:00
Nikolay Volf
e1fef5c732
Update dependencies and bigint api ( #5685 )
...
* update to latest bigint
* bump elastic array and deps
* fix rlp tests
* also update all smallvec deps
* fix doc test
* reduce parking in attempt to fix CI bug
* fix from/into electum bug
* remove duplicate imports
2017-05-24 12:31:33 +02:00
Marek Kotewicz
044d070667
rlp deserialization refactor, 30% faster ( #4901 )
...
* fixed naming of rlp modules
* RlpStream cleanup
* appending short rlp lists (0...55 bytes) is 25% faster
* RlpStream does not use bytes module, nor trait Stream
* removed unused code from rlp module
* compiling ethcore-util with new rlp serialization
* compiling parity with new rlp serialization
* fixed compiling ethcore-light with new rlp serialization
* fixed compiling ethsync with new rlp serialization
* moved rlp benches and rlp tests
* rlp deserialization refactor, 30% faster
* removed redundant comment, print
* fixed compiling parity with new rlp deserialization
* removed redundant double-space
* fixed failing test
* updated rlp docs, removed unused traits
* fixed rlp benchmarks
* replace usage of WriteBytesExt with ByteOrder
* removed unused, commented out code
* fixed merge conflict
2017-03-22 14:41:46 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Robert Habermeier
9c00eb4e8a
Zero-alloc trie lookups ( #3998 )
...
* triedb cleanup
* factor out common portion of trie query
* allocate far fewer times in node decoding
* fix bench compilation
* introduce OwnedNode variant to make iter fast again
* generalize recorder trait to Query
* decode trie outputs cost-free in state
* test for passing closure as query
2017-01-06 16:18:45 +01:00
Gav Wood
17cc2be4b5
Rename ethcore -> parity in license.
2016-12-11 19:30:54 +01:00
Tomasz Drwięga
9f002a8a94
Fixing benches
2016-11-14 13:29:49 +01:00
Tomasz Drwięga
0017a43364
Making Trie.iter non-recursive ( #2733 )
2016-10-20 14:49:44 +02:00
Robert Habermeier
eed3ef403a
remove randomness from bigint benches, fix warnings ( #1945 )
2016-08-17 22:36:55 +02:00
Nikolay Volf
9e88acb8c8
fix benches compilation ( #1931 )
2016-08-15 22:02:53 +02:00
debris
e8c451ac82
cleaning up hash reexports
2016-08-03 18:05:17 +02:00
Robert Habermeier
a7511b6b02
fix benchmark compilation ( #1612 )
2016-07-13 20:45:15 +02:00
Tomasz Drwięga
389779d86c
Updating benchmarks to avoid inlining/optimizing
2016-03-09 00:05:47 +01:00
Tomasz Drwięga
4717be07d6
Optimizing mul_u32
2016-03-07 16:45:50 +01:00
Nikolay Volf
cfbaa2d6e9
fixed namespaces
2016-03-05 14:25:46 +03:00
Nikolay Volf
1a4e95a9dc
u256*u256->u512
2016-02-29 18:57:46 +03:00
Nikolay Volf
98a75d06d1
benches
2016-02-26 23:37:13 +03:00
Nikolay Volf
4b0ec64299
random init for benches
2016-02-25 22:48:34 +03:00
Nikolay Volf
5467b06c4f
fix bench iter
2016-02-25 16:40:36 +03:00
Nikolay Volf
ae76a509dc
inline test
2016-02-25 03:10:02 +03:00
Nikolay Volf
da69ea51fe
inline
2016-02-25 03:09:33 +03:00
Nikolay Volf
ccaa194681
mul, bench showtime
2016-02-25 02:00:34 +03:00
Nikolay Volf
7821505139
sub x64 optimize
2016-02-24 23:08:21 +03:00
Nikolay Volf
dd8652dbf4
u256 to inline assembly opt
2016-02-24 21:17:29 +03:00
debris
3ffaed9857
fixed util benches on nighly
2016-02-14 13:25:12 +01:00
debris
c90d64662a
added license in every *.rs file
2016-02-05 13:40:41 +01:00
debris
620146bdda
uncomment rlp benches
2016-02-02 02:38:15 +01:00
debris
21913b29b5
Merge branch 'master' into travis_fixes
2016-02-02 02:37:43 +01:00
debris
26652a2ed8
fixed rlp benchmarks
2016-02-02 02:31:17 +01:00
Gav Wood
54924d14b3
Include JSONRPC CLI options.
...
Bump version numbers.
Update Trie benchmarks.
Disable RLP benchmark (@debrid please fix).
2016-02-02 01:59:14 +01:00
Gav Wood
6ea8eaa3b5
Move ethcore files back into root.
2016-01-17 13:11:25 +01:00