Robert Habermeier
ec5519ccd1
rename hash crate to keccak-hash
2017-11-10 20:08:28 +01:00
Robert Habermeier
5c8f39c3bd
update ethcore-bigint version
2017-11-10 18:50:45 +01:00
Robert Habermeier
5423518e1e
update bigint version number
2017-11-10 18:43:18 +01:00
Robert Habermeier
2288bcd1b4
Merge branch 'master' of github.com:paritytech/parity into upload-crates
2017-11-10 18:42:18 +01:00
Robert Habermeier
be092e7c09
prepare cargo configuration for upload of crates
2017-11-10 18:31:31 +01:00
Marek Kotewicz
e13204c5c8
Merge pull request #6970 from paritytech/validate_node_url
...
Adds validate_node_url() and refactors boot node check (#6907 )
2017-11-10 15:39:30 +01:00
Tomasz Drwięga
2557f282a4
Add std feature.
2017-11-06 12:52:38 +01:00
Tomasz Drwięga
0ed1e77996
Add version to plain-hasher.
2017-11-06 12:03:59 +01:00
Tomasz Drwięga
d7e4dda3e1
Update ethcore-bigint.
2017-11-06 11:58:17 +01:00
Dmitry Kashitsyn
8fe40a64d0
Fixes test
2017-11-06 13:51:26 +07:00
Dmitry Kashitsyn
851401dded
Removes obsolete is_valid_node_url()
2017-11-06 13:01:37 +07:00
Dmitry Kashitsyn
1516fc1c57
Adds validate_node_url() and refactors boot node check ( #6907 )
2017-11-06 12:46:11 +07:00
efyang
9b4db8b4f0
Fix iterator issues
2017-10-28 16:59:00 -05:00
David Dorgan
bdf1e6afcc
Revert "Sync parity-ewf with parity"
...
This reverts commit f7ba063b22
.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22
Sync parity-ewf with parity
2017-10-24 12:31:50 +01:00
efyang
56b6adec68
Iterate over both buffered and unbuffered database entries
2017-10-22 20:58:06 -05:00
Marek Kotewicz
9228ce4bae
util crates use tempdir crate instead of devtools to create temp path ( #6807 )
...
* use tempdir instead of devtools in kvdb-rocksdb
* use tempdir instead of devtools in migration
* use tempdir instead of devtools in ethcore-network
* fixed wrong merge
2017-10-20 12:11:34 +02:00
Arkadiy Paronyan
b4c4fddb10
devp2p snappy compression ( #6683 )
2017-10-19 14:41:10 +02:00
debris
0e912bca5b
bring back accidently removed whitespace
2017-10-17 10:44:05 +02:00
debris
607cc6c782
fixed compiling util tests
2017-10-17 10:40:45 +02:00
Dmitry Kashitsyn
c0fc83988f
Refactors ethcore to use journaldb crate ( #6693 )
2017-10-17 11:46:07 +07:00
Dmitry Kashitsyn
e2b96e1fe0
Moves journaldb sources to a separate crate ( #6693 )
2017-10-17 11:44:52 +07:00
Marek Kotewicz
bb1be15dc4
Merge pull request #6792 from paritytech/kvdb_error
...
consistent KeyValueDB errors
2017-10-16 18:19:18 +02:00
Arkadiy Paronyan
5b29b6d064
Squash remaining warnings ( #6789 )
...
* Fixed comment warnings
* Fixed remaining warnings
2017-10-16 12:31:52 +02:00
debris
8ecdab68c2
add missing space to TrieError description
2017-10-16 12:17:06 +02:00
debris
5e61f3493e
require stable error-chain
2017-10-16 12:15:19 +02:00
debris
6dc50d01b5
KeyValueDB trait uses errors instead of strings
2017-10-16 12:11:35 +02:00
debris
fbad6b5514
removed redundant mut from kvdb-memorydb
2017-10-16 10:02:26 +02:00
debris
2ce0eae406
Merge branch 'master' into kvdb_split
2017-10-16 10:01:12 +02:00
Dmitry Kashitsyn
92a9fd3359
Uses dash instead of underscore in crate name
2017-10-16 11:05:54 +07:00
Dmitry Kashitsyn
e7690ab658
Removes redundant dependencies ( #6693 )
2017-10-15 21:47:06 +07:00
Dmitry Kashitsyn
51b61ccdbf
Extracts MemoryLruCache to a separate crate ( #6693 )
2017-10-15 21:47:06 +07:00
debris
db3ff67182
Merge branch 'master' into kvdb_split
2017-10-15 16:40:20 +02:00
debris
fa4e5c98d0
docs
2017-10-15 16:18:45 +02:00
debris
616cafb04a
renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create
2017-10-15 16:17:15 +02:00
Dmitry Kashitsyn
96b4467f86
Removes redundant mut
in util
2017-10-15 20:11:34 +07:00
debris
da8bf76c15
util tests use kvdb_memorydb instead of kvdb_rocksdb, closes #6739
2017-10-13 17:12:17 +02:00
debris
b277c3810f
Merge branch 'master' into kvdb_split
2017-10-13 16:27:12 +02:00
Marek Kotewicz
fcd81a7b86
Merge pull request #6733 from paritytech/cc1.0
...
use cc 1.0 instead of gcc
2017-10-13 14:30:03 +02:00
debris
5c220ab64b
Merge branch 'master' into kvdb_split
2017-10-13 12:18:49 +02:00
Arkadiy Paronyan
f3ea2f354e
v1.9.0 ( #6727 )
2017-10-12 23:44:02 +02:00
debris
8c1e402e02
use cc 1.0 instead of gcc
2017-10-12 23:23:50 +02:00
debris
c05fd9607c
fixed kvdb-memorydb && kvdb-rocksdb authors
2017-10-12 15:38:38 +02:00
debris
eb526b7769
separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb, #6693
2017-10-12 15:36:27 +02:00
Marek Kotewicz
bfff19ca9f
Merge pull request #6705 from paritytech/serde-migration
...
Removes dependency on rustc_serialize (#5988 )
2017-10-11 18:17:40 +02:00
Dmitry Kashitsyn
4f86f5b76d
Removes rustc-serialize references from Cargo.toml and Cargo.lock
2017-10-11 22:01:00 +07:00
Arkadiy Paronyan
690f32c298
Fixed build warnings ( #6664 )
...
* Fixed build warnings
* Suppress warning
* Suppress warning for sure
2017-10-11 09:55:10 +02:00
Dmitry Kashitsyn
504b2de4a8
Migrating util/network from rust_serialize to serde ( #5988 )
2017-10-11 14:34:23 +07:00
Marek Kotewicz
6279ff32f5
Separate migrations from util ( #6690 )
...
* separate migration from util and make its dependencies into libs:
* snappy
* kvdb
* error
* common
* renamed common -> macros
* util error does not depend on snappy module
* ethsync does not depend on util nor ethcore_error
* nibbleslice and nibblevec merged with patricia_trie crate
* removed unused dependencies from util
* util journaldb traits does not need to be public
* util_error
* fixed ethcore compile error
* ignore .swo files
* Update chain.rs
2017-10-10 20:01:27 +02:00
arkpar
c4c2c77a40
Fixed network protocol version negotiation
2017-10-05 17:20:23 +02:00
Tomasz Drwięga
e8b418ca03
Update jsonrpc dependencies and rewrite dapps to futures. ( #6522 )
...
* Bump version.
* Fix RPC crate.
* Fix BoxFuture in crates.
* Compiles and passes tests!
* Get rid of .boxed()
* Fixing issues with the UI.
* Remove minihttp. Support threads.
* Reimplement files serving to do it in chunks.
* Increase chunk size.
* Remove some unecessary copying.
* Fix tests.
* Fix stratum warning and ipfs todo.
* Switch to proper branch of jsonrpc.
* Update Cargo.lock.
* Update docs.
* Include dapps-glue in workspace.
* fixed merge artifacts
* Fix test compilation.
2017-10-05 12:35:01 +02:00
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
debris
ccd6ad52cc
Merge branch 'fo-6418-dont-export-bigint' of github.com:paritytech/parity into util_error_chain
2017-09-05 11:15:39 +02:00
debris
c623e5f232
ethcore-network does not use UtilError
2017-09-05 11:14:28 +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
Robert Habermeier
47f7366a5c
Merge pull request #6423 from paritytech/keccak_fn
...
replace trait Hashable with fn keccak
2017-08-31 17:20:05 +02:00
debris
e9cc4c848b
replace sha3 with keccak in few comments
2017-08-31 15:25:30 +02:00
Hawstein
d31b7d8968
add more hash backward compatibility test for bloom ( #6425 )
2017-08-31 14:50:06 +02:00
debris
ba3b2712a1
fixed grumbles
2017-08-31 12:38:53 +02:00
debris
94f717a255
Merge branch 'master' into keccak_fn
2017-08-31 11:53:26 +02:00
debris
f0e8abb07b
Hashable::sha3 -> fn keccak for ethcore
2017-08-30 19:18:28 +02:00
Hawstein
e04d58f647
use one hasher in Bloom ( #6404 )
...
* remove the redundant hasher in Bloom
* add the test to check the hash backward compatibility
2017-08-30 18:38:05 +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
Marek Kotewicz
da91a07906
Merge pull request #6394 from paritytech/trie_recursion
...
removed recursion from triedbmut::lookup
2017-08-30 10:07:44 +02:00
Arkadiy Paronyan
d520aa2633
Connection filter ( #6359 )
2017-08-29 14:38:01 +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
c6b3faca64
Merge pull request #6321 from paritytech/plain_hasher
...
Optimized PlainHasher hashing. Trie insertions are >15% faster
2017-08-28 18:46:04 +02:00
Marek Kotewicz
8ead8061ee
Merge pull request #6389 from paritytech/trie
...
Trie optimizations
2017-08-28 18:45:30 +02:00
Marek Kotewicz
bf68c87a08
Merge pull request #6392 from paritytech/triehash
...
small optimizations for triehash
2017-08-28 18:44:47 +02:00
debris
322da07010
Merge branch 'master' into trie
2017-08-28 15:08:22 +02:00
debris
8019d222a7
fixed TrieDb::seek accordingly to review suggestions
2017-08-28 15:08:16 +02:00
Tomasz Drwięga
3226e1ca33
Expose health status over RPC ( #6274 )
...
* Node-health to a separate crate.
* Initialize node_health outside of dapps.
* Expose health over RPC.
* Bring back 412 and fix JS.
* Add health to workspace and tests.
* Fix compilation without default features.
* Fix borked merge.
* Revert to generics to avoid virtual calls.
* Fix node-health tests.
* Add missing trailing comma.
2017-08-28 14:11:55 +02:00
debris
752dad6829
commit plain_hasher to util
2017-08-28 12:40:29 +02:00
debris
e0c2995f78
Merge branch 'master' into plain_hasher
2017-08-28 12:30:05 +02:00
Hawstein
622632616c
fix bloom bitvecjournal storage allocation ( #6390 )
2017-08-28 09:19:04 +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
a247d5b2dc
Merge branch 'master' into itertools
2017-08-21 09:12:36 +02:00
Marek Kotewicz
407c8c3fb9
rlp_derive ( #6125 )
...
* rlp_derive
* RlpEncodableWrapper, RlpDecodableWrapper
* use rlp_derive in parity
* fixed broken transaction Action serialization
2017-08-20 12:01:46 +08:00
debris
7de4a3a2df
move plain hasher to a crate
2017-08-17 20:40:10 +02:00
debris
209e8eff35
updated bigint with optimized mul and from_big_indian
2017-08-17 18:11:34 +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
697d17ae9b
Optimized PlainHasher hashing
2017-08-17 14:59:43 +02:00
debris
455ecf700c
updated tiny-keccak to 1.3
2017-08-07 10:06:02 +02:00
NikVolf
d30e47a50e
add test
2017-08-03 21:49:40 +03:00
NikVolf
6b3f5c977a
overflow check in addition
2017-08-03 21:35:51 +03:00
debris
af8c5bb31a
fix for util on linux
2017-08-01 15:53:50 +02:00
debris
88cc4cd17a
Merge branch 'master' into split
2017-07-29 23:44:55 +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
Joseph Mark
b5f1524e78
Refactor --allow-ips to handle custom ip-ranges ( #6144 )
...
* Add checks for additional reserved ip addresses
100.64.0.0/10 and 240.0.0.0/4 are both reserved but not currently
filtered.
* Add check for special purpose addresses
192.0.0.0/24 - Used for the IANA IPv4 Special Purpose Address Registry
* Refactor ip_utils (#5872 )
* Add checks for all ipv4 special use addresses
* Add comprehensive ipv4 test cases
* Refactor Ipv6 address checks (#5872 )
* Refactor AllowIP (#5872 )
* Add IpFilter struct to wrap predefined filter (AllowIP) with custom
allow/block filters.
* Refactor parsing of --allow-ips to handle custom filters.
* Move AllowIP/IpFilter from ethsync to ethcore-network where they
are used.
* Revert Cargo.lock
* Tests for custom ip filters (#5872 )
* Add "none" as a valid argument for --allow-ips to allow narrow
custom ranges, eg.: --allow-ips="none 10.0.0.0/8"
* Add tests for parsing filter arguments and node endpoints.
* Add ipnetwork crate to dev dependencies for testing.
* Add ipv6 filter tests (#5872 )
* Revert parity-ui-precompiled to master
* Fix minor detail in usage.txt (#5872 )
* Spaces to tabs
* Rename IpFilter::new() to ::default()
* Small readability improvements
* Test (#5872 )
* Revert "Test (#5872 )"
This reverts commit 7a8906430a6dad633fe29df3dca57f1630851fa9.
2017-07-28 19:06:39 +02:00
Feynman Liang
5eb8cea6e7
Tendermint epoch transitions ( #6085 )
...
* Adds signals_epoch_end to tendermint
* Adds is_epoch_end
* Adds snapshot_components
* Adds tendermint Epoch Verifier
* Fix documentation typos
* Change check_finality_proof to panic
* Fix compilation
* Adds Unconfirmed path to epoch_verifier
* Verify if address is validator in EpochVerifier
* check_finality_proof errors on failure
* Don't share combine/destructure_proofs
* Remove invalid import
* Remove duplicate epoch verifier trait
* Fix docs
* Adds recover stub to tendermint EpochVerifier
* Adds verify_light test
* Avoid boxed closure
* Style fixes
2017-07-26 16:25:32 +01: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
Arkadiy Paronyan
4c32177ef3
Fixed node address detection on incoming connection ( #6093 )
2017-07-19 15:44:08 +02:00
Andre Silva
c7af702270
Refactor price_info ( #6003 )
...
* refactor PriceInfo to use Fetch and reuse the client
* forget Fetch future to keep it running in the background
* update Debug message for price_info::Client
* wrap underlying errors in price_info client
* use debug_struct in price_info client debug implementation
* use global fetch service in price_info client
* rename gas_pricer parameter in RunCmd
* move price_info to its own crate
* fix price_info tests
* replace rustc_serialize with serde_json in price_info
* add documentation for price_info
* remove unused rustc-serialize dependency from ethcore
* fix price_info formatting
* re-export fetch crate in price_info
* remove unused cfg attributes in price_info
* add tests for price_info
2017-07-16 18:22:45 +02:00
Robert Habermeier
99075ad22a
Initial Whisper implementation ( #6009 )
...
* whisper skeleton
* basic message store
* rallying and message logic
* pass host info to network protocol handlers
* choose who starts rally based on node key
* module reshuffling
* mining messages
* prune messages by low PoW until below size target
* associated error type for ethkey generators and `OsRng` generator
* beginnings of RPC
* generic message handler for whisper
* reshuffle code order
* standard payload encoding and decoding
* basic crypto
* minor restructuring of net code
* implement shh_post
* merge?
* implement filters
* rand trait for hash types
* filter RPCs for whisper
* symmetric encryption of payload
* pub-sub
* filter tests
* use only secure random IDs
* attach arbitrary protocols to network
* basic integration of whisper into Parity
* eagerly prune low PoW entries
* broadcast messages with salted topics
* node info RPC
* fix import
* fix leading zeros calculation
* address minor grumbles
2017-07-14 20:40:28 +02:00
arkpar
debbfc117a
Bumped version
2017-07-13 15:52:01 +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
Tomasz Drwięga
4936e99f30
Node Health warnings ( #5951 )
...
* Health endpoint.
* Asynchronous health endpoint.
* Configure time api URL via CLI.
* Tests for TimeChecker.
* Health indication on Status page.
* Adding status indication to tab titles.
* Add status to ParityBar.
* Fixing lints.
* Add health status on SyncWarning.
* Fix health URL for embed.
* Nicer messages.
* Fix tests.
* Fixing JS tests.
* NTP time sync (#5956 )
* use NTP to check time drift
* update time module documentation
* replace time_api flag with ntp_server
* fix TimeChecker tests
* fix ntp-server flag usage
* hide status tooltip if there's no message to show
* remove TimeProvider trait
* use Cell in FakeNtp test trait
* share fetch client and ntp client cpu pool
* Add documentation to public method.
* Removing peer count from status.
* Remove unknown upgrade status.
* Send two time requests at the time.
* Revert "Send two time requests at the time."
This reverts commit f7b754b1155076a5a5d8fdafa022801fae324452.
* Defer reporting time synchronization issues.
* Fix tests.
* Fix linting.
2017-07-11 12:23:46 +02:00
debris
61d8f90530
updated serde to version 1.0
2017-07-06 11:36:15 +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
59488769cf
network: make it more explicit about StreamToken and TimerToken ( #5939 )
2017-06-27 18:24:18 +02:00
Arkadiy Paronyan
4d5280e43c
removed panic handlers ( #5895 )
2017-06-22 19:00:53 +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
Guanqun Lu
1efa7e7b10
add one more test case for consolidate, both are negative
2017-06-18 09:02:44 +08:00
Guanqun Lu
ce8f8f40d7
move MemoryDB's tests into tests module
2017-06-18 09:02:44 +08:00
Guanqun Lu
4efd673c19
add a bit clarification to HashDB's remove() interface
2017-06-18 09:02:44 +08:00
Guanqun Lu
cd3a1c1a94
use rust 1.18's new feature to boost the purge performance
2017-06-09 01:34:10 +08:00
Arkadiy Paronyan
9418fcafb6
Disable compression for RLP strings ( #5786 )
2017-06-08 17:24:23 +02:00
Guanqun Lu
05aa960c25
use NULL_RLP, remove NULL_RLP_STATIC ( #5742 )
2017-06-07 11:58:39 +02:00
Arkadiy Paronyan
ad6ea4fa49
Bump mio ( #5763 )
...
* Bump mio
* Fixed warnings
* Update mio to crates.
2017-06-05 20:40:40 +02:00
Guanqun Lu
a246278727
typo fix ( #5699 )
2017-05-27 23:35:18 +03: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
Guanqun Lu
86b00a9271
typo fix ( #5669 )
2017-05-20 11:22:35 +02:00
Tomasz Drwięga
3ff72794e5
Create an account for chain=dev ( #5612 )
...
* implement From<&'static str> for Secret
* Dev account.
* Fix Secret semantics.
2017-05-19 17:06:36 +02:00
Robert Habermeier
8c86bd1b31
bump RLP version
2017-05-11 15:35:38 +02:00
Robert Habermeier
f299190e46
relicense ethcore-bigint
2017-05-11 15:34:35 +02:00
Robert Habermeier
a2fe46f8b3
use bigint on crates.io
2017-05-10 13:16:24 +02:00
Robert Habermeier
bccf58df51
relicense RLP to MIT/Apache2
2017-05-10 13:03:30 +02:00
Arkadiy Paronyan
da2f684f18
Memory usage optimization ( #5526 )
2017-05-02 11:40:03 +02:00
Robert Habermeier
a33b4cc73b
fix tests
2017-04-20 15:04:07 +02:00
Robert Habermeier
a278dd5a0a
store epoch transition proofs in DB
2017-04-19 14:58:19 +02:00
Robert Habermeier
6da6c755a5
iterate DB by prefix
2017-04-18 15:45:15 +02:00
arkpar
b840ab8f8b
Compact chunks
2017-03-31 16:31:12 +02:00
Tomasz Drwięga
d2394d3ac3
Updating paths to repos. ( #5330 )
...
* Updating paths to repos.
* Updating rotor and libusb
* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Marek Kotewicz
64c098627e
updating dependencies ( #5028 )
...
* updated docopt, env_logger, semver and regex crates
* updated parking_lot to 0.4
* fixed compiling on linux
* updated igd to 0.6
* updated jsonrpc
* fixed regex related compiler error on linux
2017-03-28 19:06:08 +02:00
arkpar
4ef89b5ccb
Fine grained snapshot chunking
2017-03-25 13:22:25 +01:00
Arkadiy Paronyan
3b54b49b0b
Resilient warp sync ( #5018 )
2017-03-24 18:55:57 +01: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
Tomasz Drwięga
7e87e9e8ad
Updating JSON-RPC crates ( #4934 )
...
* New version of jsonrpc.
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* Using dedicated branch for jsonrpc
* Bump
2017-03-22 07:02:14 +01:00
Marek Kotewicz
d530cc86f3
splitting part of util into smaller crates ( #4956 )
...
* split path module from util
* moved RotatingLogger from util to logger crate
* fix tests
* fix tests
* use only one version of ansi_term crate
2017-03-22 06:23:40 +01:00
Marek Kotewicz
a555686bcd
rlp serialization refactor ( #4873 )
...
* 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
* removed redundant comment, print
* removed redundant double-space
* replace usage of WriteBytesExt with ByteOrder
2017-03-20 19:14:29 +01:00
Marek Kotewicz
8a67a0a80a
removed redundant (and unused) FromJson trait ( #4871 )
2017-03-13 11:42:27 +01:00
Marek Kotewicz
3fe3353696
removed redundant FixedHash trait, fixes #4029 ( #4866 )
2017-03-11 22:58:15 +04:00
Arkadiy Paronyan
bc9464fcbd
Removed link directive ( #4841 )
2017-03-10 15:25:02 +01:00
Robert Habermeier
8a3b5c6332
Remote transaction execution ( #4684 )
...
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* buffer flow -> request credits
* proving state backend
* generate transaction proofs from provider
* network messages for transaction proof
* transaction proof test
* test for transaction proof message
* fix call bug
* request transaction proofs from on_demand
* most of proved_execution rpc
* proved execution future
2017-03-08 14:39:44 +01:00
Arkadiy Paronyan
ae3f85bd5b
v1.7 ( #4730 )
2017-03-07 17:29:27 +01:00
Robert Habermeier
da3c13f0a2
split adding and dropping columns tests
2017-02-27 18:57:22 +01:00
Robert Habermeier
868624c6a9
return correct path for in-place migration
2017-02-26 19:30:54 +01:00
Robert Habermeier
ac82a838b8
test case and handle in-place migration correctly
2017-02-26 19:22:51 +01:00
Robert Habermeier
ed0a2567d8
docs
2017-02-26 19:11:19 +01:00
Robert Habermeier
c2c699abb9
change migration to v11 to be faster
2017-02-26 18:41:40 +01:00
Robert Habermeier
3cc007b4d6
add and remove column families dynamically
2017-02-26 18:29:35 +01:00
Robert Habermeier
d8b1cfe082
Merge branch 'master' into lightrpc
2017-02-20 18:01:29 +01:00
Robert Habermeier
62b340f2b9
Save pending local transactions in the database ( #4566 )
...
* Create new column family for local node info
* remove DBTransaction::new reliance on DB
* KeyValueDB trait
* InMemory KeyValueDB implementation
* journaldb generic over KVDB
* make most of `ethcore` generic over KVDB
* fix json tests compilation
* get all tests compiling
* implement local store (just for transactions)
* finish local store API, test
* put everything into place
* better test for skipping bad transactions
* fix warning
* update local store every 15 minutes
* remove superfluous `{}`s
2017-02-20 17:21:55 +01:00
Tomasz Drwięga
1949d44d0c
Hash-fetch errors in case upstream returns non-200 ( #4599 )
2017-02-20 16:30:14 +01:00
Arkadiy Paronyan
0aad8a87ae
Added pending transaction info to eth_getTransactionByHash ( #4570 )
...
* Return condition info for pending transactions
* Fixed warnings
2017-02-20 16:19:43 +01:00
Robert Habermeier
7a857a24ae
use new histogram/corpus
2017-02-17 16:18:31 +01:00
Robert Habermeier
59315b0cb7
stats utility in its own crate
2017-02-17 15:16:28 +01:00
Arkadiy Paronyan
c2540dc215
Check for matching session before deregistering ( #4563 )
2017-02-17 12:20:25 +01:00
Tomasz Drwięga
f1e99ea2e4
Serde 0.9 ( #4508 )
...
* Porting json
* Dapps
* Rpc & Ethstore
* New ethabi
* Last bunch of fixes
* Fixing last test
* Removing build script
* Adding ethcore-ipc-tests back
* Fixing grumbles
* Fixing blockchain tests (inference regression?)
2017-02-13 18:38:47 +03:00
Robert Habermeier
6bf97de9d8
Merge branch 'master' into lightrpc
2017-02-10 02:44:12 +01:00
arkpar
cdc09a6d8a
Static link for snappy
2017-02-08 22:43:23 +01:00
Robert Habermeier
0246d5c734
Merge branch 'master' into lightrpc
2017-02-08 19:20:35 +01:00
keorn
b0248cad0b
sort corpus when hitting genesis ( #4470 )
2017-02-08 08:55:56 +01:00
Robert Habermeier
4172a5369c
Include total difficulty in CHTs and hide implementation details from consumers ( #4428 )
...
* CHT builder and prover
* use CHT abstraction in provider
* hide CHT internals from header chain
* fix itertools conflict by updating all to 0.5
* cht proof checker, use it in on_demand
2017-02-06 17:21:35 +01:00
Robert Habermeier
484b93abdc
Merge branch 'cht-td' into lightrpc
2017-02-04 17:14:47 +01:00
Robert Habermeier
ca11138ce8
fix itertools conflict by updating all to 0.5
2017-02-04 17:07:39 +01:00
Robert Habermeier
02142e3a57
Merge branch 'master' into cht-td
2017-02-03 19:56:52 +01:00
Robert Habermeier
e874df5155
hide CHT internals from header chain
2017-02-03 19:50:23 +01:00
Tomasz Drwięga
015425d447
Restarting fetch client every now and then ( #4399 )
2017-02-02 19:11:28 +01:00
Robert Habermeier
3b9ac7648c
with_context on LightSync
2017-02-02 17:02:46 +01:00
Robert Habermeier
5b2b4717f6
fix earliest_era on empty db ( #4316 )
2017-01-30 17:20:41 +01:00
Arkadiy Paronyan
43cc4ea13d
Fixed deadlock in external_url ( #4354 )
2017-01-30 17:08:21 +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
203fd8a471
Memory-based pruning history size ( #4114 )
...
* prune states based on memory param
* pruning memory CLI and usage in sync
* return purged value from memorydb
* calculate memory used incrementally in overlayrecentdb
* refactor shared history pruning code in client
* Fixed usage alignment
* journal_size function for fast memory calculation
2017-01-20 13:25:53 +01:00
Robert Habermeier
3ff9324ec0
LES Peer Info ( #4195 )
...
* connected peers function for network service
* get LES peer info in sync API
* new peer info in RPC
2017-01-20 12:41:49 +01:00
Arkadiy Paronyan
8852a05301
Prevent duplicate incoming connections ( #4180 )
2017-01-17 16:02:29 +01:00
Arkadiy Paronyan
cfb6dd2ea8
Optimized hash lookups ( #4144 )
...
* Optimize hash comparison
* Use libc
2017-01-13 08:52:23 +00:00
Tomasz Drwięga
41da1a0a79
New jsonrpc-core with futures and metadata support ( #3859 )
...
* Bumping serde & serde_json
* Super-initial usage of new jsonrpc
* Single event loop for jsonrpc
* Metadata
* Supporting metadata extraction for eth_accounts
* Fixing Cargo.lock
* Removing uneccessary clones
* Fixing unused import
* Unused import
* Fixing test
2017-01-11 20:02:27 +01:00
Tomasz Drwięga
21006da125
Get rid of unsafe code in ethkey, propagate incorrect Secret errors. ( #4119 )
...
* Implementing secret
* Fixing tests
2017-01-11 12:16:47 +01:00
Arkadiy Paronyan
148ea37687
v1.6 in master ( #4113 )
2017-01-10 15:41:59 +01:00
keorn
be30c44179
Validator/authority contract ( #3937 )
...
* dir
* simple validator list
* stub validator contract
* make the engine hold Weak<Client> instead of IoChannel
* validator set factory
* register weak client with ValidatorContract
* check chain security
* add address array to generator
* register provider contract
* update validator set on notify
* add validator contract spec
* simple list test
* split update and contract test
* contract change
* use client in tendermint
* fix deadlock
* step duration in params
* adapt tendermint tests
* add storage fields to test spec
* constructor spec
* execute under wrong address
* create under correct address
* revert
* validator contract constructor
* move genesis block lookup
* add removal ability to contract
* validator contract adding validators
* fix basic authority
* validator changing test
* more docs
* update sync tests
* remove env_logger
* another env_logger
* cameltoe
* hold EngineClient instead of Client
* add a comment about lock scope
2017-01-10 12:23:59 +01:00
Arkadiy Paronyan
d67ceec50c
Update registration after every write ( #4102 )
2017-01-10 12:11:32 +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
Robert Habermeier
b4e713efdc
return old trie values on insert and remove ( #4053 )
...
* return old trie values on insert and remove
* fix json tests
2017-01-05 21:15:43 +01:00
Tomasz Drwięga
8d1a91b3b8
Removing orphaned Cargo.toml
2017-01-04 12:36:37 +01:00
Robert Habermeier
4101396fc4
remove node journal: dead code
2016-12-29 11:06:00 +01:00
Tomasz Drwięga
3067a8de3e
Additional fetch tests ( #3983 )
...
* First bunch of tests
* Dapps zip tests
2016-12-28 12:45:25 +00:00
Tomasz Drwięga
bc3dacc952
Fetch tests (first batch) ( #3977 )
...
* Customizable fetch
* Some basic Fetch tests
2016-12-27 15:38:55 +00:00
Robert Habermeier
80eae8cc49
remove some old (unused/duplicate) files ( #3975 )
2016-12-27 12:41:22 +00:00
Robert Habermeier
8125b5690c
Port try
macro to new ?
operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
Tomasz Drwięga
c7c309d152
Web Based Dapps ( #3956 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
* Serving web content and injecting scripts
* Don't wait for old content, start a new download
* Supporting timeouts and query
* Simple GUI for the browser
* Proxy tokens validation
* Recovering from invalid web-based requests
* Remember last visisted URL
* Removing unused variables
* Addressing review comments
* Setting default account in web3
* Adding WebBrowser dapp to the list
* Actually prune old entries when generating new token
2016-12-27 10:15:02 +00:00
Tomasz Drwięga
6251289b85
Rising the limit for fetch ( #3964 )
2016-12-23 17:23:31 +01:00
Nikolay Volf
e7ca4445e2
Bring integer arithmetic up to crates.io ( #3943 )
...
* split initial
* decouple crate
* fix tests compilation
* fix rlp tests
2016-12-23 16:53:06 +01:00
Tomasz Drwięga
f0387c33c6
Global Fetch Service ( #3915 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
2016-12-22 18:26:39 +01:00
Paul Peregud
b444d23b3a
code example: do start before register_protocol ( #3947 )
2016-12-22 16:15:26 +01:00
Gav Wood
b418cb8da3
Merge remote-tracking branch 'origin/master' into fix-win-ci
2016-12-17 15:10:17 +01:00
Gav Wood
b2b3a0eb34
Final fixups for updater
...
- Wire up platforms to match those of CI.
- Introduce "final" feature to tag version with "nightly".
2016-12-17 14:36:30 +01:00
Arkadiy Paronyan
4c0741e568
Fixed windows stub signature
2016-12-16 22:26:12 +01:00
Gav Wood
14e4fefbcf
Fix updater permissions and refactor existing code.
2016-12-16 18:17:15 +01:00
Jaco Greeff
054a6a9daf
Merge branch 'master' into check-updates
...
# Conflicts:
# .gitlab-ci.yml
# js/webpack/dev.server.js
2016-12-15 13:52:28 +01:00
keorn
fa504e510f
Merge branch 'master' into auth-bft
2016-12-12 21:28:46 +01:00
Gav Wood
ab4d666681
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-12 16:35:11 +01:00
Gav Wood
c0a2d5c8f5
Merge pull request #3796 from ethcore/tx-broadcast
...
Avoid broadcasting transactions to peers that send them
2016-12-12 04:13:56 +01:00
Gav Wood
d8ad09b654
Make updater an IPC module.
2016-12-11 22:47:43 +01:00
Gav Wood
94f5501c61
authors & homepage => Parity
2016-12-11 19:43:58 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Gav Wood
17cc2be4b5
Rename ethcore -> parity in license.
2016-12-11 19:30:54 +01:00
Gav Wood
10b0898bdf
Crate tidyups.
...
- Move Updater into its own crate.
- Change ethcore -> parity in authors, homepages and licenses.
2016-12-11 19:14:42 +01:00
Tomasz Drwięga
b56f12adc6
Merge branch 'master' into tx-broadcast
...
Conflicts:
ethcore/light/src/net/context.rs
ethcore/light/src/net/tests/mod.rs
2016-12-11 17:31:56 +01:00
arkpar
c777362d02
Sync channel for consensus test
2016-12-11 12:32:01 +01:00
Gav Wood
0a494962e4
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-11 02:13:52 +01:00
Gav Wood
fa30dfd4b9
Refactor into system service, add exe redirect.
2016-12-10 23:58:39 +01:00
Tomasz Drwięga
1f9adc8622
Merge branch 'master' into txqueue-gc
...
Conflicts:
ethcore/src/miner/miner.rs
2016-12-10 17:00:29 +01:00
Tomasz Drwięga
aaf6da4c00
Returning persistent node id
2016-12-10 16:55:29 +01:00
arkpar
02c788a403
Network connectivity fixes
2016-12-10 14:20:34 +01:00
Gav Wood
316c25d9f8
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-10 14:08:41 +01:00
Robert Habermeier
d427d60156
Merge pull request #3776 from ethcore/p2p-event-ordering
...
network: process packets only after connection handler finishes
2016-12-09 23:00:59 +01:00
Robert Habermeier
b772901d77
network: process packets only after connection handler finishes
2016-12-09 21:17:05 +01:00
Gav Wood
46af3d18da
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-09 20:45:15 +01:00
Tomasz Drwięga
5d054f08c3
Clearing old transactions
2016-12-09 15:05:03 +01:00
arkpar
364dd9dda4
Make stop const
2016-12-09 13:25:02 +01:00
arkpar
22a63f6fd3
Added IO Service explicit stop
2016-12-09 11:45:16 +01:00
Gav Wood
8903384840
Merge branch 'master' into check-updates
2016-12-07 19:19:44 +01:00
Gav Wood
1f0a02b638
Merge pull request #3633 from ethcore/fix-tx-rpc
...
Fix up the transaction JSON serialisation for RPC.
2016-12-07 14:34:51 +01:00
Robert Habermeier
085b8ad553
Merge pull request #3527 from ethcore/client-provider
...
LES Part 2
2016-12-07 09:31:50 +01:00
Gav Wood
5e1fdc4b11
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-12-05 10:44:19 -08:00
NikVolf
42fc770d30
use crates.io crate
2016-12-05 16:25:03 +03:00
Gav Wood
90a20a217f
Merge branch 'master' into check-updates
2016-12-04 09:01:50 -08:00
Robert Habermeier
6e1a1f9dec
Merge branch 'master' into client-provider
2016-12-02 10:06:09 +01:00
Gav Wood
d3e684698a
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-11-30 17:15:05 -08:00
Gav Wood
d525a6d7f0
Merge pull request #3654 from ethcore/clippy-bump
...
Bumping clippy
2016-11-29 18:00:13 +01:00
Gav Wood
d58905ae13
fix comment
2016-11-29 17:59:17 +01:00
Gav Wood
436016ef02
Introduce to_hex() utility in bigint. Fix tests.
2016-11-29 13:46:06 +01:00
Tomasz Drwięga
64b1b898f1
Fixing compilation on stable
2016-11-28 17:43:38 +01:00
Tomasz Drwięga
2b3d100de2
Fixing some clippy warnings
2016-11-28 15:54:22 +01:00
Tomasz Drwięga
e1e7886918
Bumping clippy
2016-11-28 12:23:06 +01:00
arkpar
c7b359fcee
Style
2016-11-28 01:37:25 +01:00
arkpar
3aceac60de
Use sha3 for fat key
2016-11-28 01:37:24 +01:00
arkpar
b0555fbe7c
State export
2016-11-28 01:37:24 +01:00
arkpar
8b3cdc513b
Seekable iterator
2016-11-28 01:37:24 +01:00
Gav Wood
8cddf9976a
Better information.
2016-11-25 15:43:49 +01:00
Gav Wood
90b5d1c62d
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-23 20:13:47 +01:00
arkpar
4e9c690640
Use patched MIO
2016-11-23 19:08:40 +01:00
Gav Wood
45dead9d49
Naming consistency and make Updater improvements.
...
- ID -> Id (consistency with rust libs)
2016-11-22 10:24:22 +01:00
Robert Habermeier
06f5bf809f
Merge branch 'master' into client-provider
2016-11-21 12:19:11 +01:00
Gav Wood
601e0fb0fd
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-21 11:43:29 +01:00
Tomasz Drwięga
cc8a9d410b
Adding fetch API to the crate
2016-11-20 18:44:23 +01:00
Robert Habermeier
f1c665081a
Merge branch 'master' into client-provider
2016-11-18 16:07:50 +01:00
Gav Wood
28aabcdb6c
Merge branch 'master' into check-updates
2016-11-18 11:45:04 +08:00
Robert Habermeier
abf39fde0a
implement provider for client
2016-11-15 14:53:30 +01:00
keorn
ae5ae765a6
Merge branch 'master' into auth-round
2016-11-14 18:04:44 +00:00
Tomasz Drwięga
9f002a8a94
Fixing benches
2016-11-14 13:29:49 +01:00
keorn
501f6d3f49
Merge branch 'master' into auth-round
2016-11-14 10:08:14 +00:00
Gav Wood
4bb4ed9551
Initial checking.
2016-11-13 15:52:33 +01:00
Arkadiy Paronyan
67fa58db14
Optimize memory footprint ( #3376 )
2016-11-12 12:07:02 +01:00
Robert Habermeier
3854b8a689
LES Part 1 ( #3322 )
...
* stub implementations of light client trait
* Light provider trait
* light client sync stubs
* LES boilerplate
* stub implementation of provider for client
* skeleton and request traits
* request definitions
* new_list -> begin_list
* handle unknown packet
* revise light implementation strategy
* make verification module public
* Move all light client work to own crate
* experiment with answering requests
* buffer flow scaffolding
* remove LESv2 requests
* buffer flow basics, implement cost table
* begin status module
* implement handshake parsing and creation
* implement announcement serialization
* errors, punishment, and handshake
* handle announcements
* making announcements, clean up warnings
* allow dead code temporarily
2016-11-10 18:30:17 +01:00
keorn
49f2a72d5d
Merge branch 'master' into auth-round
2016-11-09 10:35:00 +00:00
Arkadiy Paronyan
f1e61c87b4
Fixed IO service shutdown ( #3286 )
2016-11-08 21:07:18 +01:00
arkpar
8cad185a57
Set version to unstable
2016-11-07 12:10:29 +01:00
Arkadiy Paronyan
d37f4cc82f
v1.5 ( #3195 )
2016-11-04 17:27:11 +01:00
keorn
255ec0c139
Merge branch 'master' into auth-round
2016-11-04 11:35:17 +00:00
Tomasz Drwięga
7ff73a9533
Exposing v,r,s from transaction signature in RPC ( #3172 )
2016-11-04 12:05:10 +01:00
Arkadiy Paronyan
e8b2635545
Version=beta ( #3157 )
2016-11-04 00:24:36 +01:00
keorn
0c2cfc9b6e
Fix histogram ( #3150 )
...
* fix histogram
* remove outdated comment
2016-11-03 21:15:27 +01:00
keorn
12125dcfee
Merge branch 'master' into auth-round
2016-11-03 16:51:38 +00:00
Arkadiy Paronyan
3413989c8a
Fixed peer ping timeout ( #3137 )
2016-11-03 16:12:25 +01:00
Gav Wood
f9a389c4b6
Minor typo fixed. ( #3110 )
2016-11-03 08:22:35 +01:00
keorn
03c9760de2
Merge remote-tracking branch 'parity/master' into auth-round-no-mocknet
2016-11-02 13:01:31 +00:00
keorn
a33e2f2e0d
fix deadlock after merge
2016-11-01 17:52:52 +00:00
Robert Habermeier
19d5f93745
Merge pull request #3020 from ethcore/fix-old-migrations
...
apply post-consolidation migrations after consolidating
2016-11-01 14:32:23 +01:00
Arkadiy Paronyan
2e70abdc40
Sweep panickers from IO and network ( #3018 )
...
* Sweep panickers from IO and network
* Typo and logging
2016-10-31 19:58:47 +01:00
Robert Habermeier
5d41d38dff
open column families after reparing db corruption ( #3017 )
2016-10-31 18:21:44 +01:00
Robert Habermeier
0139dfcc39
apply post-consolidation migrations after consolidating
2016-10-31 16:18:20 +01:00
keorn
7af20a5db0
Modify gas price statistics ( #2947 )
...
* gas price distribution + median + tests
* put histogram in util
* use the util histogram
* remove the default gas price implementation
* histogram rpc
* fix empty corpus
* Add JS ethcore_gasPriceHistogram
* Fix typo (s/types/type/) & subsequent failing test
* Fix return type & formatting
* bucketBounds
* Add jsapi e2e test verification
2016-10-31 12:57:48 +01:00
Arkadiy Paronyan
568a18d8bd
Prevent connecting to self ( #2997 )
2016-10-31 12:54:50 +01:00
keorn
37ca1fa497
Merge remote-tracking branch 'parity/master'
2016-10-30 20:45:28 +00:00
Arkadiy Paronyan
6931878ff1
Networking and syncing tweaks ( #2990 )
...
* Reduce periodic snapshot delay
* Prevent connecting to peers over the min_peers limit
* Smaller block requests for slower connections
2016-10-30 15:39:36 +01:00
Arkadiy Paronyan
bccc56b6b0
mio version bump ( #2982 )
2016-10-30 09:56:34 +01:00
arkpar
ffb9cc7b18
Fixed build
2016-10-29 20:41:07 +02:00
arkpar
fca545ce98
Removed junk file
2016-10-29 17:59:27 +02:00
Arkadiy Paronyan
99d6d87e78
Discovery performance optimization ( #2972 )
2016-10-29 17:38:34 +02:00
Tomasz Drwięga
f17cad9dff
Fixing clippy warnings 2 ( #2961 )
2016-10-29 13:08:49 +02:00
keorn
63cc5c0e60
Merge remote-tracking branch 'parity/master'
2016-10-28 17:52:48 +01:00
Robert Habermeier
29ab4ecac1
Shared code cache ( #2921 )
...
* add a global code cache
* extract memory-limited lru cache to util
* use memory-limited code cache
* account for code cache size in mem_used
2016-10-28 16:04:44 +02:00
arkpar
6978042c16
Packet id tracing
2016-10-27 16:20:11 +02:00
Tomasz Drwięga
88997801d0
Clippy bump ( #2877 )
...
* Bumping clippy
* Fixing warnings
* Fix the "fix"
2016-10-27 08:28:12 +02:00
keorn
4ee669b77e
Merge remote-tracking branch 'parity/master'
2016-10-26 16:53:30 +01:00
Arkadiy Paronyan
5b978be034
Get rid of MemoryDB denote ( #2881 )
2016-10-26 13:53:47 +02:00
Robert Habermeier
33748c2046
Sweep some more panics ( #2848 )
...
* purge unwraps from ethcrypto, ethstore
* sweep panics from util
2016-10-25 22:34:52 +02:00
Arkadiy Paronyan
135d5d0e4c
Snapshot fixes and optimizations ( #2863 )
2016-10-25 18:40:01 +02:00
Robert Habermeier
0fedc27332
Remove ethcore::common re-export module ( #2792 )
...
* no longer export action_params
* remove transaction, header, receipt re-rexports from common
* remove env_info and builtins re-exports from common
* remove everything but util export from common
* replace common usages with util, remove module
* add a prelude module for ethcore-bigint
2016-10-24 18:35:25 +02:00
Arkadiy Paronyan
edbd667696
Prevent database corruption on OOM ( #2832 )
...
* Prevent database corruption on OOM
* Renamed write_flushing
2016-10-24 18:32:06 +02:00
Arkadiy Paronyan
1a5bae8ef1
Extended network options ( #2845 )
...
* More network configuration options
* Filter UDP requests
* Fixed tests
* Fixed test warning
2016-10-24 18:25:27 +02:00
Arkadiy Paronyan
9ec091e0cf
Move snapshot sync to a subprotocol ( #2820 )
2016-10-24 16:24:35 +02:00
Robert Habermeier
7bd37e3972
flush DB changes on drop ( #2795 )
2016-10-22 14:22:34 +01:00
keorn
479657b23b
Automatic compaction selection on Linux ( #2785 )
...
* add auto compaction types
* pass db paths
* detect drive type on Linux
* use base db path
* add docstring
* limit the test to be side effect free
* use base db path
* more docs
* fix parsing test
* update error
* detect only on Linux
* make test Linux only
* add second device letter, update cli doc
* use spaces in cli doc
* import only on linux
* default->auto
2016-10-21 23:21:57 +02:00
Tomasz Drwięga
d3ae463a75
Using SipHasher from crates.io
2016-10-21 11:57:30 +02:00
Tomasz Drwięga
5aadda95c3
Using DefaultHasher instead of SipHasher
2016-10-21 11:26:29 +02:00
Tomasz Drwięga
0017a43364
Making Trie.iter non-recursive ( #2733 )
2016-10-20 14:49:44 +02:00
Arkadiy Paronyan
906dcd7bfe
Block import optimization ( #2748 )
...
* Block import optimization
* whitespace
[ci:none]
2016-10-20 14:49:12 +02:00
Tomasz Drwięga
cd4e21e1b4
Fixing small files fetching ( #2742 )
...
* Fixing small files fetching
* Fixing a case where tranfer encoding is not chunked
2016-10-20 12:57:48 +02:00
Robert Habermeier
146cefdb32
bump parking_lot to 0.3.x series ( #2702 )
2016-10-19 18:35:56 +02:00
Arkadiy Paronyan
487dfb0208
Snapshot sync part 2 ( #2098 )
...
* Split block downloader into a module
* Snapshot sync progress
* Warp sync CLI option
* Increased snapshot chunk and ping timeouts
* Fixed an issue with delayed writes
* Updated bootnodes
* Don't run pending IO tasks on shutdown
* Optional first_block; removed insert_snapshot_block
* Fixing expect calls
* Fixed stalled sync
* style and docs
* Update block_sync.rs
[ci:skip]
2016-10-18 18:16:00 +02:00
Nikolay Volf
dba2d79b56
fix issues with no test dir present ( #2659 )
2016-10-18 16:44:40 +02:00
Robert Habermeier
f28b8352c1
Configurable history size in master ( #2606 )
...
* split journaldb commit into two functions: journal_under and mark_canonical
* use new commit mechanism in client
* Configurable history size in master
* Reduce DB history
* Configurable history size
* Set min history size
* Test
* Fixed a test and reduced the limit
2016-10-14 15:44:56 +03:00
Arkadiy Paronyan
835cd13c0e
Database performance tweaks ( #2619 )
2016-10-14 15:44:11 +03:00
Robert Habermeier
92f7f46fd3
Merge branch 'master' into journaldb_commit
2016-10-13 13:02:53 +02:00
Svyatoslav Nikolsky
c9ce25c8f3
Added peers details to ethcore_netPeers RPC ( #2580 )
...
* added peers details to ethcore_netPeers RPC
* fixed build (traits autoimplemented)
* - documentation fixes
- spaces -> tabs
- Rust-way Option's handling
* prepare for new protocols in ethcore_netPeers
* commas & documentation
2016-10-12 20:18:59 +02:00
Robert Habermeier
ea68546616
Network-specific nodes file ( #2569 )
...
* network-specific nodes.json
* save nodes.json periodically
* squash warnings
2016-10-11 18:42:20 +02:00
Robert Habermeier
5e22d23994
update bigint crate to 0.1.1
2016-10-11 12:53:50 +02:00
Arkadiy Paronyan
533af43313
Fixed overflow panic in handshake_panic ( #2495 )
2016-10-07 10:34:06 +02:00
Nikolay Volf
ac0ae2442f
Adjustable stack size for EVM ( #2483 )
...
* stack size for io workers & evm threshold
* rust way to remember stack size
* right value
* 24kb size
* some stack reduction
2016-10-06 18:42:54 +02:00
Nikolay Volf
e1d3b3fff8
Accounts bloom in master ( #2426 )
...
* bloom crate link
* database layout and outdated tests
* state db alterations
* v10 migration run
* using arc
* bloom migration
* migration fixes and mess
* fix tests
2016-10-03 12:02:43 +02:00
Marek Kotewicz
06fe768ac2
Polishing Actually enable fat db pr ( #1974 ) ( #2048 )
...
* Actually enable fat db, and do RPCs for it.
* Implement HashDB traits for AccountDB.
* user defaults
* finished user defaults
* user defaults are network-dependent
* added tests for newly added functions, logger is initialized first
* dir cleanup in progress
* user_file is placed next to snapshots
* fixing requested change
2016-10-03 11:13:10 +02:00
Arkadiy Paronyan
0dcdaa7a2a
Jumptable cache ( #2427 )
...
* Jumptable cache
* Updated registrar address
2016-10-02 18:45:36 +02:00
Nikolay Volf
1029f8438c
using arc ( #2420 )
2016-10-01 14:33:19 +02:00
NikVolf
18630496d5
asterisk space
2016-09-30 21:02:16 +03:00
NikVolf
fa050246af
removed redundant memcopy
2016-09-30 20:43:57 +03:00
NikVolf
59c0551ff4
separate mod for tests
2016-09-29 13:39:13 +03:00
NikVolf
b477ca17fe
bloom filter crate
2016-09-29 13:19:39 +03:00
Tomasz Drwięga
424b46b428
Prioritizing re-imported transactions ( #2372 )
...
* Prioritizing re-imported transactions
* Fixing compilation on beta
2016-09-28 23:32:32 +02:00
Nikolay Volf
6df1c3d157
Merge pull request #2334 from ethcore/fix-migrations
...
fix migration system for post-consolidation migrations, better errors
2016-09-28 19:54:34 +04:00
Gav Wood
15a14a5f49
Expanse compatibility ( #2369 )
...
* Add support for Expanse.
* Fix build.
* Refactor to be able to alter the eth subprotocol name
* Fix JSON.
* Support exp hardfork.
* Fix exp json again.
* Fixed test
* Fix tests.
2016-09-28 14:21:59 +02:00
Robert Habermeier
fb92a98451
Specify column cache sizes explicitly; default fallback of 2MB ( #2358 )
...
* allow specifying cache sizes for specific columns
* initialize client with correct cache size
* set cache size in client service
* default cache size for unspecified columns
* fix comment
* fix column selection logic
* fix migrations module
2016-09-27 18:16:32 +02:00
Tomasz Drwięga
d7bbc5cc3f
Hash Content RPC method ( #2355 )
...
* Moving file fetching to separate crate.
* ethcore_hashContent
* Tests running on mocked fetch.
* Limiting size of downloadable assets
2016-09-27 16:27:06 +02:00
keorn
5fac941738
Merge remote-tracking branch 'parity/master'
2016-09-27 12:14:40 +02:00