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
Tomasz Drwięga
3bfd6c5998
Merge branch 'master' into transactions-propagate
2016-11-17 14:37:29 +01: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
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
Tomasz Drwięga
e45fa62ed5
Fixing tests, fixing refreshing precompiled ( #3483 )
...
* Fixing tests, fixing refreshing precompiled
* Commit only js and Cargo.lock
* Moving commands to the right place
* Adding js content as well
2016-11-17 10:58:07 +01: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
GitLab Build Bot
a7574a1108
[ci skip] js-precompiled 20161116-161024
2016-11-16 16:12:55 +00:00
Tomasz Drwięga
66e327dfcb
Keep track of local transactions
2016-11-16 15:58:14 +01: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
a5c6cc34cf
Merge pull request #3466 from ethcore/hf2-block-num
...
Set HF2 block number
2016-11-16 11:21:59 +08:00
Gav Wood
1daba384cc
Merge pull request #3426 from ethcore/auth-round
...
Authority round consensus engine
2016-11-16 11:18:01 +08:00
arkpar
be4311540d
Set HF block number
2016-11-15 22:04:25 +01: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
Gav Wood
b5704f8056
Update max code size.
2016-11-15 17:58:29 +01:00
Gav Wood
062d55a046
Fix test.
2016-11-15 17:58:28 +01:00
Gav Wood
30ea921329
Introduce the actual max code size.
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
8efaf08da3
typos and warning
2016-11-15 13:02:46 +00:00
keorn
fde6ff2186
nicer extra info
2016-11-15 11:10:32 +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
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
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
GitLab Build Bot
d1848117ef
[ci skip] js-precompiled 20161113-131856
2016-11-13 13:20:20 +00:00
GitLab Build Bot
5a259be290
[ci skip] js-precompiled 20161113-131228
2016-11-13 13:13:54 +00: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
cc39b24599
update chain name
2016-11-11 18:41:04 +00:00
keorn
4a65394269
change instant spec, update doc
2016-11-11 18:38:44 +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
Arkadiy Paronyan
6ffaab15a3
Disarm the HF and add more bootnodes ( #3323 )
...
* Disarm the HF
* More bootnodes
* Updated tests
2016-11-10 11:28:27 +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
GitLab Build Bot
29aecc2cff
[ci skip] js-precompiled 20161109-171832
2016-11-09 17:19:59 +00: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
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
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
Arkadiy Paronyan
d37f4cc82f
v1.5 ( #3195 )
2016-11-04 17:27:11 +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
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
956a059a06
Updating bootnodes for ETC ( #2938 )
2016-10-28 16:02:23 +02:00
Arkadiy Paronyan
55efa16e42
More bootnodes ( #2926 )
2016-10-28 12:00:01 +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