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
Marek Kotewicz
7e3c081007
Merge pull request #6464 from paritytech/util_deps_cleanup
...
cleanup util dependencies
2017-09-05 16:21:05 +02:00
Marek Kotewicz
78c264769e
Merge pull request #6463 from paritytech/earlymergedb_traces
...
removed redundant earlymergedb trace guards
2017-09-05 16:20:43 +02:00
debris
4d0e05a8c1
cleanup util dependencies
2017-09-05 13:08:32 +02:00
debris
2b11448b45
removed redundant earlymergedb trace guards
2017-09-05 12:54:00 +02:00
debris
236b6f1c3e
UtilError uses error_chain!, moved OutOfBounds and Mismatched to unexpected crate
2017-09-05 12:14:03 +02: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
Hawstein
7b8af30590
remove re-export of parking_lot in util ( #6435 )
2017-09-02 20:09:13 +02:00
Hawstein
2faa28ce9b
separate semantic_version from util ( #6438 )
2017-09-02 13:14:21 +02:00
Hawstein
0b5285c282
move timer.rs to ethcore ( #6437 )
2017-09-02 10:54:39 +02:00
Hawstein
cf366bdb29
util should not reexport ansi_term
2017-09-01 22:57:57 +08:00
debris
94f717a255
Merge branch 'master' into keccak_fn
2017-08-31 11:53:26 +02:00
debris
e120c75d17
Hashable::sha3 -> fn keccak for ethcore-network
2017-08-30 17:14:52 +02:00
debris
0e088d783d
Hashable::sha3 -> fn keccak for ethcore-util
2017-08-30 16:20:21 +02:00
Axel Chalon
6b5ad69c22
Remove reexport of HeapSizeOf in util ( #6419 )
2017-08-30 16:04:47 +02:00
debris
100d1c7bf6
make triedbmut lookup shorter
2017-08-29 12:31:40 +02:00
debris
e390e6b0af
Merge branch 'master' into trie_recursion
2017-08-29 12:23:37 +02:00
Marek Kotewicz
17fa7edbbf
Merge pull request #6393 from paritytech/earlymergedb_optimizations
...
earlydb optimizations
2017-08-28 18:46:41 +02:00
Marek Kotewicz
8ead8061ee
Merge pull request #6389 from paritytech/trie
...
Trie optimizations
2017-08-28 18:45:30 +02:00
debris
8019d222a7
fixed TrieDb::seek accordingly to review suggestions
2017-08-28 15:08:16 +02:00
debris
4ac95b44e2
earlydb optimizations
2017-08-27 18:17:55 +02:00
debris
9cb4c99e5b
removed triedbmut recursion
2017-08-27 17:33:03 +02:00
debris
301a4720b7
small optimizations for triehash
2017-08-27 16:50:22 +02:00
debris
7246c9c74b
removed redundant *
2017-08-26 19:16:08 +02:00
debris
5395f13528
optimized hashdb keys
2017-08-26 19:09:32 +02:00
debris
9083923f27
optimized memorydb insert, remove and emplace
2017-08-26 18:34:16 +02:00
debris
5d6c53c9bd
triedb seek and descend is not recursive
2017-08-26 18:33:43 +02:00
Marek Kotewicz
5dac15fa85
Merge pull request #6347 from paritytech/trieiter
...
Optimize trie iter by avoiding redundant copying
2017-08-22 11:26:25 +02:00
Marek Kotewicz
6e8f97667a
Merge pull request #6346 from paritytech/a5-rocksdb-logging
...
Only keep a single rocksdb debug log file
2017-08-22 11:26:06 +02:00
debris
6c00dc71c1
Optimize trie iter by avoiding redundant copying
2017-08-21 18:35:39 +02:00
5chdn
98f86d553a
Only keep a single debug log file, ref #1100
2017-08-21 15:33:31 +02:00
debris
10914c8346
avoid runtime underflow if nibbles are empty
2017-08-21 14:36:59 +02:00
debris
b68375d462
less unsafe code
2017-08-21 10:19:53 +02:00
debris
32d2cd74d4
ping ci
2017-08-17 17:35:00 +02:00
debris
4cb610d9ae
Itertools are no longer reexported from util, optimized triedb iter
2017-08-17 16:05:26 +02:00
debris
af8c5bb31a
fix for util on linux
2017-08-01 15:53:50 +02:00
debris
c4989ddc44
removed util::common
2017-07-29 22:49:10 +02:00
debris
eecd823d32
util reexports less std
2017-07-29 21:10:14 +02:00
Robert Habermeier
7d348e2260
light client fixes ( #6148 )
...
* light client fixes
* fix memory-lru-cache
* clear pending reqs on disconnect
2017-07-26 15:48:00 +02:00
Tomasz Drwięga
1aaafa2d11
Limit transaction queue memory & limit future queue ( #6038 )
...
* Remove confusing gas_limit in the pool.
* Change defaults
* Limit transaction queue by memory usage.
* Change defaults to something lower.
* Fix rpc test.
* Fix js issues.
* Renamed block_gas_limit
2017-07-13 15:12:25 +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
01ce28bc9a
Fix tests
2017-06-29 13:05:33 +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
Jef
72094a8bee
Reduce unnecessary allocations ( #5944 )
2017-06-28 09:36:42 +02:00
Guanqun Lu
a5531e83fd
ArchiveDB: add a new test case
2017-06-18 23:13:27 +08:00
Guanqun Lu
7f07f7d567
ArchiveDB: add a contains() test for long history test case
2017-06-18 23:13:27 +08:00
Robert Habermeier
ed20fa4da1
Merge pull request #5766 from guanqun/db-tests
...
three small commits for HashDB and MemoryDB
2017-06-18 04:24:45 +02:00