Commit Graph

587 Commits

Author SHA1 Message Date
GitLab Build Bot
c938114580 [ci skip] js-precompiled 20161101-104257 2016-11-01 10:43:57 +00:00
GitLab Build Bot
cb3bb2469d [ci skip] js-precompiled 20161101-062958 2016-11-01 06:31:01 +00:00
GitLab Build Bot
28e4f93d32 [ci skip] js-precompiled 20161101-052312 2016-11-01 05:24:13 +00:00
GitLab Build Bot
c553c3c94b [ci skip] js-precompiled 20161101-042855 2016-11-01 04:29:59 +00:00
GitLab Build Bot
38160c05bb [ci skip] js-precompiled 20161031-224932 2016-10-31 22:50:31 +00:00
GitLab Build Bot
04432b2766 [ci skip] js-precompiled 20161031-194842 2016-10-31 19:49:41 +00:00
GitLab Build Bot
714cb22f89 [ci skip] js-precompiled 20161031-192549 2016-10-31 19:27:04 +00:00
GitLab Build Bot
1255105490 [ci skip] js-precompiled 20161031-124811 2016-10-31 12:49:10 +00:00
GitLab Build Bot
b9f055677f [ci skip] js-precompiled 20161031-123449 2016-10-31 12:36:00 +00:00
GitLab Build Bot
180f16af7c [ci skip] js-precompiled 20161031-122556 2016-10-31 12:27:03 +00:00
GitLab Build Bot
455059f6b1 [ci skip] js-precompiled 20161031-093746 2016-10-31 09:38:45 +00:00
GitLab Build Bot
c2c7585619 [ci skip] js-precompiled 20161031-090648 2016-10-31 09:07:51 +00:00
GitLab Build Bot
921fde43a7 [ci skip] js-precompiled 20161031-084918 2016-10-31 08:50:17 +00:00
GitLab Build Bot
0ff5b18bcb [ci skip] js-precompiled 20161031-071713 2016-10-31 07:18:12 +00:00
GitLab Build Bot
aa4b124005 [ci skip] js-precompiled 20161031-053203 2016-10-31 05:33:10 +00:00
GitLab Build Bot
3e8900db3e [ci skip] js-precompiled 20161030-164930 2016-10-30 16:50:29 +00:00
GitLab Build Bot
6b85d58ae7 [ci skip] js-precompiled 20161030-144119 2016-10-30 14:42:20 +00:00
GitLab Build Bot
d3a2f7dce9 [ci skip] js-precompiled 20161030-120641 2016-10-30 12:07:40 +00:00
GitLab Build Bot
0b835323b9 [ci skip] js-precompiled 20161030-113341 2016-10-30 11:34:48 +00:00
GitLab Build Bot
0189481ee6 [ci skip] js-precompiled 20161030-090922 2016-10-30 09:10:18 +00:00
Arkadiy Paronyan
bccc56b6b0 mio version bump (#2982) 2016-10-30 09:56:34 +01:00
GitLab Build Bot
3002219250 [ci skip] js-precompiled 20161030-083815 2016-10-30 08:39:09 +00:00
GitLab Build Bot
222b2b70ea [ci skip] js-precompiled 20161029-192902 2016-10-29 19:29:59 +00:00
GitLab Build Bot
5a8cee9557 [ci skip] js-precompiled 20161029-185701 2016-10-29 18:57:56 +00:00
GitLab Build Bot
c24ac577fb [ci skip] js-precompiled 20161029-160033 2016-10-29 16:01:29 +00:00
GitLab Build Bot
e2b82e1e37 [ci skip] js-precompiled 20161029-154241 2016-10-29 15:44:04 +00:00
Arkadiy Paronyan
c342fa3035 WS bump (#2973) 2016-10-29 17:38:50 +02:00
GitLab Build Bot
3a6c1c377c [ci skip] js-precompiled 20161029-133354 2016-10-29 13:34:58 +00:00
Tomasz Drwięga
144930f12c Updating ws-rs (#2962) 2016-10-29 15:31:13 +02:00
GitLab Build Bot
fe02f93e4c [ci skip] js-precompiled 20161029-114119 2016-10-29 11:42:16 +00:00
GitLab Build Bot
598679000c [ci skip] js-precompiled 20161029-112814 2016-10-29 11:29:09 +00:00
GitLab Build Bot
1a258fc0a7 [ci skip] js-precompiled 20161029-112006 2016-10-29 11:21:07 +00:00
GitLab Build Bot
290ed3343f [ci skip] js-precompiled 20161029-110604 2016-10-29 11:06:59 +00:00
GitLab Build Bot
e1cf6f7dd0 [ci skip] js-precompiled 20161029-075744 2016-10-29 07:58:45 +00:00
GitLab Build Bot
3e3230aa34 [ci skip] js-precompiled 20161028-184917 2016-10-28 18:50:17 +00:00
GitLab Build Bot
8cd66f14d5 [ci skip] js-precompiled 20161028-160553 2016-10-28 16:06:51 +00:00
GitLab Build Bot
ef0ed5833a [ci skip] js-precompiled 20161028-155009 2016-10-28 15:51:18 +00: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
GitLab Build Bot
151ec869a6 [ci skip] js-precompiled 20161027-204107 2016-10-27 22:41:22 +02:00
GitLab Build Bot
22af04e81d [ci skip] js-precompiled 20161027-175225 2016-10-27 17:53:23 +00:00
Tomasz Drwięga
152a551e8b Transaction Queue banning (#2524)
* Blacklisting transaction queue

* Using blacklisting queue in miner

* Restoring todo [ci:skip]

* Blacklisting recipients and code

* Renaming blacklisting->banning

* CLI option for banning.

* Fixing submodule commit [ci:skip]

* Fixing RPC tests

* Additional logging when dropping transactions

* whitespace

[ci:skip]

* Configurable ban duration

* Reverting fix for pruning history from config file
2016-10-27 19:28:34 +02:00
GitLab Build Bot
abb1da5f4b [ci skip] js-precompiled 20161027-164817 2016-10-27 16:49:18 +00:00
GitLab Build Bot
bb14eea66c [ci skip] js-precompiled 20161027-150816 2016-10-27 15:09:11 +00:00
GitLab Build Bot
7c6112e9f0 [ci skip] js-precompiled 20161027-143256 2016-10-27 14:33:50 +00:00
GitLab Build Bot
123b75179c [ci skip] js-precompiled 20161027-133941 2016-10-27 13:40:42 +00:00
GitLab Build Bot
176dc0e945 [ci skip] js-precompiled 20161027-115054 2016-10-27 11:51:52 +00:00
GitLab Build Bot
02b6d3943d [ci skip] js-precompiled 20161027-070811 2016-10-27 07:09:06 +00:00
GitLab Build Bot
005bdd5d07 [ci skip] js-precompiled 20161027-065456 2016-10-27 06:55:53 +00:00
GitLab Build Bot
6c79decdda [ci skip] js-precompiled 20161027-062905 2016-10-27 06:30:05 +00:00
Tomasz Drwięga
88997801d0 Clippy bump (#2877)
* Bumping clippy

* Fixing warnings

* Fix the "fix"
2016-10-27 08:28:12 +02:00
GitLab Build Bot
9bfb8094cc [ci skip] js-precompiled 20161027-025520 2016-10-27 02:56:17 +00:00
GitLab Build Bot
a08b331856 [ci skip] js-precompiled 20161026-203802 2016-10-26 20:39:01 +00:00
GitLab Build Bot
58b963b93d [ci skip] js-precompiled 20161026-194241 2016-10-26 19:44:08 +00:00
GitLab Build Bot
f58ccfb435 [ci skip] js-precompiled 20161026-165632 2016-10-26 16:57:31 +00:00
GitLab Build Bot
215c82d744 [ci skip] js-precompiled 20161026-144207 2016-10-26 14:43:01 +00:00
GitLab Build Bot
6901d087dd [ci skip] js-precompiled 20161026-141507 2016-10-26 14:16:03 +00:00
GitLab Build Bot
c36202fcf5 [ci skip] js-precompiled 20161026-131806 2016-10-26 13:19:04 +00:00
GitLab Build Bot
909fb1d54e [ci skip] js-precompiled 20161026-121420 2016-10-26 12:15:18 +00:00
GitLab Build Bot
cdc348d955 [ci skip] js-precompiled 20161026-120247 2016-10-26 12:03:52 +00:00
Arkadiy Paronyan
5b978be034 Get rid of MemoryDB denote (#2881) 2016-10-26 13:53:47 +02:00
GitLab Build Bot
436b7c213d [ci skip] js-precompiled 20161026-114541 2016-10-26 11:46:34 +00:00
GitLab Build Bot
71e973cb0b [ci skip] js-precompiled 20161026-100446 2016-10-26 10:05:40 +00:00
GitLab Build Bot
3cd724d056 [ci skip] js-precompiled 20161026-095510 2016-10-26 09:56:14 +00:00
GitLab Build Bot
162d1a032b [ci skip] js-precompiled 20161026-044349 2016-10-26 04:44:46 +00:00
GitLab Build Bot
7b7ce4a0b1 [ci skip] js-precompiled 20161026-040753 2016-10-26 04:08:54 +00:00
GitLab Build Bot
20d43b9c26 [ci skip] js-precompiled 20161025-203648 2016-10-25 20:37:47 +00: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
Nikolay Volf
014e47a50a Merge pull request #2870 from ethcore/ipc-bump-5
IPC version bump
2016-10-25 23:23:42 +03:00
NikVolf
f81787d603 ipc version bump 2016-10-25 21:28:54 +03:00
GitLab Build Bot
03e2aa61e2 [ci skip] js-precompiled 20161025-153329 2016-10-25 17:33:46 +02:00
Tomasz Drwięga
5ae87a64b1 Bumping ws-rs (#2851) 2016-10-25 12:12:09 +02:00
Jaco Greeff
66a8d534ef Bump js-precompiled to 20161022-223915 UTC (#2826) 2016-10-24 12:28:32 +02:00
Tomasz Drwięga
aca82fb84b Removing submodule in favour of rust crate (#2756)
* Removing submodule

* Fixing UI dependency structure.

* Merging RS and JS package

* Updating release script to push also rs files

* fix merge gone wrong

* Fixing compilation
2016-10-22 20:07:12 +02:00
Tomasz Drwięga
3ff1ca81f4 Missing changes required to make new UI work (#2793)
* Getting rid of old dapps

* Updating proxypac and allowing home.parity on signer

* CORS support for API

* Fixing CORS - origin is sent with protocol

* Fixing signer with proxy

* Fixing grumbles

* Fix expect msg [ci:skip]
2016-10-22 14:21:41 +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
Robert Habermeier
96f4c10453 sweep most unwraps from ethcore crate, dapps crate (#2762)
* sweep most unwraps from ethcore crate

* purge unwrap from dapps server

* whitespace

[ci:none]
2016-10-20 23:41:15 +02:00
Robert Habermeier
146cefdb32 bump parking_lot to 0.3.x series (#2702) 2016-10-19 18:35:56 +02:00
Tomasz Drwięga
fcac518644 Bumping JSON-RPC http server (#2714) 2016-10-19 13:24:48 +02:00
Tomasz Drwięga
5e67c89b4b Remove obsolete dapps and update security headers (#2694)
* Embed allowed only on signer port

* Adding security headers to dapps

* Adding security headers to signer

* Removing old dapps
2016-10-19 11:02:21 +02:00
Tomasz Drwięga
6c7af57529 Initial import of new UI (compiled JS code) (#2220)
* Normalizing dapps format for signer.

* Adding new ui

* Adding New UI to dapps

* Adding parity styles for signer errors

* Adding pre-compiled JS as submodule

* Fixing struct declaration [ci:skip]

* Bumping js

* Adding styles

* build dest

* Correct whitespace

@tomusdrw please note the alterations - no mixing tabs and spaces in the indentation portion and always just one tab per indent.
2016-10-17 11:56:42 +02:00
Tomasz Drwięga
03c1559ead Support for decryption in Signer (#2421)
* Adding some tests

* Implementing decrypt in queue

* Removing code duplication.

* Printing public key in ethstore

* Bump UI

* Normalizing dapps format for signer.

* Fixing tests compilation

* fix whitespace

[ci:skip]
2016-10-15 14:44:08 +02:00
Arkadiy Paronyan
835cd13c0e Database performance tweaks (#2619) 2016-10-14 15:44:11 +03:00
Robert Habermeier
4bcc9e3b49 Merge pull request #2516 from ethcore/canon-cache-size
Mostly configurable canonical cache size
2016-10-12 21:48:29 +02:00
Robert Habermeier
5e22d23994 update bigint crate to 0.1.1 2016-10-11 12:53:50 +02:00
Robert Habermeier
19e5bede7f Merge branch 'master' into canon-cache-size 2016-10-07 13:55:20 +02:00
Nikolay Volf
5354a0905e terminate after 30 seconds (#2513) 2016-10-07 12:10:53 +01:00
Robert Habermeier
8a0e98d4cc configurable jump table cache size 2016-10-07 12:18:42 +02:00
Arkadiy Paronyan
e380955c34 RocksDB version bump (#2492) 2016-10-06 15:24:47 +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
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
Arkadiy Paronyan
ad63780b4d Canonical state cache (master) (#2311)
* State cache

* Reduced copying data between caches

Whitespace and optional symbols

* Reduced copying data between caches

Whitespace and optional symbols

* Set a limit on storage cache

* Style and docs
2016-09-27 18:02:11 +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
Marek Kotewicz
56eb97abbf user defaults (#2014)
* 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
2016-09-26 19:21:25 +02:00
Tomasz Drwięga
598e9cea85 Fixing jit feature compilation (#2310) 2016-09-26 18:38:54 +02:00
Gav Wood
07b5e9a5c7 Encryption, decryption and public key RPCs. (#1946)
* Fix up pending receipts details.

* Add support for additional params and registry over RPC.

* Fix tests.

* Add test, additional fix.

Fixes #1932.

* Fix up tests.

* Fix test.

* Fix test.

* Remove unused use.

* Add encryption, decryption and public-key RPCs.

* Remove &
2016-09-22 14:48:22 +02:00
Tomusdrw
110e58607f Bumping jsonrpc-core & jsonrpc-http-server 2016-09-19 01:54:44 +02:00
Tomasz Drwięga
7f7e74869c Bump clippy & Fix warnings (#2109)
* Bump clippy

* Fixing warnings
2016-09-16 23:03:26 +02:00
Robert Habermeier
c16bf7face Merge pull request #2078 from ethcore/bigint_crates
Get bigint on crates.io
2016-09-15 16:54:30 +02:00
Robert Habermeier
42a8ea0002 prepare bigint for crates.io 2016-09-13 15:27:18 +02:00
Tomasz Drwięga
db59d9a4ae Merge branch 'master' into config-files 2016-09-12 00:57:25 +02:00
Robert Habermeier
835460a098 Merge pull request #2059 from ethcore/snap_service_tests
Add a few tests for the snapshot service
2016-09-11 13:27:57 +02:00
Tomasz Drwięga
62de1c3891 Config files WiP 2016-09-10 22:14:15 +02:00
Robert Habermeier
53b22da1c1 Merge pull request #2046 from ethcore/ipc-tweaks-3
IPC tweaks
2016-09-09 17:31:59 +02:00
Robert Habermeier
c65a5c8e9c add restored_is_equivalent test 2016-09-08 12:14:53 +02:00
Tomasz Drwięga
e2377dd510 Merge branch 'master' into dapps-sync
Conflicts:
	dapps/src/handlers/fetch.rs
2016-09-05 08:43:07 +02:00
Nikolay Volf
2fc70902e7 further tweaking of ipc entities lifecycle 2016-09-03 11:31:29 +03:00
Tomasz Drwięga
59f18ab958 Fetching content from HTTPS using rustls (#2024)
* Fetching https

* Fetching dispatcher (HTTP, HTTPS)

* Fetching from github

* Chunked encoding parser

* Abort support

* Fixing tests and review comments

* Cargo.lock order [ci skip]

* Relaxed -> SeqCst
2016-09-03 01:34:32 +02:00
Robert Habermeier
bb6243c550 merge with master 2016-09-01 15:07:06 +02:00
Robert Habermeier
74ffcff99c port parity itself 2016-09-01 14:55:07 +02:00
Robert Habermeier
d763664d16 port network, sync, rpc 2016-09-01 14:49:12 +02:00
Robert Habermeier
eb7b62a61c move rlp to separate crate, port ethcore-util to it 2016-09-01 13:36:32 +02:00
Tomasz Drwięga
31dbbf5431 Merge branch 'master' into dapps-sync
Conflicts:
	Cargo.lock
	dapps/src/router/mod.rs
	signer/src/ws_server/session.rs
2016-09-01 13:36:28 +02:00
Tomasz Drwięga
b4f3c4bd7a Asynchronous RPC support (#2017)
* Async RPC

* Limiting number of transactions in queue

* Fixing tests

* Bumping serde and jsonrpc-core

* serde updated to 0.8

* fixed failing tests

* Bumping ipc server

* Fixing API for endpoints

* Experimenting with tests without --release mode
2016-09-01 12:00:00 +02:00
Tomasz Drwięga
055ff91464 Bumping ui 2016-09-01 11:29:40 +02:00
Tomasz Drwięga
9c4d31f548 Signer errors 2016-09-01 10:26:25 +02:00
Tomasz Drwięga
6f321d9849 LRU cache for dapps (#2006)
Conflicts:
	dapps/Cargo.toml
	dapps/src/lib.rs
2016-08-30 14:04:52 +02:00
Marek Kotewicz
09e0842f56 Revert removing ecies (#2009)
* revert removing ECIES without MAC

* removed reverted change in encrypt
2016-08-25 12:11:06 +02:00
Nikolay Volf
d631162440 Stratum IPC service (#1959)
* boot binaries reorg & helpers

* stratum ipc service

* spaces in cli
2016-08-24 18:35:38 +02:00
Marek Kotewicz
b0d462c6c9 Signature cleanup (#1921)
* Address renamed to H160 at bigint library level

* moved uint specific test from util to bigint library

* naming

* unifing hashes in progress

* unifing hashes

* cleanup redundant unwraps in tests

* Removing util/crypto in progress.

* fixed compiling

* signature cleanup in progress

* new module - ethcrypto used by ethstore and ethcore-network

* fixed compiling

* fixed compiling

* fixed merge
2016-08-24 18:35:21 +02:00
Tomasz Drwięga
33e0a234f2 Validating sha3 of a dapp bundle (#1993)
* Validating sha3 of a file

* sha3 in utils

* Removing devtools
2016-08-24 16:53:07 +02:00
Tomasz Drwięga
124a5da75e Resolving URLs from contract (#1964)
* Fetching dapp from github.

* Unpacking dapp

* Removing hardcodes

* Proper Host validation

* Randomizing paths

* Splitting into files

* Serving donwloaded apps from different path

* Extracting URLHint to separate module

* Whitespace and docs

* Resolving from URLHint contract

* Fixing test

* Resolving githubhint url from registrar

* Proper redirections

* Fixing test

* fixing ethstore [ci skip]

* Correct version of registrar

* Removing superfluous Box
2016-08-23 19:28:21 +02:00
Nipunn Koorapati
2a550c2adf Add timeout for eth_getWork call (#1975) 2016-08-23 17:07:00 +02:00
Tomasz Drwięga
f4826d1b2a Bump clippy (#1982) 2016-08-23 10:10:19 +02:00
Nipunn Koorapati
880b7b811e Upgrade hyper dependency to 0.9 (#1973) 2016-08-22 15:16:23 +02:00
Tomasz Drwięga
d996754927 Getting rid of syntex 2016-08-19 14:26:03 +02:00
Nikolay Volf
070a2157e6 Stratum protocol general (#1954)
* stratum stub

* basic subscription

* workers, authorizations stubs

* push messages

* authorizing workers

* push tests (failing)

* traits.rs forgotten

* version bump

* parking lot rwlock

* trace for else

* various fixes

* fix last test

* bump version

* logger under test mod

* dependencies dependant

* extra line demolition
2016-08-19 10:20:39 +02:00
arkpar
f0cb835f44 Apply settings to column families 2016-08-18 18:04:54 +02:00
Tomasz Drwięga
0620a03e56 Fetchable dapps (#1949)
* Fetching dapp from github.

* Unpacking dapp

* Removing hardcodes

* Proper Host validation

* Randomizing paths

* Splitting into files

* Serving donwloaded apps from different path

* Extracting URLHint to separate module

* Whitespace and docs
2016-08-18 12:19:09 +02:00
Tomasz Drwięga
bcf6b0b7d8 Bump clippy, fix warnings (#1939)
* Bumping clippy

* Fixing warnings
2016-08-17 16:06:41 +02:00
Marek Kotewicz
c39761c042 ethkey and ethstore use hash structures from bigint (#1851)
* Address renamed to H160 at bigint library level

* moved uint specific test from util to bigint library

* naming

* unifing hashes in progress

* unifing hashes

* cleanup redundant unwraps in tests

* fixed compiling
2016-08-15 15:09:00 +02:00
Tomasz Drwięga
e6d9fb2ad3 Bumping Parity UI [ci skip] (#1920) 2016-08-12 11:21:18 +02:00
Tomasz Drwięga
f114a933a3 Peers RPC + UI displaying active/connected/max peers (#1915)
* Peers API

* Bumping Parity-UI

* Fixing tests
2016-08-11 17:19:20 +02:00
Gav Wood
286b67d54b Wallet rpcs (#1898)
* Add wallet RPCs.

* Add wordlist file.

* Add standard brain wallet tests.

* Allow import of JSON wallets.

* Address grumble.
2016-08-10 17:57:40 +02:00
arkpar
0a06c9d3aa RocksDB version bump 2016-08-10 13:23:39 +02:00
Nikolay Volf
7f5c178b1c Merge pull request #1886 from ethcore/ver-bump
v1.4.0 in master
2016-08-09 17:15:01 +03:00
arkpar
69d1c1f237 v1.4.0 2016-08-09 11:40:57 +02:00
debris
974d537849 Merge branch 'master' of github.com:ethcore/parity into move_hash 2016-08-09 09:58:18 +02:00
Tomasz Drwięga
fe8a57451a Merge branch 'master' into ws-rs 2016-08-08 21:24:52 +02:00
Tomusdrw
74e66c3f0e ws-rs update 2016-08-08 21:24:10 +02:00
Tomasz Drwięga
59b0f8c7a3 RPC errors & logs (#1845)
* Refactoring errors in RPC

* Updating jsonrpc-core

* Fixing code_at

* Avoid mentioning obvious segments in proof

[ci:skip]
2016-08-08 17:25:15 +02:00
Tomasz Drwięga
10b18db833 Validating u256->usize conversion 2016-08-08 10:26:28 +02:00
debris
88c5f555a9 Merge branch 'master' of github.com:ethcore/parity into move_hash 2016-08-06 00:03:07 +02:00
Robert Habermeier
76a7246369 Snapshot creation and restoration (#1679)
* to_rlp takes self by-reference

* clean up some derefs

* out-of-order insertion for blockchain

* implement block rebuilder without verification

* group block chunk header into struct

* block rebuilder does verification

* integrate snapshot service with client service; flesh out implementation more

* initial implementation of snapshot service

* remove snapshottaker trait

* snapshot writer trait with packed and loose implementations

* write chunks using "snapshotwriter" in service

* have snapshot taking use snapshotwriter

* implement snapshot readers

* back up client dbs when replacing

* use snapshot reader in snapshot service

* describe offset format

* use new get_db_path in parity, allow some errors in service

* blockchain formatting

* implement parity snapshot

* implement snapshot restore

* force blocks to be submitted in order

* fix bug loading block hashes in packed reader

* fix seal field loading

* fix uncle hash computation

* fix a few bugs

* store genesis state in db. reverse block chunk order in packed writer

* allow out-of-order import for blocks

* bring restoration types together

* only snapshot the last 30000 blocks

* restore into overlaydb instead of journaldb

* commit version to database

* use memorydbs and commit directly

* fix trie test compilation

* fix failing tests

* sha3_null_rlp, not H256::zero

* move overlaydb to ref_overlaydb, add new overlaydb without on-disk rc

* port archivedb to new overlaydb

* add deletion mode tests for overlaydb

* use new overlaydb, check state root at end

* share chain info between state and block snapshotting

* create blocks snapshot using blockchain directly

* allow snapshot from arbitrary block, remove panickers from snapshot creation

* begin test framework

* blockchain chunking test

* implement stateproducer::tick

* state snapshot test

* create block and state chunks concurrently, better restoration informant

* fix tests

* add deletion mode tests for overlaydb

* address comments

* more tests

* Fix up tests.

* remove a few printlns

* add a little more documentation to `commit`

* fix tests

* fix ref_overlaydb test names

* snapshot command skeleton

* revert ref_overlaydb renaming

* reimplement snapshot commands

* fix many errors

* everything but inject

* get ethcore compiling

* get snapshot tests passing again

* instrument snapshot commands again

* fix fallout from other changes, mark snapshots as experimental

* optimize injection patterns

* do two injections

* fix up tests

* take snapshots from 1000 blocks efore

* address minor comments

* fix a few io crate related errors

* clarify names about total difficulty

[ci skip]
2016-08-05 17:00:46 +02:00
debris
316c9093db Merge branch 'master' of github.com:ethcore/parity into move_hash 2016-08-05 10:53:34 +02:00
Arkadiy Paronyan
05bfdc508e Split IO and network crates (#1828)
* Abort on panic

* Split IO and network crates

* Restore panic handler

* Fixed doc tests
2016-08-05 10:32:04 +02:00
debris
1ed2de1d9b Merge branch 'master' of github.com:ethcore/parity into move_hash 2016-08-05 09:30:01 +02:00
Tomasz Drwięga
25aabe6e52 Supporting blockid in eth_call and trace_call/trace_raw (#1837)
* Supporting blockid in eth_call and trace_call/trace_raw

* Nicer state diff handling

* Purging deref.deref
2016-08-04 18:17:21 +02:00
Nikolay Volf
03ba0cc498 Bump json-ipc-server again (#1839)
* bump ipc version

* bumping once more
2016-08-04 16:42:12 +02:00