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
Robert Habermeier
53b22da1c1
Merge pull request #2046 from ethcore/ipc-tweaks-3
...
IPC tweaks
2016-09-09 17:31:59 +02:00
Robert Habermeier
ff17174cf1
also test abort_restore
2016-09-08 12:44:10 +02:00
Robert Habermeier
756b7a3e67
test folder-deleting guards
2016-09-08 12:27:13 +02:00
Robert Habermeier
c65a5c8e9c
add restored_is_equivalent test
2016-09-08 12:14:53 +02:00
keorn
9fe62d9750
adjust default timeouts
2016-09-08 10:31:46 +02:00
Robert Habermeier
b0f6bf2e78
remove client_db field from snapshot service
2016-09-07 19:38:59 +02:00
keorn
4ccbec1148
Merge remote-tracking branch 'parity/master' into bft
...
Conflicts:
sync/src/api.rs
sync/src/lib.rs
2016-09-07 16:54:39 +02:00
keorn
ba21bafd7b
tests and fixes
2016-09-07 16:25:42 +02:00
Robert Habermeier
57d5c35bb6
Use proper database configuration in snapshots. ( #2052 )
...
* use proper database config in snapshot service
* add snapshot path to parity directories struct
* fix RPC tests
2016-09-07 15:27:28 +02:00
Robert Habermeier
541b14a4ab
periodic snapshot tweaks ( #2054 )
...
* periodic snapshot tweaks
* set SNAPSHOT_HISTORY to 500
2016-09-07 15:27:14 +02:00
debris
e9593e0abb
ethkey-cli
2016-09-07 13:59:14 +02:00
Marek Kotewicz
e12788f3a4
Merge pull request #2056 from ethcore/ethstore-cli
...
Forward ethstore-cli feature
2016-09-07 13:52:40 +02:00
arkpar
fca2b1a242
Forward ethstore-cli feature
2016-09-07 13:49:11 +02:00
debris
ba806a6359
Merge branch 'master' of github.com:ethcore/parity into spec_load_errors
2016-09-07 10:24:58 +02:00
Robert Habermeier
f054a7b8d5
more info on current periodic snapshot
2016-09-06 17:44:11 +02:00
Robert Habermeier
46581e173d
check block queue size before taking periodic snapshot
2016-09-06 15:49:44 +02:00
Robert Habermeier
1e2cdedc9b
merge with master
2016-09-06 15:41:56 +02:00
Arkadiy Paronyan
5c5d9c8ccd
Snapshot sync ( #2047 )
...
* PV64 sync
* Tests
* Client DB restore
* Snapshot restoration over IPC
* Upating test
* Minor tweaks
* Upating test
2016-09-06 15:31:13 +02:00
keorn
45e6b4ac9d
seal generation and verificatio
2016-09-06 12:26:06 +02:00
keorn
91fbaf935c
Merge remote-tracking branch 'parity/master' into bft
...
Conflicts:
ethcore/src/client/client.rs
2016-09-05 18:16:09 +02:00
keorn
0af4bf23a9
add internal timeout service, test proposer switching
2016-09-05 17:51:29 +02:00
debris
aa8b871e49
handling invalid spec jsons properly, additional tests, closes #1840
2016-09-05 17:41:34 +02:00
keorn
8851acec7c
fix propose collect locking
2016-09-05 17:06:43 +02:00
Robert Habermeier
46b1224f7c
Merge branch 'master' into periodic_snapshot
2016-09-05 14:50:43 +02:00
Robert Habermeier
f0ef5e6943
keep snapshot watcher alive
2016-09-05 14:25:56 +02:00
Robert Habermeier
4e466f09db
Add a few small snapshot tests ( #2038 )
...
* add manifest data test
* begin tests for io
* add unit tests for snapshot io
* service smoke test
* remove empty service module
2016-09-05 12:24:03 +02:00
Robert Habermeier
2bf235e226
use more mocking in tests
2016-09-05 12:17:21 +02:00
Marek Kotewicz
da2c2e5fc6
facelift for traces, added errors ( #2042 )
...
* evm errors facelift
* facelift for traces, added errors with description
* additional tests for traces json serialization
2016-09-05 11:56:44 +02:00
Nikolay Volf
2fc70902e7
further tweaking of ipc entities lifecycle
2016-09-03 11:31:29 +03:00
Robert Habermeier
d9eb87cae7
add guard for temporary directories
2016-09-02 19:00:20 +02:00
Robert Habermeier
e3749b3bc4
implement snapshot watcher
2016-09-02 18:28:47 +02:00
Robert Habermeier
04dee54cb3
add take_snapshot to snapshot service
2016-09-02 16:15:25 +02:00
Robert Habermeier
e0feaa9d4d
Merge pull request #2034 from ethcore/rlp-crate
...
rlp as separate crate
2016-09-02 13:48:09 +02:00
Tomasz Drwięga
cabb028c1c
Propagating transactions to peers on timer. ( #2035 )
2016-09-01 19:07:58 +02:00
Robert Habermeier
bb6243c550
merge with master
2016-09-01 15:07:06 +02:00
Robert Habermeier
5dd56aa070
port ethcore
2016-09-01 14:29:59 +02:00
Robert Habermeier
eb7b62a61c
move rlp to separate crate, port ethcore-util to it
2016-09-01 13:36:32 +02:00
Robert Habermeier
9a5668f802
get rid of populatable and bytesconvertable traits ( #2019 )
2016-09-01 12:23:31 +02:00
Robert Habermeier
c8f3be2d93
Merge pull request #2025 from ethcore/triedbmut_double_insert
...
always process trie death row on commit, add more tracing
2016-09-01 11:19:22 +02:00
keorn
0fcbf8d99f
fix after merge
2016-08-31 18:43:24 +02:00
keorn
2f3d162f57
Merge remote-tracking branch 'parity/master' into bft
2016-08-31 18:19:24 +02:00
keorn
e475d0bf4c
initial timeouts
2016-08-31 18:18:02 +02:00
debris
f5f4736e7c
simplified iterator
2016-08-31 17:36:49 +02:00
debris
996b4b9dc0
fixed transaction addresses mapping, fixes #1971
2016-08-31 16:55:43 +02:00
Robert Habermeier
c61da07516
always process trie death row on commit, add more tracing
2016-08-31 14:28:56 +02:00
Marek Kotewicz
a88440ebae
Merge pull request #2018 from ethcore/builtin_trait
...
builtin trait refactoring
2016-08-31 12:01:54 +02:00
Robert Habermeier
a34bd389ce
builtin trait refactoring
2016-08-30 13:55:37 +02:00
keorn
d7499044e3
move seal into commit
2016-08-29 14:32:37 +02:00
keorn
4025645188
accumulate seal in precommit
2016-08-29 12:09:51 +02:00
Nipunn Koorapati
4389742ca3
Make the block header struct's internals private ( #2000 )
...
* Make the block header struct's internals private
Currently, this involves a lot of explicit cloning, but we
could migrate the return types of the get_* functions to
be copies rather than references since they are mostly copy
types anyway.
I opted to eliminate the constructor in favor of using
Default::default() plus calling a bunch of setters. This
is similar to the model that a Google Protobuf client uses
and I think it looks fine.
* Drop some unnecessary cloning by comparing references
* Fix compiler errors from callsites in tests.
2016-08-29 11:35:23 +02:00
keorn
a12a764d6c
add rounds check, simplify tests
2016-08-26 19:27:50 +02:00
keorn
f60d4645ed
move vote with addresses, remove recover check
2016-08-26 19:27:02 +02:00
keorn
a4ba7262ad
update Signature and ipc usage
2016-08-26 13:16:56 +02:00
Robert Habermeier
1c19a807d9
Take control of recovered snapshots, start restoration asynchronously ( #2010 )
...
* take control of given snapshot
* start snapshot restoration asynchronously,
2016-08-25 22:20:44 +02:00
keorn
8bd0034ced
Merge remote-tracking branch 'parity/master' into bft
...
Conflicts:
ethcore/src/error.rs
2016-08-25 19:24:29 +02:00
keorn
fcae03e55f
propose message test
2016-08-25 19:22:10 +02:00
Robert Habermeier
2aef81cf90
remove internal locking from DBTransaction ( #2003 )
2016-08-25 16:43:56 +02:00
Robert Habermeier
b18407b9e3
Snapshot optimizations ( #1991 )
...
* apply RLP compression to abridged blocks
* add memorydb consolidate
* code hash optimization
* add warning to snapshot restoration CLI
2016-08-25 14:28:45 +02:00
Robert Habermeier
d47361270a
Merge pull request #1998 from ethcore/bloom_optimization
...
small blooms optimization
2016-08-24 20:39:39 +02:00
Marek Kotewicz
f6b8dd0e78
protection from adding empty traces && assertion in traces db ( #1994 )
...
* protection from readding empty traces && assertion in traces db
* simplified assert
2016-08-24 18:35:53 +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
Robert Habermeier
190e4db266
Trie query recording and AccountDB factory for no mangling ( #1944 )
...
* optionally use no mangling for accountdb
* add the recorder module
* get_recorded for tries, no virtual dispatch on readonly tries
* add recording test
2016-08-24 16:53:36 +02:00
keorn
77f06be7fb
fix error propagation
2016-08-24 15:55:47 +02:00
debris
b96d4eaddb
bloom optimization
2016-08-24 13:59:50 +02:00
keorn
1cb3c164da
propose step
2016-08-24 11:58:49 +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
keorn
99a143eb37
change broadcast interface, add basic message handling
2016-08-23 17:19:23 +02:00
Nipunn Koorapati
2a550c2adf
Add timeout for eth_getWork call ( #1975 )
2016-08-23 17:07:00 +02:00
arkpar
207f9d02f2
Started inf networking
2016-08-23 15:52:05 +02:00
keorn
535c502771
delete old test
2016-08-23 15:44:01 +02:00
Nikolay Volf
f2be2aec68
Merge pull request #1983 from ethcore/ipc-rel-dir
...
Use relative path for IPC sockets
2016-08-23 16:36:23 +04:00
Marek Kotewicz
d4777f9296
fixed #1933 ( #1979 )
2016-08-23 13:31:03 +02:00
Gav Wood
35ecb396b6
Market-orientated transaction pricing ( #1963 )
...
* Market-orientated transaction pricing
Avoid a strict gas-limit and let the market decide through using
a priority queue based around gas pricing for transactions. In
periods of low transaction volume, they'll be processed for a lower
fee.
* Fix tests, add/clarify documentation, fix some logic.
* Change default to reflect CLI.
* Specify type.
* Make test more precise.
* Fix doc test
2016-08-23 13:30:33 +02:00
keorn
3aa862c9c2
add test, start tendermint
2016-08-23 12:58:40 +02:00
Nikolay Volf
2d0a7c33bb
address grumbles
2016-08-23 13:41:12 +03:00
Tomasz Drwięga
f4826d1b2a
Bump clippy ( #1982 )
2016-08-23 10:10:19 +02:00
keorn
3515a72fa0
proposal vote collector
2016-08-22 20:00:41 +02:00
Nikolay Volf
7c5435d3bb
fix to use relative socket path
2016-08-22 19:41:58 +03:00
keorn
89011dcc34
fix locking patterns, add simple test
2016-08-22 17:33:04 +02:00
keorn
2f5aeda44f
reusable voting on hashes
2016-08-22 13:19:23 +02:00
keorn
a20a0de48f
add spec
2016-08-21 15:28:40 +02:00
keorn
74939a43d6
fix types and lifetimes
2016-08-21 15:27:39 +02:00
keorn
8da38fa98b
intro simple seal bft engine
2016-08-19 17:18:30 +02:00
Robert Habermeier
0e0cc20d84
keep track of first block in blockchain ( #1937 )
2016-08-18 22:01:57 +02:00
Nikolay Volf
d7c184bd72
Merge pull request #1953 from ethcore/state_module
...
introduce ethcore/state module
2016-08-18 21:56:08 +04:00
Robert Habermeier
9adf77581c
move column family constants into db module ( #1955 )
2016-08-18 18:24:49 +02:00
Robert Habermeier
8c9f7a3e64
fix up tests, remove dead code
2016-08-18 18:17:21 +02:00
Robert Habermeier
eed7d006f1
Fix up tests, remove dead state-diff code
2016-08-18 18:13:32 +02:00
Robert Habermeier
b5c64da612
file moving
2016-08-18 17:56:05 +02:00
Nikolay Volf
d279794c32
remove unused imports ( #1951 )
2016-08-18 15:01:24 +02:00
Robert Habermeier
57dbdaada9
remove impossible panickers related to infallible db transaction ( #1947 )
2016-08-18 09:43:56 +02:00
Arkadiy Paronyan
108024e98d
Cache address hash ( #1943 )
2016-08-18 09:42:46 +02:00
Gav Wood
ccdf80f4dc
Fix several RPCs ( #1926 )
...
* 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.
2016-08-17 19:25:02 +02:00
Tomasz Drwięga
bcf6b0b7d8
Bump clippy, fix warnings ( #1939 )
...
* Bumping clippy
* Fixing warnings
2016-08-17 16:06:41 +02:00
Nikolay Volf
46f029e65c
Use explicit global namespaces in codegen ( #1928 )
...
* ipc as a deault feature
* first part of purge
* second part of ns purge
2016-08-17 15:54:24 +02:00
Nikolay Volf
e01ba60dd9
add drop with timeout ( #1934 )
2016-08-17 15:53:34 +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
Gav Wood
ca54b8e493
RPC for importing geth keys ( #1916 )
...
* Address book for local addresses.
* Simple disk-backed address book.
* Add test and keep file with keys.
* View and import Geth keys.
* Fix test.
* Fix up author info.
[ci:skip]
2016-08-11 18:31:28 +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