Commit Graph

1008 Commits

Author SHA1 Message Date
arkpar 4e9c690640 Use patched MIO 2016-11-23 19:08:40 +01:00
Tomasz Drwięga cc8a9d410b Adding fetch API to the crate 2016-11-20 18:44:23 +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
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