Gav Wood
82efa2675e
Merge remote-tracking branch 'origin/master' into consistent-id
2016-12-10 13:36:30 +01:00
Tomasz Drwięga
4696d7f606
Additional RPCs for dapps accounts management
2016-12-10 12:36:04 +01:00
keorn
e5f8044cad
Merge branch 'master' into auth-bft
2016-12-10 11:01:23 +01:00
keorn
5f09eb9d04
update tests to new spec ( #3790 )
2016-12-10 10:38:10 +01:00
Gav Wood
edd5e76050
Merge branch 'consistent-id' into check-updates
2016-12-09 23:12:36 +01:00
Gav Wood
5f1fcf95e0
Make *ID names consistent with std Rust (Id)
2016-12-09 23:01:43 +01:00
Robert Habermeier
503b126c93
Merge branch 'master' into lightserv
2016-12-09 21:37:55 +01:00
Gav Wood
2226324495
Merge pull request #3778 from ethcore/auth-round-test
...
AuthorityRound network simulation test
2016-12-09 20:58:05 +01:00
keorn
b15edd095e
Merge branch 'auth-bft' of https://github.com/ethcore/parity into auth-bft
2016-12-09 20:51:42 +01:00
Gav Wood
c82754874c
Fix typo.
2016-12-09 20:48:52 +01:00
keorn
08e7e79bfd
more test
2016-12-09 20:48:05 +01:00
Gav Wood
46af3d18da
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-09 20:45:15 +01:00
Gav Wood
e5e6b77984
Cleanups and avoid redownloading.
2016-12-09 20:40:24 +01:00
arkpar
97f358ced9
AuthorityRound network simulation test
2016-12-09 20:38:06 +01:00
Tomasz Drwięga
c91a614c3d
Fixing tests
2016-12-09 20:24:33 +01:00
arkpar
ca7406773f
AuthorityRound network simulation test
2016-12-09 19:27:16 +01:00
Gav Wood
c2b6be95c8
Fetch and place in updates path.
2016-12-09 19:02:42 +01:00
Tomasz Drwięga
cee07fef74
Trigger remove_old on new block
2016-12-09 15:54:13 +01:00
Tomasz Drwięga
5d054f08c3
Clearing old transactions
2016-12-09 15:05:03 +01:00
keorn
56e9dab9de
add Engine stop method
2016-12-09 14:52:08 +01:00
arkpar
cc8c2ea58d
Reject existing tx
2016-12-09 14:37:11 +01:00
Tomasz Drwięga
3ccdb7c143
Fixing unused imports
2016-12-09 10:52:42 +00:00
keorn
42c34b5c1b
ignore flaky test
2016-12-09 10:53:38 +01:00
Tomasz Drwięga
930183831b
Adding tests for ethstore
2016-12-09 09:45:34 +00:00
Tomasz Drwięga
8596134c0f
Clearer updates handling
2016-12-09 08:31:58 +00:00
Tomasz Drwięga
93230dd4c2
Merge branch 'master' into rotating-key
...
Conflicts:
ethcore/src/account_provider/mod.rs
rpc/src/v1/types/mod.rs.in
2016-12-09 07:37:34 +00:00
Robert Habermeier
eec1929658
Merge branch 'master' into lightserv
2016-12-09 01:29:46 +01:00
keorn
7c42241466
remove merge code
2016-12-08 22:00:26 +01:00
keorn
74770e4773
better docstrings
2016-12-08 21:49:55 +01:00
keorn
cc284dd86f
Merge branch 'master' into auth-bft
2016-12-08 21:35:08 +01:00
keorn
79ef64349c
remove assert
2016-12-08 21:27:49 +01:00
keorn
9ecb07434f
fix informant
2016-12-08 21:13:32 +01:00
Gav Wood
2d6656fc43
Merge pull request #3725 from ethcore/engine-password
...
Make engine hold AccountProvider
2016-12-08 20:52:12 +01:00
keorn
dca752e9bb
docs, tweaks
2016-12-08 20:09:30 +01:00
Robert Habermeier
efd66f566d
ethsync: optional ipc codegen
2016-12-08 19:52:48 +01:00
Robert Habermeier
8d16f73795
first few LES tests, fix get_header logic bug
2016-12-08 12:20:18 +01:00
keorn
3ebfa1481d
better proposal block handling
2016-12-08 12:03:34 +01:00
Gav Wood
8903384840
Merge branch 'master' into check-updates
2016-12-07 19:19:44 +01:00
Jaco Greeff
7c054d2da0
Remove unneeded block scope
2016-12-07 17:07:28 +01:00
Jaco Greeff
46840d36c9
Add parity_removeAddress RPC
2016-12-07 16:53:46 +01:00
keorn
347634ac6c
dont rebroadcast propose
2016-12-07 16:42:58 +01:00
keorn
b73689f041
Merge branch 'engine-password' into auth-bft
2016-12-07 15:17:49 +01:00
keorn
727ace0561
add test
2016-12-07 15:14:21 +01:00
keorn
e9743a3a75
Merge branch 'master' into auth-bft
2016-12-07 14:50:17 +01:00
keorn
4361cb53e7
Merge branch 'engine-password' into auth-bft
2016-12-07 14:49:42 +01:00
keorn
5faa4a85cb
remove dummy type
2016-12-07 14:49:07 +01:00
keorn
6440ca2f68
move stuff around
2016-12-07 14:39:37 +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
89726356a3
Merge pull request #3709 from ethcore/opt-in-verifier-scaling
...
queue: CLI for auto-scaling and num verifiers
2016-12-07 13:40:42 +01:00
keorn
c582540746
Merge branch 'engine-password' into auth-bft
2016-12-07 11:41:38 +01:00
keorn
3ae09de019
restore is_new_best
2016-12-07 11:40:46 +01:00
keorn
a296c5e226
test client message handling
2016-12-07 11:38:09 +01:00
Robert Habermeier
b38d95328d
light: conditional compilation
2016-12-07 10:50:24 +01:00
keorn
da030fed51
Merge branch 'master' into auth-bft
2016-12-07 10:41:07 +01:00
keorn
5c333fce31
Merge branch 'engine-password' into auth-bft
2016-12-07 10:35:52 +01:00
keorn
71a96588b0
add the methods to engines
2016-12-07 10:34:06 +01:00
keorn
d9eb5e7f1d
remove uncles
2016-12-07 09:32:36 +01:00
Robert Habermeier
085b8ad553
Merge pull request #3527 from ethcore/client-provider
...
LES Part 2
2016-12-07 09:31:50 +01:00
Robert Habermeier
398b94e6e2
Merge branch 'master' into opt-in-verifier-scaling
2016-12-06 15:37:10 +01:00
keorn
8f641e67f3
Merge branch 'engine-password' into auth-bft
2016-12-06 13:13:02 +00:00
keorn
0a2ec319ac
rename to engine_signer
2016-12-05 21:31:38 +00:00
keorn
92d566c900
Merge branch 'master' into engine-password
2016-12-05 19:30:08 +00:00
Gav Wood
ff7b918d82
Fix build.
2016-12-05 10:55:53 -08:00
Gav Wood
5e1fdc4b11
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-12-05 10:44:19 -08:00
Gav Wood
ad36743122
Merge pull request #3719 from ethcore/engine-block-ordering
...
Engine block ordering
2016-12-05 10:37:36 -08:00
keorn
01bf483b63
remove unnecessary impls
2016-12-05 17:29:47 +00:00
Robert Habermeier
1b6ebe1a6d
possible fix for queue drop deadlock ( #3702 )
...
* possible fix for #3686
* queue: simplify conclusion, don't block on joining
* queue: park verifiers with timeout to prevent race
* more robust verification loop
* queue: re-introduce wait for verifier joining
2016-12-05 18:18:56 +01:00
keorn
81a756394a
Merge branch 'master' into engine-password
2016-12-05 17:08:57 +00:00
keorn
529a7fc33c
add password and AccountProvider
2016-12-05 17:08:16 +00:00
keorn
6fc943ca6d
Merge branch 'master' into auth-bft
2016-12-05 16:37:35 +00:00
keorn
4f857642b5
rename set_sealer
2016-12-05 16:28:56 +00:00
Robert Habermeier
a726472023
Merge pull request #3713 from ethcore/fix-v-u64
...
Encode networkid as a u64.
2016-12-05 17:14:07 +01:00
Robert Habermeier
a6c2408562
IPC codegen in ethcore-light; remove network dependency
2016-12-05 16:56:21 +01:00
Robert Habermeier
61c3358447
move light to its own crate again
2016-12-05 16:55:33 +01:00
keorn
53b479fb7a
pass engine to snapshot service
2016-12-05 15:43:46 +00:00
keorn
94302f3f61
throw out difficulty checks
2016-12-05 15:27:44 +00:00
keorn
c61a0e97b3
make engine determine block order
2016-12-05 15:20:32 +00:00
Gav Wood
afe4cc6a05
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-05 07:09:42 -08:00
Gav Wood
459babb1a8
Logging.
2016-12-05 06:39:56 -08:00
keorn
c39d504167
Merge branch 'spec-rlp-loading' into auth-bft
2016-12-05 14:11:06 +00:00
keorn
22632e6324
make generic seal take valid rlp
2016-12-05 14:07:31 +00:00
keorn
b30c1d5602
fix tests
2016-12-05 13:24:22 +00:00
keorn
c946ffebf3
Merge branch 'master' into auth-bft
2016-12-05 11:30:11 +00:00
Gav Wood
9d79cac36b
Cleanups.
2016-12-04 11:56:12 -08:00
keorn
f7a01b87b5
better gossip, better proposal collection
2016-12-04 19:43:24 +00:00
keorn
edef7a185f
remove tracing
2016-12-04 19:42:53 +00:00
Gav Wood
2911c549e3
Encode networkid as a u64.
2016-12-04 10:48:26 -08:00
Gav Wood
356aca2db5
Fix build.
2016-12-04 09:13:23 -08:00
Gav Wood
90a20a217f
Merge branch 'master' into check-updates
2016-12-04 09:01:50 -08:00
Gav Wood
0c7b7fc8bc
Merge pull request #3627 from ethcore/rpc-middleware
...
Dapps-specific accounts
2016-12-04 08:46:05 -08:00
keorn
9084e6242d
lock ordering
2016-12-02 20:04:12 +00:00
keorn
ff6240eff3
insert block into queue when sealing
2016-12-02 20:03:15 +00:00
Robert Habermeier
cd5b6fdf59
queue: CLI for auto-scaling and num verifiers
2016-12-02 18:21:54 +01:00
keorn
c8a3db4c52
new error proposal test
2016-12-02 13:59:54 +00:00
keorn
91099f62c9
add more gossip if step is stuck
2016-12-02 13:37:49 +00:00
keorn
e0f2fac441
new error type
2016-12-02 13:32:00 +00:00
keorn
0eb55cbd4d
update message test
2016-12-02 13:31:28 +00:00
keorn
2c8c090598
stricter size verification
2016-12-02 13:30:43 +00:00
Robert Habermeier
6e1a1f9dec
Merge branch 'master' into client-provider
2016-12-02 10:06:09 +01:00
Robert Habermeier
3837114eb2
Merge pull request #3431 from ethcore/state-tests-indentation
...
indent state tests
2016-12-02 09:09:35 +01:00
Gav Wood
1dd13372b6
Merge remote-tracking branch 'origin/master' into rpc-middleware
2016-12-01 19:43:31 -08:00
keorn
f0e9eae244
remove difficulty check
2016-12-01 22:07:18 +00:00
keorn
df1cce8e7f
simplify seal verification
2016-12-01 21:56:38 +00:00
keorn
e76ead40d1
update tracing message
2016-12-01 21:55:43 +00:00
keorn
39ea703c69
vote on message generation
2016-12-01 20:50:24 +00:00
arkpar
f1ef4a4935
Import sealed block immedtiatelly
2016-12-01 19:11:36 +01:00
keorn
9290fdde85
fix tests
2016-12-01 17:21:51 +00:00
keorn
498b2fb0b1
show verification error
2016-12-01 17:20:16 +00:00
keorn
e40e398eaa
clean up some tracing
2016-12-01 17:19:40 +00:00
keorn
344999aaf7
return signing failure error
2016-12-01 14:10:42 +00:00
keorn
66b4f1ac47
remove unnecessary option
2016-12-01 14:10:22 +00:00
Gav Wood
d3e684698a
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-11-30 17:15:05 -08:00
keorn
dbf82c2e98
fix tests
2016-11-30 16:40:16 +00:00
keorn
d128c20dc2
remove proposer_nonce
2016-11-30 16:02:05 +00:00
keorn
bb8347477a
gossip when not enough votes
2016-11-30 16:01:20 +00:00
Tomasz Drwięga
022ccb5bce
Fixing tests
2016-11-30 16:33:42 +01:00
Tomasz Drwięga
c028f106b1
RPC for confirming with token
2016-11-30 16:11:41 +01:00
keorn
73e7908325
test password registration
2016-11-30 14:30:21 +00:00
Tomasz Drwięga
6397556cbb
Sign with token support
2016-11-30 15:08:38 +01:00
keorn
155da50fcd
Merge branch 'master' into auth-bft
2016-11-30 13:06:21 +00:00
keorn
34d5017950
hold password in engine, add rpc
2016-11-30 12:59:33 +00:00
Tomasz Drwięga
ad440a12bd
EthMultiStore
2016-11-30 13:47:14 +01:00
Tomasz Drwięga
8e2aca719f
Shared hash-fetch
2016-11-30 10:16:18 +01:00
Gav Wood
d525a6d7f0
Merge pull request #3654 from ethcore/clippy-bump
...
Bumping clippy
2016-11-29 18:00:13 +01:00
arkpar
95f81b2a2f
Moved consensus networking into Parity handler
2016-11-29 16:54:30 +01:00
Gav Wood
9115214cea
Merge pull request #3636 from ethcore/fatdb
...
Return of the Fat DB
2016-11-29 16:47:09 +01:00
keorn
7929a145e7
fix deadlock
2016-11-29 14:55:54 +00:00
Tomasz Drwięga
762d8b89d6
Removing unused imports
2016-11-29 14:03:21 +01:00
keorn
294e89e5c0
use EngineError instead of BlockError
2016-11-29 12:51:27 +00:00
keorn
e784fa906e
warn on double vote
2016-11-29 12:20:38 +00:00
keorn
49b953a9f4
order invariant seal equality
2016-11-29 11:18:40 +00:00
Igor Artamonov
8ec8bcd626
fix after code review, rel [ 748260b
]
2016-11-29 17:18:33 +06:00
keorn
d0eab4a0d8
old message removal, avoid too many recoveries
2016-11-29 10:55:24 +00:00
keorn
61cf8b8b7e
vote propose
2016-11-28 18:58:15 +00:00
keorn
0f1eefc00d
disallow None seal sigs
2016-11-28 18:37:00 +00:00
Tomasz Drwięga
64b1b898f1
Fixing compilation on stable
2016-11-28 17:43:38 +01:00
keorn
e4ff614966
remove unused tracing
2016-11-28 15:50:55 +00:00
keorn
b454f7e307
use Io queue for messages
2016-11-28 15:42:36 +00:00
keorn
1326c6cf5a
rebroadcast unseen messages
2016-11-28 15:24:22 +00:00
keorn
7d97ba5ee0
seal sigs test
2016-11-28 15:23:39 +00:00
Tomasz Drwięga
2b3d100de2
Fixing some clippy warnings
2016-11-28 15:54:22 +01:00
Igor Artamonov
748260bebe
invalidate blocks from future
2016-11-28 20:14:43 +06:00
keorn
ef4ecce7bf
nicer vote counting + test
2016-11-28 14:08:38 +00:00
keorn
09c28806d6
proper test IoHandler
2016-11-28 11:47:33 +00:00
keorn
5c0e89ae9a
Merge branch 'master' into auth-bft
2016-11-28 09:50:22 +00:00
keorn
89f0bd714d
test whole transitioning
2016-11-28 09:42:50 +00:00
arkpar
c7b359fcee
Style
2016-11-28 01:37:25 +01:00
arkpar
d0c80a6903
Updated tests
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
Gav Wood
3b6d886860
Fix up the transaction JSON serialisation for RPC.
2016-11-27 14:11:37 +01:00
Tomasz Drwięga
a9028ca986
Merge branch 'master' into rpc-middleware
...
Conflicts:
Cargo.lock
rpc/src/v1/tests/mocked/parity_accounts.rs
2016-11-25 21:18:02 +01:00
Gav Wood
de8dd47ff9
Fetch binaries.
2016-11-25 19:29:13 +01:00
keorn
a7afbf4d25
tracing and vote test
2016-11-25 16:45:32 +00:00
keorn
8f72017bcc
add transition tracing
2016-11-25 16:44:57 +00:00
keorn
f59746b2da
order messages by signature
2016-11-25 16:44:18 +00:00
keorn
d2099d9f13
derive Eq for tests
2016-11-25 16:43:26 +00:00
Gav Wood
8cddf9976a
Better information.
2016-11-25 15:43:49 +01:00
Gav Wood
d0312b89ad
Update test, fix number. ( #3612 )
2016-11-25 13:03:15 +01:00
Gav Wood
befb0bf2bd
Merge branch 'fix-number' into check-updates
2016-11-25 12:17:58 +01:00
keorn
1692c07ba6
Merge branch 'master' into auth-bft
2016-11-25 10:51:06 +00:00
keorn
da499b0a4a
self contained test proposal
2016-11-24 19:59:08 +00:00
keorn
f867372dfe
increase default proposal time
2016-11-24 19:58:29 +00:00
keorn
04acdd6ca0
reuse rlp generation
2016-11-24 19:57:58 +00:00
Gav Wood
45017c599a
Update test, fix number.
2016-11-24 19:11:29 +01:00
Gav Wood
735df6c30f
More work.
2016-11-24 17:19:48 +01:00
Gav Wood
e9197f5862
Merge pull request #3603 from ethcore/trace-fix
...
Always insert traces for genesis.
2016-11-24 17:16:37 +01:00
Gav Wood
46e5a84bc5
Merge pull request #3540 from ethcore/delete-accounts
...
Real deleting accounts
2016-11-24 17:16:26 +01:00
Tomasz Drwięga
aa52c72bda
Traces for genesis are always present.
2016-11-24 15:05:52 +01:00
keorn
8f37807d4b
seal checks
2016-11-24 13:57:54 +00:00
keorn
38f25fc195
message tests and fixes
2016-11-24 13:57:04 +00:00
keorn
207364929c
improve error types
2016-11-24 13:55:16 +00:00
Gav Wood
03ef95ba50
Compiles.
2016-11-23 20:35:21 +01:00
Gav Wood
5d62cfdf6f
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-23 18:15:21 +01:00
Gav Wood
9d3b2352cc
More work.
2016-11-23 16:29:15 +01:00
Tomasz Drwięga
cd6f565f69
RPC Middleware & Get/Set dapp-specific accounts
2016-11-23 16:27:05 +01:00
Gav Wood
820e291ac8
Merge pull request #3573 from ethcore/no-bg-download
...
CLI option to disable ancient block downloading
2016-11-23 16:06:45 +01:00
Gav Wood
4c9bb5aa25
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-23 14:45:55 +01:00
Arkadiy Paronyan
a969c008d1
Fix panic on importing own invalid transaction ( #3550 )
2016-11-23 08:46:55 +01:00
arkpar
7da8f019d5
--no-ancient-blocks
2016-11-22 18:15:55 +01:00
keorn
8f6a464c51
new error types
2016-11-22 17:15:22 +00:00
Gav Wood
03d3e585af
Merge pull request #2445 from ethcore/adaptive_queue_threads
...
Use an adaptive number of threads in the verification queue
2016-11-22 17:39:11 +01:00
keorn
340d377930
Revert "dont keep account provider in miner"
...
This reverts commit 11ccacd6d0
.
2016-11-22 16:05:27 +00:00
Jaco Greeff
609e8912d8
Merge branch 'master' into delete-accounts
2016-11-22 16:19:40 +01:00
Gav Wood
bf9ed2d444
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-22 10:25:34 +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
Gav Wood
818e54d44e
Merge pull request #3547 from ethcore/fix-flaky-auth
...
Fix flaky test
2016-11-22 00:01:51 +01:00
keorn
32bcd08b94
test utilities
2016-11-21 18:54:16 +00:00
keorn
66526af5a8
pass engine in tests
2016-11-21 18:53:53 +00:00
keorn
84fdaf966a
correct seal verification
2016-11-21 16:02:26 +00:00
keorn
841d0941e0
remove WithSome block hash
2016-11-21 16:01:52 +00:00
keorn
12dbdc1d6e
dont pass ap
2016-11-21 16:01:34 +00:00
Robert Habermeier
53afb8d22d
queue: park directly instead of through condvar
2016-11-21 14:48:25 +01:00
Robert Habermeier
133796b7ff
queue: verifier scaling tests
2016-11-21 14:23:34 +01:00
keorn
42ef7767da
delete unused message type
2016-11-21 12:23:27 +00:00
keorn
6e0bd4072b
Merge branch 'master' into auth-bft
2016-11-21 12:17:00 +00:00
keorn
959ccc705a
fix indent
2016-11-21 12:07:43 +00:00
keorn
c6db157554
fix flaky test, clean up specs
2016-11-21 12:06:14 +00:00
keorn
e69be670de
message serialization
2016-11-21 11:36:07 +00: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
Arkadiy Paronyan
efd1d9bd0e
Ropsten network ( #3539 )
...
* Ropsten network
* Sorted premine
* Comas
* Removed trailing coma
2016-11-20 16:38:45 +01:00
Gav Wood
2b8bed434c
RPC for deleting accounts.
2016-11-20 16:17:57 +01:00
Gav Wood
0848a9ec3c
Merge branch 'master' into transactions-propagate
2016-11-20 13:24:08 +01:00
Gav Wood
27a8608624
More information in the updater.
2016-11-20 13:18:56 +01:00
Gav Wood
44eda379ad
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-19 03:43:43 +01:00
Robert Habermeier
58ca93c123
document lock order
2016-11-18 19:27:32 +01:00
Robert Habermeier
48df2e12fa
exclusive access to each peer at a time
2016-11-18 19:26:05 +01:00
Robert Habermeier
4fd9670b33
support request sending
2016-11-18 19:12:20 +01:00
Arkadiy Paronyan
4a3bdf13df
Check transaction signature when adding to the queue ( #3508 )
2016-11-18 17:45:19 +01:00
Robert Habermeier
f1c665081a
Merge branch 'master' into client-provider
2016-11-18 16:07:50 +01:00
Robert Habermeier
63aa54cfc7
trigger event handlers, update capabilities
2016-11-18 15:30:06 +01:00
keorn
49cbd6ef98
unused imports, proposer_nonce
2016-11-18 13:38:04 +00:00
keorn
2f3b801296
rename transition
2016-11-18 13:37:47 +00:00
keorn
e90d814193
lock rounds
2016-11-18 12:27:00 +00:00
Gav Wood
4fd575b5ec
Add traces.
2016-11-18 19:52:11 +08:00
Robert Habermeier
3fabad5c0f
event struct types
2016-11-18 12:36:31 +01:00
Gav Wood
cd770490ff
Remove unneeded file.
2016-11-18 19:22:47 +08:00
Gav Wood
401a4a37c1
Initial structure for auto-updater.
...
- Add auto-gen'ed Operations and Registry ABIs.
- Add Updater for managing updates.
- Add fields in Client to enable update checking and registry.
2016-11-18 19:14:52 +08:00
Gav Wood
28aabcdb6c
Merge branch 'master' into check-updates
2016-11-18 11:45:04 +08:00
keorn
c62795d09b
ap registration
2016-11-17 23:36:24 +00:00
keorn
9d61071dd7
Merge branch 'miner-no-ap' into auth-bft
2016-11-17 22:04:07 +00:00
keorn
9d8ac7a09b
extra line [ci skip]
2016-11-17 19:08:00 +00:00
keorn
11b6578bc3
update tests
2016-11-17 18:46:50 +00:00
keorn
11ccacd6d0
dont keep account provider in miner
2016-11-17 18:32:12 +00:00
keorn
3bac68419a
last_lock
2016-11-17 17:12:37 +00:00
Robert Habermeier
8c0e511ebe
rewrite scaling logic
2016-11-17 18:10:09 +01:00
Robert Habermeier
546cd00659
allocate verifiers up front, hibernate when not needed
2016-11-17 16:00:23 +01:00
keorn
ce711e321a
remove unused vote accumulators
2016-11-17 13:28:29 +00:00
keorn
51ac38318a
save proposal hash
2016-11-17 13:26:57 +00:00
Tomasz Drwięga
5c62e38a7c
Cleanup
2016-11-17 13:52:09 +01:00
Tomasz Drwięga
fc4b51fe68
Prioritizing local transactions regardless of nonce
2016-11-17 13:42:45 +01:00
Tomasz Drwięga
74bf2c75f0
Transaction queue improvements
2016-11-17 13:32:13 +01:00
keorn
9563ccfbd2
message broadcasting methods
2016-11-17 12:18:20 +00:00
keorn
45027ea306
add new client messaging
2016-11-17 12:17:48 +00:00
Robert Habermeier
44dcd6bc3b
increase readjustment period
2016-11-17 13:10:33 +01:00
Robert Habermeier
ada9d2b760
Merge branch 'master' into adaptive_queue_threads
2016-11-17 13:00:24 +01:00
keorn
802d5c669d
transition rules
2016-11-16 18:01:09 +00:00
Tomasz Drwięga
cd686b5d68
Merge branch 'master' into transactions-propagate
2016-11-16 18:07:44 +01:00
Tomasz Drwięga
2cd2b10327
Local transactions RPC
2016-11-16 17:54:54 +01:00
keorn
51bbad66d0
add a path to submit seal from engine
2016-11-16 15:56:16 +00:00
Tomasz Drwięga
66e327dfcb
Keep track of local transactions
2016-11-16 15:58:14 +01:00
keorn
3b0d5503b1
fix compilation
2016-11-16 13:13:21 +00:00
keorn
2fa34fd6a8
step transition messaging
2016-11-16 12:43:21 +00:00
keorn
8ac989cbeb
Merge remote-tracking branch 'parity/master' into bft
2016-11-16 10:29:54 +00:00
Tomasz Drwięga
4febd0eb93
Maintaining the statistics for propagation of pending transactions
2016-11-16 10:45:55 +01:00
Arkadiy Paronyan
df1fbf50d8
Build fix ( #3470 )
2016-11-16 08:47:50 +01:00
Gav Wood
1daba384cc
Merge pull request #3426 from ethcore/auth-round
...
Authority round consensus engine
2016-11-16 11:18:01 +08:00
Arkadiy Paronyan
4016c58ee9
Update test client with max code size
2016-11-15 19:48:15 +01:00
arkpar
e795f84664
fixed test
2016-11-15 19:46:25 +01:00
Robert Habermeier
7bfb9e4003
handle all LES requests
2016-11-15 18:19:16 +01:00
Gav Wood
062d55a046
Fix test.
2016-11-15 17:58:28 +01:00
Gav Wood
528bf17af5
Restrict max code size to 23999 bytes for EIP-150 and after.
2016-11-15 17:58:28 +01:00
keorn
1c958695c3
timeout loading
2016-11-15 15:25:30 +00:00
Robert Habermeier
cb54152c23
cut off headers after first missing
2016-11-15 15:47:08 +01:00
Robert Habermeier
abf39fde0a
implement provider for client
2016-11-15 14:53:30 +01:00
keorn
7d0eafd5cd
fix extra_info
2016-11-15 13:33:11 +00:00
keorn
8efaf08da3
typos and warning
2016-11-15 13:02:46 +00:00
keorn
06e5416537
header fns, extra_info
2016-11-15 11:27:09 +00:00
keorn
fde6ff2186
nicer extra info
2016-11-15 11:10:32 +00:00
keorn
d19e8c5505
Merge remote-tracking branch 'parity/master' into bft
2016-11-15 10:26:37 +00:00
keorn
ff2dc5dd57
vote counting
2016-11-15 10:21:49 +00:00
keorn
54e4956345
return errors from constructor
2016-11-15 10:21:18 +00:00
keorn
dd8ed42270
update timeouts
2016-11-15 10:20:42 +00:00
keorn
55a5402bf5
simplify messages
2016-11-15 10:20:14 +00:00
keorn
071e66c9a8
fix flaky test
2016-11-14 19:03:02 +00:00
keorn
9d46401626
revert to try!
2016-11-14 18:25:42 +00:00
keorn
ae5ae765a6
Merge branch 'master' into auth-round
2016-11-14 18:04:44 +00:00
keorn
06ebd5fa1a
remove most panics
2016-11-14 17:42:56 +00:00
Robert Habermeier
25b0b8641e
indent state tests
2016-11-14 17:47:56 +01:00
keorn
1e3ae9fff9
typos, header functions
2016-11-14 15:56:19 +00:00
Gav Wood
ae67bd5371
Merge pull request #3385 from ethcore/dev-chain
...
Dev chain
2016-11-14 16:28:58 +01:00
keorn
0b5a9a6e60
nicer bundled spec message
2016-11-14 14:29:33 +00:00
Robert Habermeier
3c7533831e
Merge branch 'master' into client-provider
2016-11-14 15:16:26 +01:00
keorn
5de7d50bf8
add test for multi proposals
2016-11-14 14:15:31 +00:00
keorn
8be8b3e1cd
ensure no double proposals
2016-11-14 13:35:45 +00:00
keorn
8a86c11375
enable force sealing
2016-11-14 13:35:16 +00:00
Robert Habermeier
18153b8d9e
Merge branch 'master' into missing-code-by-prefix
2016-11-14 14:02:19 +01:00
keorn
165e2bef75
modify proposer test
2016-11-14 11:34:54 +00:00
keorn
b5c891814a
fix merge
2016-11-14 11:09:57 +00:00
Gav Wood
2fa2f8342a
isLatest works.
2016-11-14 11:49:56 +01:00
keorn
501f6d3f49
Merge branch 'master' into auth-round
2016-11-14 10:08:14 +00:00
keorn
d8e6dbd981
Merge branch 'master' into dev-chain
2016-11-14 10:05:34 +00:00
keorn
2d4b4cf5c9
revert moves to Spec
2016-11-14 10:04:34 +00:00
Gav Wood
4bb4ed9551
Initial checking.
2016-11-13 15:52:33 +01:00
Gav Wood
4a92668c56
Fix chainspec storage field. ( #3406 )
...
Add a test.
2016-11-13 13:58:42 +01:00
Robert Habermeier
37f49aac1b
abort snapshot restoration faster ( #3356 )
...
* abort snapshot restoration faster
* flag-checking tests
2016-11-13 13:52:53 +01:00
keorn
15d748c2f7
Merge branch 'master' into dev-chain
2016-11-11 20:40:05 +00:00
keorn
ea9c479fff
update json_tests
2016-11-11 18:57:57 +00:00
keorn
53258cca6c
add new dev spec
2016-11-11 17:27:20 +00:00
keorn
e63b7e51fb
update instant_seal schedule
2016-11-11 17:26:41 +00:00
Robert Habermeier
87c668ba9c
test previous code fetch
2016-11-11 18:24:12 +01:00
keorn
beaa014543
tix doc test
2016-11-11 16:59:22 +00:00
keorn
a719b91b63
move spec constructors to spec
2016-11-11 16:37:44 +00:00
Gav Wood
a7ad75d851
whitespace
...
[ci:skip]
2016-11-11 17:32:54 +01:00
Robert Habermeier
ed135bb9dc
fetch known code from the database during restoration
...
previously it kept all seen code in memory, leading to
high memory usage by the end of state restoration
2016-11-11 17:18:31 +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
Robert Habermeier
8c2c048444
clean up errors
2016-11-10 14:05:47 +01:00
Tomasz Drwięga
2f98169539
In-browser signing support ( #3231 )
...
* Signer RAW confirmations
* Returning address book as eth_accounts
* UI support for in-browser signing
* Post review fixes
* Adding new methods to jsonrpc
* Fixing eth_accounts
* Deterministic accounts ordering
2016-11-10 11:27:05 +01:00
Robert Habermeier
11e6b08f02
Move ethcore-light crate into ethcore/light module
2016-11-09 23:39:56 +01:00
Robert Habermeier
ebff010d16
partial implementation of provider for client types
2016-11-09 23:25:54 +01:00
Robert Habermeier
60a8728121
Merge branch 'master' into les-impl
2016-11-09 18:06:12 +01:00
Gav Wood
4712b882e5
New transaction tests ( #3313 )
...
* Add new transaction tests.
* Add new test.
2016-11-09 18:02:24 +01:00
Arkadiy Paronyan
85ade4a2ec
Fixed uncle details ( #3299 )
2016-11-09 13:17:40 +01:00
keorn
49f2a72d5d
Merge branch 'master' into auth-round
2016-11-09 10:35:00 +00:00
keorn
4e36550890
message revamp
2016-11-08 18:01:31 +00:00
Robert Habermeier
b369cdd573
Merge branch 'master' into les-impl
2016-11-08 17:14:19 +01:00
keorn
ea960f1c27
Merge remote-tracking branch 'parity/master' into bft
2016-11-07 11:34:45 +00:00
Robert Habermeier
56fd88d1e8
ethash unsafety cleanup ( #3210 )
2016-11-05 10:39:15 +01:00
Gav Wood
744501c454
Mode improvements for UI ( #3109 )
...
* `--mode=off` now works.
* Add Mode::Off as a persistent CLI option.
* "last" not "auto" as default.
* Commit accidentally unsaved file.
* Whitespace
[ci:skip]
* Mode CLI parse fix
* or offline
* Save mode when it gets changed.
* Fix Offline mode
* Fix up mode operations.
* Make passive default, but not overriding.
* Fix test
* Maybe not everyone wants to run an archive node...
2016-11-05 10:38:00 +01:00
Igor Artamonov
2a19c33b8d
delay bomb for Classic (ECIP-1010) ( #3179 )
...
* delay bomb for classic (ECIP-1010)
* formatting fix after core review, rel [e6b5093]
2016-11-04 23:09:23 +01:00
Robert Habermeier
c1a6dbe75f
Move all light client work to own crate
2016-11-04 19:40:11 +01:00
Robert Habermeier
5cabb3008f
make verification module public
2016-11-04 19:21:48 +01:00
Robert Habermeier
edf17d00c4
revise light implementation strategy
2016-11-04 18:40:31 +01:00
Tomasz Drwięga
f31d42d0c5
Exposing engine extra info in block RPC ( #3169 )
...
* Exposing extra info in RPC
* Proper serialization and client trait API
2016-11-04 17:35:02 +01:00
Robert Habermeier
eef9a355af
request definitions
2016-11-04 17:19:01 +01:00
keorn
a8b688b469
allow permanent unlock for internal sealing
2016-11-04 15:50:56 +00:00
keorn
0e5060db18
update schedule
2016-11-04 15:04:19 +00:00
Gav Wood
0f16942186
EIP-155 update with Vitalik's new test vectors ( #3166 )
...
* Vitalik's new test vectors.
* Update to latest EIP155 spec.
* Fix txs.
* Another fix.
2016-11-04 15:13:51 +01:00
Robert Habermeier
1bc124f980
Merge branch 'master' into les-impl
2016-11-04 15:00:05 +01:00
keorn
255ec0c139
Merge branch 'master' into auth-round
2016-11-04 11:35:17 +00:00
Tomasz Drwięga
2e47842d66
Exposing state root and logsBloom in RPC receipts ( #3174 )
2016-11-04 12:33:13 +01:00
Gav Wood
d3de475205
EIPs 155, 160, 161 ( #2976 )
...
* The front-end for each hard-fork, also EIP-160.
* Address EIP161 a/c
* Include EIP-161b
* EIP-161 part d.
* Fix test build.
* Fix one test, add another.
* Fix use of bloom & renaming.
* Initial groundwork for EIP-155
* Fix minor bug.
* Fix all tests finally.
* Rest of EIP-155.
* Add tests for EIP-155 algorithm.
Update transaction tests validation.
* Minor reformat.
* Address grumbles.
* Remove unused code.
* Fix SUICIDE gas mechanism and add consensus tests.
* Remove commented code.
* Set Frontier hardfork block number
* Fix warning.
* Transaction tests,
2016-11-03 22:22:25 +01:00
keorn
0c2cfc9b6e
Fix histogram ( #3150 )
...
* fix histogram
* remove outdated comment
2016-11-03 21:15:27 +01:00
keorn
00a3619392
header methods
2016-11-02 17:42:56 +00:00
keorn
03c9760de2
Merge remote-tracking branch 'parity/master' into auth-round-no-mocknet
2016-11-02 13:01:31 +00:00
keorn
26155f51d5
proper calculation of remaining step time
2016-11-02 12:13:47 +00:00
keorn
da3253133c
ignore block timeout when sealing internally
2016-11-02 12:13:12 +00:00
keorn
3a6b56e99c
check double signing, tracing
2016-11-01 18:12:06 +00:00
Tomasz Drwięga
8c1f8700ec
Fixing last hashes for ethcall ( #3043 )
2016-11-01 11:24:46 +01:00
Robert Habermeier
42010acd68
execute periodic snapshot in new thread ( #3029 )
...
to ensure that the I/O worker isn't stalled.
2016-11-01 11:09:46 +01:00
Robert Habermeier
8599a11a0b
Snapshot sync and block gap info in eth_syncing
( #2948 )
...
* provide snapshot sync info in eth_syncing
* specify block gap in eth_syncing
* Extend eth_syncing with warp, format the output properly
* adjust serialization tests for sync info
* whitespace
2016-10-31 17:32:53 +01:00
Gav Wood
547871f933
RPCs for mode change ( #3002 )
...
* Allow warnings.
* Add RPCs to allow ad-hoc mode changes.
* Add the JSAPI interfaces
* Add missing file.
2016-10-31 16:58:35 +01:00
Gav Wood
54a408fd88
Fix a test sensitive to slow execution. ( #3014 )
2016-10-31 16:55:30 +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
keorn
fc4664ab12
Merge branch 'master' into auth-round-no-mocknet
2016-10-30 21:18:52 +00:00
Arkadiy Paronyan
bccc56b6b0
mio version bump ( #2982 )
2016-10-30 09:56:34 +01:00
Arkadiy Paronyan
8796574e5a
Use separate lock for code cache ( #2977 )
2016-10-29 21:27:53 +02:00
Tomasz Drwięga
f17cad9dff
Fixing clippy warnings 2 ( #2961 )
2016-10-29 13:08:49 +02:00
keorn
7976f46231
Merge branch 'master' into auth-round-no-mocknet
2016-10-28 17:53:23 +01:00
Tomasz Drwięga
0f0334275e
Validating minimal required gas for a transaction ( #2937 )
...
* Validating minimal required gas for a transaction
* Adding RPC case and note
* Fixing whitespace [ci skip]
2016-10-28 16:42:24 +02:00
Robert Habermeier
2806f1d4c9
Even more snapshot validity checks ( #2935 )
...
* clarify "cancelled periodic snapshot" message
* more rigorous checks for snapshot validity
* verify ancient blocks on import
* limit number of fed blocks
* make it possible to feed snapshot service canonical hashes
* fix failing test build
* swap ethash DAG only when more recent
2016-10-28 16:10:30 +02: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
Tomasz Drwięga
dedc4d5cfc
Get rid of duplicated code ( #2915 )
2016-10-27 19:29:23 +02: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
Tomasz Drwięga
ce37b6dcb9
Revert to gas price ordering ( #2919 )
2016-10-27 19:27:08 +02:00
Robert Habermeier
3a5843c40f
skeleton and request traits
2016-10-27 15:45:59 +02:00
Nikolay Volf
d315ec29e1
Apply pending block details on commit ( #2254 )
...
* failing test
* Cache pending details
* [ci skip] updated comment
2016-10-27 15:26:29 +02:00
Robert Habermeier
a7e420d9ec
stub implementation of provider for client
2016-10-27 15:09:17 +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
3ff26dd544
Merge branch 'master' into auth-round-no-mocknet
2016-10-26 17:50:04 +01:00
keorn
a1745624ce
enable suicide test ( #2893 )
2016-10-26 16:27:38 +02:00
Arkadiy Paronyan
f024acd329
More snapshot fixes and optimizations ( #2883 )
...
* More snapshot fixes and optimizations
* db drop
2016-10-26 16:14:13 +02:00
Robert Habermeier
4b82392371
merge with master
2016-10-26 14:17:13 +02:00
Arkadiy Paronyan
5b978be034
Get rid of MemoryDB denote ( #2881 )
2016-10-26 13:53:47 +02:00
Arkadiy Paronyan
135d5d0e4c
Snapshot fixes and optimizations ( #2863 )
2016-10-25 18:40:01 +02:00
Gav Wood
a6fd922ffb
Don't fail badly when no transactions in last 100 blocks. ( #2856 )
2016-10-25 12:21:21 +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
Robert Habermeier
bc81ae0407
Snapshot and blockchain stability improvements ( #2843 )
...
* allow taking snapshot from just-restored database without error
* make creation informant less spammy
* Ancestry iterator failure-resilient
* make uncle hash searching resilient to incomplete chain
* deduce pre-chunk info from last written block's details
2016-10-24 18:27:23 +02:00
keorn
aa05823afe
Merge remote-tracking branch 'parity/master' into auth-round-no-mocknet
2016-10-24 15:32:30 +01:00
arkpar
f543108cf5
Fixed tests
2016-10-24 16:31:37 +02:00
Arkadiy Paronyan
44a560e964
CLI option to skip seal check when importing ( #2842 )
2016-10-24 15:09:13 +02:00
Gav Wood
37a2ee98de
Additional RPCs for password management ( #2779 )
...
* Add personal_testPassword and stub for personal_changePassword
* Add change-password functionality.
* Address grumble.
* Update tests.
* Update build.
2016-10-22 14:24:02 +01:00
Robert Habermeier
8e5c9ff162
rename State::snapshot to checkpoint to avoid confusion ( #2796 )
2016-10-22 14:22:16 +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
Robert Habermeier
49ef9a1aa4
Add empty account existence test from beta. ( #2769 )
...
* add bloom filter existence test from beta
* fix U256 instantiation for master
2016-10-21 20:36:40 +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
keorn
866ab9c7a3
Check queue to determine major importing ( #2763 )
...
* simplify major sync detection
* fix typos
* fix merge
* more realistic EthTester
* add new synced state
* remove Blocks synced state
* move is_major_importing to rpc crate and check queue
* add tests
2016-10-20 23:36:18 +02:00
Nicolas Gotchac
236fb82886
Trace filtering fix ( #2760 )
...
* (#2751 ) Trace filtering fix:
Don't test contract address against empty array in trace filtering
* Fixes spaces/typo
* Simplify the Trace Filtering (#2751 )
* Removed unused `strictly_matches` fn
2016-10-20 23:35:56 +02:00
Robert Habermeier
7359af8588
Incrementally calculate verification queue heap size ( #2749 )
...
* incrementally calculate queue heap size
* query the correct queue sizes
2016-10-20 17:19:31 +02:00
Arkadiy Paronyan
ae853a7557
Don't add empty accounts to bloom ( #2753 )
2016-10-20 16:49:27 +02:00
Arkadiy Paronyan
906dcd7bfe
Block import optimization ( #2748 )
...
* Block import optimization
* whitespace
[ci:none]
2016-10-20 14:49:12 +02:00
Arkadiy Paronyan
20e1d575da
Frontport commits from beta to master ( #2743 )
...
* Remove count limit for local transactions (#2634 )
* Fixed stalled sync
2016-10-20 00:33:00 +02:00
keorn
aa52b04e31
Unify major syncing detection ( #2699 )
...
* simplify major sync detection
* fix typos
* fix merge
* more realistic EthTester
* add new synced state
2016-10-19 18:35:39 +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
Tomasz Drwięga
4d48054cee
Fixing importing traces for non-canon blockS ( #2683 )
2016-10-18 16:43:42 +02:00
Robert Habermeier
0eb8cb453b
Merge pull request #2658 from ethcore/snapshot-earliest-era
...
use pruning history in CLI snapshots
2016-10-18 13:57:43 +02:00
Robert Habermeier
c2dd37bb69
use pruning history in CLI snapshots
2016-10-17 13:05:57 +02:00
keorn
303f922ebd
steps based on unix epoch
2016-10-15 13:55:10 +01:00
Tomasz Drwięga
cceca916a1
[frontport] CLI to specify queue ordering strategy ( #2494 ) ( #2623 )
...
* CLI to specify queue ordering strategy (#2494 )
* Alter gas priorities to include gas_price also
* CLI options and tests
* Adding ordering by gas
* whitespace
Conflicts:
ethcore/src/miner/miner.rs
ethcore/src/miner/mod.rs
ethcore/src/miner/transaction_queue.rs
parity/cli/usage.txt
parity/configuration.rs
* fix build
2016-10-15 14:46:33 +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
Gav Wood
85eeb3ea6e
EIP150.1c ( #2591 )
...
* EIP150.1b first part.
* Add documentation.
[ci:skip]
* Tweak comment
* Fix some tests.
* Fix create
* Add the new EIP150 test. (#2563 )
* Fix create some more.
* Another fix for create.
* Final fixes.
* Enable EIP150 test.
* Revert the costly suicides to respect EIP150.1b.
* Fixups for EIP150.1c
* Update tests.
* Updating tests
* Adding state tests
* Updating tests
* Updating HF block
* Removing flushln [ci:skip]
* Commenting out suicide test
* New tests.
* Switch to EIP tests.
* Rename some stuff, combine transition tests.
* Fix U256 overflows.
* Name cleanups and an effort to fix tests.
* Rename back for clarity.
* Fix non-EIP-150 OOG CALLs
* New transition block number & additional EIP150 tests
* Morden transition block set; Tests updated
* Added missing test
2016-10-15 14:39:15 +02:00
Robert Habermeier
8263bd4be2
snapshot: single byte for empty accounts ( #2625 )
2016-10-14 15:45:45 +03: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
keorn
8ad1582208
enable suicide json test ( #2626 )
2016-10-14 14:28:02 +02:00
Robert Habermeier
19e6cbe0b2
Merge pull request #2329 from ethcore/journaldb_commit
...
Split journaldb commit into two functions: journal_under and mark_canonical
2016-10-14 13:57:17 +02:00
Arkadiy Paronyan
f9440f20b8
Fixed tx queue limit for local transactions ( #2616 )
...
* Fixed tx queue limit for local tx
* Fixing test
* Increas gas limit to 20x
2016-10-14 13:56:00 +02:00
Tomasz Drwięga
dbc25cf4e7
Additional logs when transactions is removed from queue ( #2617 )
2016-10-14 13:55:48 +02:00
Robert Habermeier
4581469e78
mitigate refcell conflict in state diffing ( #2601 )
...
* mitigate refcell conflict in state diffing
Also uses RefCell::get_mut in a few places.
* Add test case
2016-10-13 23:28:56 +02:00
Robert Habermeier
92f7f46fd3
Merge branch 'master' into journaldb_commit
2016-10-13 13:02:53 +02: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
keorn
44f42ac7d3
Merge remote-tracking branch 'parity/master' into auth-round-no-mocknet
...
Conflicts:
ethcore/src/state/mod.rs
ethcore/src/tests/mod.rs
2016-10-12 18:39:31 +01:00
keorn
0189096caf
Update json test suite ( #2574 )
...
* update json test suite
* comment out the incomplete test
2016-10-12 10:06:23 +02:00
keorn
214916a414
new vote counter
2016-10-11 18:38:05 +01:00
keorn
e343153f06
mixed merge and changes...
2016-10-11 18:37:31 +01:00
keorn
5e24a35272
dont close block if is_invalid ( #2572 )
2016-10-11 16:19:00 +02:00
Arkadiy Paronyan
55dbd5bb1f
Fixed race condition in trace import ( #2555 )
2016-10-10 23:07:29 +02:00
Arkadiy Paronyan
193cdb1326
Don't activate peers on connect; Test ( #2537 )
2016-10-10 23:05:41 +02:00
Arkadiy Paronyan
26d7712d30
TX queue gas limit config and allow local transactions over the gas limit ( #2553 )
...
* Gas limit config; Allow local transactions over the limit
* Fix typo
[ci:skip]
2016-10-10 23:04:43 +02:00
keorn
64f6f836ab
Remove unwrap from client module ( #2554 )
...
* remove unwraps in client
* imporve block hash expect message
2016-10-10 17:43:44 +02:00
Arkadiy Paronyan
f200eb2cfe
Backports to master ( #2530 )
...
* Transaction queue limited by gas (#2528 )
* Use global state cache when mining (#2529 )
2016-10-08 10:35:54 +02:00
Robert Habermeier
4276ab8a5f
fix JSON tests
2016-10-07 13:59:50 +02:00
Robert Habermeier
19e5bede7f
Merge branch 'master' into canon-cache-size
2016-10-07 13:55:20 +02:00
Arkadiy Paronyan
72ec9366ad
Handle reorganizations in the state cache ( #2490 )
...
* Handle reorganizations in the state cache
* Renamed and documented a few methods
* Basic test
* Renamed pending to buffered
* Updated cache on sealed block
* More renames and updated documentation
* Minor doc tweaks
2016-10-07 12:34:32 +01:00
Robert Habermeier
299ceb8092
Merge branch 'master' into canon-cache-size
2016-10-07 12:42:51 +02:00
Robert Habermeier
8a0e98d4cc
configurable jump table cache size
2016-10-07 12:18:42 +02:00
Tomasz Drwięga
4655fd04a5
Using pending block only if not old ( #2514 )
2016-10-07 11:13:15 +01:00
Arkadiy Paronyan
7756031d06
Caching optimizations ( #2505 )
2016-10-07 11:10:12 +01:00
Tomasz Drwięga
d9ca01cb6b
Fixing RPC Filter conversion to EthFilter ( #2500 )
2016-10-07 09:18:32 +02:00
Robert Habermeier
745a50dfdf
configurable state cache size
2016-10-07 00:28:42 +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
Tomasz Drwięga
75d9174294
Fixing penalization in future ( #2499 )
2016-10-06 18:40:40 +02:00
Arkadiy Paronyan
6c1b2fbed5
Preserve cache on reverting the snapshot ( #2488 )
...
* Preserve cache on reverting the snapshot
* Renamed merge_with into replace_with
* Renamed and documented snapshotting methods
2016-10-06 14:54:05 +01:00
Robert Habermeier
5a959c67e4
Merge pull request #2489 from ethcore/txqueuesize
...
Increase default size of transaction queue
2016-10-06 12:44:16 +02:00
Arkadiy Paronyan
b1ab0d0cbf
EVM optimization ( #2487 )
2016-10-06 11:14:05 +02:00
Tomasz Drwięga
a9391f91f7
Increase size of transaction queue by default
2016-10-06 10:20:05 +02:00
Arkadiy Paronyan
ecf098e9a4
Track dirty accounts in the state ( #2461 )
...
* State to track dirty accounts
* Removed clone_for_snapshot
* Renaming stuff
* Documentation and other minor fixes
* Replaced MaybeAccount with Option
2016-10-06 01:53:23 +02:00
Jaco Greeff
33abb47222
update registrar test with generic non-empty test ( #2476 )
...
* update registrar test with generic non-empty test
* updated test, length check + parsing
2016-10-05 19:44:09 +02:00
Nikolay Volf
7526b1d44b
Derive IPC interface only when ipc feature is on ( #2463 )
...
* derive -> ipc
* accident repair
* conditional ipc deriving
* fix test
2016-10-05 19:42:57 +02:00
keorn
1f56588b87
Merge remote-tracking branch 'parity/master' into bft
...
Conflicts:
ethcore/src/client/client.rs
2016-10-05 14:57:14 +01:00
Robert Habermeier
8d7244c09f
light client sync stubs
2016-10-05 15:35:31 +02:00
keorn
096b71feb2
add Vote generation
2016-10-05 14:33:07 +01:00
keorn
cb2c9938a1
keep author as validator
2016-10-05 14:32:15 +01:00
keorn
64d7bcbd0c
validators -> authorities
2016-10-05 14:31:31 +01:00
keorn
a03db2ff29
add is_new_best method to engines
2016-10-05 14:30:44 +01:00
keorn
67c24dcb95
use Engine to order blockchain
2016-10-05 14:29:35 +01:00
Robert Habermeier
ed06572bd4
Light provider trait
2016-10-05 13:22:49 +02:00
Robert Habermeier
e3c4695274
stub implementations of light client trait
2016-10-05 13:21:07 +02:00
Robert Habermeier
8a5576d133
balance rates of draining and importing
2016-10-05 12:10:28 +02:00
Robert Habermeier
abbf3b3c58
verification-rate based thread scaling
2016-10-04 20:09:54 +02:00
Nikolay Volf
2b147616fd
derive -> ipc
2016-10-04 19:20:16 +03:00
Tomasz Drwięga
48bb890045
Better EVM informant & Slow transactions warning ( #2436 )
...
* EVM informant. Slow transactions tracking
* Additional feature for tests
2016-10-03 23:29:46 +02:00
Robert Habermeier
2d28c703d6
reuse add_verifier instrumentation, rolling sample of 5 ticks
2016-10-03 20:39:52 +02:00
Robert Habermeier
5e382602dd
fix logging accuracy
2016-10-03 20:09:57 +02:00
Robert Habermeier
a7b5dff252
ethash unsafety cleanup
2016-10-03 19:47:07 +02:00
Robert Habermeier
2d907f3322
auto-adjust number of verification threads
2016-10-03 19:41:00 +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
keorn
76d7ec84bb
new block ordering engine method
2016-09-30 14:43:52 +01:00
keorn
9ca938f740
Merge remote-tracking branch 'parity/master' into bft
...
Conflicts:
ethcore/src/client/client.rs
sync/src/api.rs
2016-09-30 12:44:52 +01:00
keorn
8a51ae02aa
simplify seal
2016-09-30 12:22:46 +01:00
Tomasz Drwięga
443eb19739
Fixing logs-receipt matching ( #2403 )
2016-09-30 11:14:30 +02:00
keorn
d59e9e816e
fix tests compilation
2016-09-29 16:57:52 +01:00
keorn
d085146254
separate params out
2016-09-29 15:32:49 +01:00
keorn
6cbb859bd2
add tendermint message types and deserialization
2016-09-29 14:44:42 +01:00
Tomasz Drwięga
01018b417a
Fixing transaction queue ( #2392 )
2016-09-29 12:46:04 +02:00
Tomasz Drwięga
1c61d7c813
Fixing Delegate Call in JIT ( #2378 )
...
* Detecting DELEGATE_CALL in JIT
* Fixing evmjit tests
2016-09-28 23:33:12 +02: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
Gav Wood
bb96849620
Revert #2172 , pretty much. ( #2387 )
...
* Revert #2172 , pretty much.
* Tidy up whitespace.
[ci:skip]
* Force CI.
2016-09-28 23:31:59 +02:00
Gav Wood
948b614f40
Fix the traceAddress field in transaction traces. ( #2373 )
...
* Fix the traceAddress field in transaction traces.
* Add test
* Fix warning.
* Fix test
* Additional fix.
* Fix tests content.
2016-09-28 17:24:26 +02:00
Tomasz Drwięga
baa2feaca6
Removing extras data from retracted blocks. ( #2375 )
...
* Removing extras data from retracted blocks.
* Adding a test case
2016-09-28 15:49:42 +02: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
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
Robert Habermeier
9d4bee4922
make block queue into a more generic verification queue and fix block heap size calculation ( #2095 )
...
* move block queue to own module, a couple readability changes
* make block queue generic over verifiable data
also fixes heap size calculation
* make block queue into a more generic verification queue
* some module reoganization
* implement header queue
* clean up verification error messages
2016-09-27 16:50:24 +02:00
keorn
28cf91c7a5
remove mocknet stuff, clean up debug
2016-09-27 15:50:16 +01:00
keorn
0c69d4a1ce
Merge remote-tracking branch 'parity/master' into auth-round
...
Conflicts:
devtools/src/random_path.rs
2016-09-27 12:39:25 +02:00
keorn
fd6900bbb3
Merge remote-tracking branch 'parity/master' into bft
...
Conflicts:
Cargo.lock
2016-09-27 12:37:43 +02:00
Gav Wood
3fb3f1f54e
Reorder transaction_by_hash to favour canon search ( #2332 )
...
* Reorder transaction_by_hash to favour canon search
* Fix build.
* Slightly cleaner function.
* Fix test.
2016-09-27 12:17:02 +02:00
keorn
ec058cdb50
reseal on timeout
2016-09-27 12:12:18 +02:00
Arkadiy Paronyan
bc4cbaac2b
DIV optimization ( #2327 )
2016-09-27 11:27:11 +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
Robert Habermeier
e26a16c70c
use new commit mechanism in client
2016-09-26 17:27:48 +02:00
Tomasz Drwięga
97fcd60e56
saturating add
...
Conflicts:
ethcore/src/miner/transaction_queue.rs
2016-09-23 20:59:41 +02:00
Gav Wood
06fc494d03
Remove crufty code
2016-09-23 20:53:37 +02:00
Gav Wood
5e7955b1f1
saturating not overflowing
2016-09-23 20:53:30 +02:00
Tomasz Drwięga
efaef85565
Avoid penalizing legit transactions
2016-09-23 20:51:41 +02:00
Tomasz Drwięga
2874f464aa
Penalize transactions with gas above gas limit
...
Conflicts:
ethcore/src/miner/transaction_queue.rs
2016-09-23 20:49:02 +02:00
Tomasz Drwięga
62cbf9ce97
Improving txqueue logs
2016-09-23 20:30:12 +02:00
Tomasz Drwięga
aae6d19df9
Separate path for ext code size ( #2251 )
...
* Separate path for code size
* Actually use it for EVM
* add extcodesize to TestExt
2016-09-22 19:58:42 +02:00
Robert Habermeier
723d837d05
Snapshot format changes ( #2234 )
...
Closes #2213
Omit transaction and receipt roots from abridged block.
No longer use RLP compression.
Make ordered_trie_root generic over an iterator to save an allocation.
Breaks snapshot format backwards compatibility (with other 1.4 snapshots -- it's already been broken with 1.3).
Documentation will need updating
2016-09-22 19:47:03 +02:00
Tomasz Drwięga
15488b3e40
Fixing output of eth_call and Bytes deserialization ( #2230 )
...
* Fixing eth_call to builtins
* Fixing bytes deserialization
* Removing comment
2016-09-22 14:50:00 +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
Robert Habermeier
a100b9d09e
Remove panickers from trie iterators ( #2209 )
...
* port trie iterators to use error handling
* use new trie iterators in snapshot
allows proper recovery from a premature periodic snapshot
2016-09-21 12:56:13 +02:00
Tomasz Drwięga
8c111da70b
Limit for logs filter. ( #2180 )
...
* Limit for logs filter.
* Moving limit inside the filter object
* Fixing tests
2016-09-21 11:51:10 +01:00
Tomasz Drwięga
2e6684dae8
Various state copy optimizations ( #2172 )
...
* Avoid cloning clean stuff
* Don't clone state when closing/locking blocks
* handle errors in commit
* revert `close_and_lock` changes
* defer state root update until post state commit
2016-09-21 11:49:11 +01:00
keorn
c57e3cefe4
sync check method
2016-09-21 10:29:44 +02:00
Tomasz Drwięga
0921dffd86
Fixing trait definition
2016-09-20 16:25:22 +02:00
keorn
44c4845d84
fix up step switching test
2016-09-19 18:40:25 +02:00
keorn
d84f94975f
add proposer step to seal
2016-09-19 18:00:39 +02:00
keorn
7f177f27d8
revert dummy_client changes
2016-09-19 14:52:43 +02:00
keorn
49fba0b548
Merge branch 'master' into auth-round
...
Conflicts:
ethcore/src/miner/miner.rs
sync/Cargo.toml
2016-09-19 14:35:44 +02:00
keorn
ce3e8750c9
additional consensus test
2016-09-19 14:33:11 +02:00
Tomusdrw
b6df3759c8
Breaking the line
2016-09-19 12:16:22 +02:00
keorn
b31e732ebe
temporary is_sealer check disable
2016-09-19 10:39:57 +02:00
keorn
b144bd2b84
add tracing
2016-09-19 10:38:47 +02:00
Tomusdrw
9bf29a555a
Fixing evm-debug
2016-09-19 01:51:59 +02:00
Tomasz Drwięga
7f7e74869c
Bump clippy & Fix warnings ( #2109 )
...
* Bump clippy
* Fixing warnings
2016-09-16 23:03:26 +02:00
keorn
167cfd4caa
Enable sealing if Engine provides internal sealing given author ( #2084 )
...
* enable internal sealing based on author
* add tests, keep track of engine sealing status
* method to check if default address is_sealer
* simplify constructors
* fix typo
2016-09-15 12:12:15 +02:00
keorn
3419549c16
revamp dummy_client to take accounts
2016-09-14 17:30:57 +02:00
keorn
44fe864826
new highway to miner, set_author
2016-09-14 17:30:09 +02:00
keorn
d3ec8588c4
new constructor that takes AccountProvider
2016-09-14 17:29:35 +02:00
keorn
bb59c2288e
docs on authority spec
2016-09-14 17:28:57 +02:00
keorn
c482b8ffb6
enable sealing only is authority
2016-09-14 17:28:15 +02:00
keorn
a44e2b0497
Merge remote-tracking branch 'parity/should-seal' into auth-round
2016-09-14 14:38:47 +02:00
keorn
7c82a10ecc
fix typo
2016-09-14 14:34:47 +02:00
keorn
c6c951dd15
Merge remote-tracking branch 'parity/should-seal' into auth-round
2016-09-14 14:05:17 +02:00
keorn
68fd862671
simplify constructors
2016-09-14 13:56:28 +02:00
Tomasz Drwięga
9ed9857fba
Logs limit & log_index bug ( #2073 )
...
* Limiting number of logs
* Test for logs
* Fixing logs ordering and indexing
* Fixing sort
* unwrap -> expect
* Revert "unwrap -> expect"
This reverts commit e99e6e77f37692fe568448e768aa72775de8d0cd.
2016-09-14 12:02:30 +02:00
keorn
28a088eea7
add client own_tx import through client
2016-09-14 11:22:43 +02:00
keorn
bedbe6e65e
update test spec loading
2016-09-14 11:20:22 +02:00
keorn
ddb6fec171
add new test specs
2016-09-14 11:17:39 +02:00
keorn
7f05021075
Merge remote-tracking branch 'parity/should-seal' into auth-round
2016-09-14 10:59:33 +02:00
keorn
0880d4ad8f
method to check if default address is_sealer
2016-09-14 10:49:44 +02:00
keorn
2bd82269e8
add tests, keep track of engine sealing status
2016-09-14 00:00:26 +02:00
keorn
fef94205e3
enable internal sealing based on author
2016-09-13 19:59:34 +02:00
keorn
099468107e
Merge remote-tracking branch 'parity/master' into auth-round
2016-09-13 16:01:19 +02:00
Tomasz Drwięga
325967cadb
Fixing removal from gas price when moving future->current ( #2076 )
...
* Fixing removal from gas price when moving future->current
* unwrap -> expect
2016-09-13 15:41:38 +02:00
keorn
341e06481e
Split internal sealing from work preparation ( #2071 )
...
* separate block preparation methods
* Split internal sealing from work sealing, add cli option
* replace cli with engine method, simplify
* More docs about sealing types. Bypass work in external txs.
* split requires_reseal, add test and new test miner
2016-09-13 15:09:07 +02:00
keorn
eee6be1ce3
implement new predicate trait
2016-09-13 14:23:52 +02:00
keorn
6a33f8b369
state constructor used only in tests
2016-09-13 14:22:44 +02:00
keorn
67601327af
make test helpers not test, add some docs
2016-09-13 14:21:12 +02:00
keorn
8b9e7c0ba5
Merge remote-tracking branch 'parity/split-internal-seal' into auth-round
2016-09-13 12:57:52 +02:00
keorn
e41b6c410f
split requires_reseal, add test and new test miner
2016-09-13 12:52:14 +02:00
Robert Habermeier
83ddce011d
ensure the target folder doesn't exist before renaming ( #2074 )
2016-09-13 10:33:03 +02:00
keorn
1e20716bf9
Merge remote-tracking branch 'parity/split-internal-seal' into auth-round
2016-09-12 12:50:50 +02:00
keorn
4bfdeea9e5
More docs about sealing types. Bypass work in external txs.
2016-09-12 12:46:03 +02:00
keorn
d98f69cf58
Merge remote-tracking branch 'parity/split-internal-seal' into auth-round
2016-09-12 11:36:16 +02:00
keorn
d6e5637459
Merge branch 'master' into split-internal-seal
2016-09-12 11:11:42 +02:00
keorn
c0201bd891
replace cli with engine method, simplify
2016-09-12 11:07:40 +02:00
Robert Habermeier
edcc4080d5
fix failing master build: update tests to new init_restore signature. ( #2069 )
2016-09-11 20:17:05 +02:00
Robert Habermeier
dcfd7eab6d
Local snapshot restore ( #2058 )
...
* restore from local snapshot
* update status with chunks done
* rework local restore trigger
2016-09-11 14:05:59 +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
keorn
cadca6403a
Split internal sealing from work sealing, add cli option
2016-09-11 13:23:32 +02:00
keorn
4e75686ef8
separate block preparation methods
2016-09-10 14:41:41 +02:00
Robert Habermeier
53b22da1c1
Merge pull request #2046 from ethcore/ipc-tweaks-3
...
IPC tweaks
2016-09-09 17:31:59 +02:00
keorn
965dde8223
enable TestNet with custom spec
2016-09-09 11:49:03 +02:00
keorn
fc3d01ec71
add tests, fixes, simplifications
2016-09-08 16:27:54 +02:00
Robert Habermeier
ff17174cf1
also test abort_restore
2016-09-08 12:44:10 +02:00
keorn
747898d8e7
add new engine to spec
2016-09-08 12:28:59 +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
3a68fab066
new simple authority engine
2016-09-08 12:12:24 +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
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
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
Tomasz Drwięga
a427208f79
Purging .derefs, fixing clippy warnings. ( #1890 )
...
* Fixing clippy warnings
* Purging derefs
* Simplifying engine derefs
* Simplifying more engine derefs
2016-08-10 16:29:40 +02:00
Nikolay Volf
8bc92dacee
Merge pull request #1891 from ethcore/miner-log
...
Adding more details to miner log
2016-08-09 17:13:59 +03:00
Marek Kotewicz
3b6bc974f3
Merge pull request #1827 from ethcore/move_hash
...
moved hash.rs to bigint library
2016-08-09 14:57:57 +02:00
Marek Kotewicz
505a054d10
Merge pull request #1877 from ethcore/cache_manager_order
...
fixed cache_manager lock order
2016-08-09 14:12:58 +02:00
Tomasz Drwięga
73c19fd4b5
Fixing miner deadlock ( #1885 )
2016-08-09 11:45:07 +02:00
debris
974d537849
Merge branch 'master' of github.com:ethcore/parity into move_hash
2016-08-09 09:58:18 +02:00
Robert Habermeier
2f1ade8116
take snapshot at specified block and slightly better informants ( #1873 )
...
* prettier informant for snapshot creation
* allow taking snapshot at a given block
* minor tweaks
* elaborate on cli
2016-08-08 18:41:30 +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
Arkadiy Paronyan
6762447229
Use UntrustedRlp for block verification ( #1872 )
2016-08-08 16:56:35 +02:00
Robert Habermeier
9732da5101
replace cache manager with mutex; reduce lock hold times
2016-08-08 16:25:48 +02:00
debris
c5a0024eeb
fixed cache_manager lock order
2016-08-08 16:14:37 +02:00
Arkadiy Paronyan
35451e31d4
Update cache usage on commiting block info ( #1871 )
2016-08-08 13:47:00 +02:00
debris
8269887949
parse().unwrap() -> into()
2016-08-08 11:18:48 +02:00
Tomasz Drwięga
10b18db833
Validating u256->usize conversion
2016-08-08 10:26:28 +02:00
Tomasz Drwięga
bdf6a5660e
Fixing gas conversion
2016-08-08 09:59:00 +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
e72fc5398a
miner and client take spec reference ( #1853 )
...
* miner and client take spec reference
* fix tests
2016-08-05 23:33:55 +02:00
Arkadiy Paronyan
2f52425387
Unlock account with timeout for geth compatibility ( #1854 )
...
* Unlock account with timeout for geth compatibility
* Fixed test
2016-08-05 23:33:14 +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
df29fcff1a
Merge branch 'split_hash' into move_hash
2016-08-05 09:56:36 +02:00