Commit Graph

1479 Commits

Author SHA1 Message Date
Robert Habermeier
18c2a599d7 block: enforce gas limit falls within engine bounds
Former-commit-id: 488cde417f32cca0fd24db93174fa120f184921d
2016-12-11 18:58:11 +01:00
arkpar
1cd45f6578 Touched the file to trigger js build
Former-commit-id: ff18d2cfd9f606da591d7a8769661c901ee7379b
2016-11-25 22:50:45 +01:00
Arkadiy Paronyan
e7d7280a89 Backporting to beta (#3623)
* Ropsten network (#3539)

* Ropsten network

* Sorted premine

* Comas

* Removed trailing coma

* --testnet set to ropset

* New registry contract address for ropsten (#3549)

* New registry for ropsten

* Registry address

* Registry with payable modifier

* Fix panic on importing own invalid transaction (#3550)

* Use patched MIO

* Trim whitespace from recovery phrase

* v1.4.5

* Appending logs by default

* Fixing phrases generated on windows

* Manually add \r to Windows phrases pre 1.4.4

* < 1.4.5

* Update test, fix number. (#3612)

* Set default tx price to 0.0025 USD

* Only support 1.4.x dictionary


Former-commit-id: 793003af5ff14bccb34e24b8b57897762647e03d
2016-11-25 20:57:34 +01:00
Arkadiy Paronyan
de23d7a2d7 Backporting to beta (#3525)
* v1.4.4

* 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

* Wallet names shouldn't include address.

(Actually wallet files shouldn't contain it either, but we'll
leave that for a later PR).

* sudo -c Is not supported on Mac

* Add trace_{call, rawTransaction, replayTransaction}

* Remove dangling only

* check for sanity

* Better Erros Snackbar in UI #3473

* Sync bandwidth optimization

* Updated sync algo desription

* Check transaction signature when adding to the queue

* Limit sync reorg to 20 blocks (#3519)

* Limit sync reorg

* Fixed tests

* updated the european warp bootnode addresses (#3528)

* Fix dapp account selection (#3399)

* Fix GHH accounts (filter non accounts)

* SignatureReg handle undefined ABI names gracefully

* SignatureReg fix accounts (filter non accounts)

* TokenReg fix accounts (filter non accounts)

* Registry fix accounts (filter non accounts)

* Remove addresses, display non-refundable warning (#3403)

* Use Contract owner for unregistering Token #3440

* Make tokenreg dapp fast again (#3474)

* Using proper TokenReg Instance in TokenReg dApp #3371

* remove unnecessary logs in tokereg dapp

* Improved Redux managment in TokeReg dApp #3371

* Fixfing linting


Former-commit-id: 3e0d033eaf789cfdf517f4a97effc500f1f9263b
2016-11-18 20:50:20 +01:00
Gav Wood
ea4da34dac Merge pull request #3464 from ethcore/eip170-beta
[beta] EIP-170

Former-commit-id: 2388d265741f379d054df3b0beaf8c639c4648c8
2016-11-16 11:23:43 +08:00
Gav Wood
7a15ea448d Merge pull request #3465 from ethcore/backporting
Backports to beta

Former-commit-id: b44486946a2f1e3188f4181f1022423b0f5ab4e6
2016-11-16 11:21:43 +08:00
Robert Habermeier
53bbe0d959 test previous code fetch
Former-commit-id: 0c5f895a0f2a7f073d8f3998fe81648305a53665
2016-11-15 21:57:59 +01:00
Gav Wood
094fad1155 whitespace
[ci:skip]

Former-commit-id: 674566eeb7b065056f408e5ceeba7ec887a2c82d
2016-11-15 21:57:53 +01:00
Robert Habermeier
2255b389cc 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


Former-commit-id: 749391f3353d186d9be2e60fbc7f2f822408f8e3
2016-11-15 21:57:43 +01:00
arkpar
69d32b884f Set HF block number
Former-commit-id: 5496abf21b140eb75842f6f87a3c56b0f0433876
2016-11-15 21:46:05 +01:00
Arkadiy Paronyan
f3693a0a43 Update test client with max code size
Former-commit-id: 36244abbe86c4620fbfd258a382be819cae4145c
2016-11-15 21:02:35 +01:00
arkpar
f91c3d9d62 fixed test
Former-commit-id: 702d0066c7ed9ef019620e4f00e690c1cd730f91
2016-11-15 21:02:26 +01:00
Gav Wood
b007c7225f Update max code size.
Former-commit-id: 54bae3d00fab74f17767cef6d95ee52271d9486e
2016-11-15 21:01:46 +01:00
Gav Wood
0b2eb3a4c3 Introduce the actual max code size.
Former-commit-id: c87dec7ec4ec4798ce00fb18f798fb762df04954
2016-11-15 21:00:40 +01:00
Gav Wood
780cf0ce1a Restrict max code size to 23999 bytes for EIP-150 and after.
Former-commit-id: 379c1e17d6740be225ed99bad73732330bd9c10a
2016-11-15 21:00:30 +01:00
Tomasz Drwięga
f264d10cc5 Exposing state root and logsBloom in RPC receipts (#3174)
Former-commit-id: 6eeb7a3e5c8354ec9de4027a9d7668b8bf29f4a2
2016-11-15 20:59:08 +01:00
arkpar
613b89010f Updated tests
Former-commit-id: 1e3255e6f10dad8b7a0fd0e36ab3aa358144ac40
2016-11-10 16:23:48 +01:00
arkpar
e85ffdbcd1 Updated tests
Former-commit-id: 9f79e6a91837099d7aa537c7c13e64a5e1d2cc77
2016-11-10 16:10:29 +01:00
Arkadiy Paronyan
f5e1bf08ab Disarm the HF and add more bootnodes (#3323)
* Disarm the HF

* More bootnodes

* Updated tests


Former-commit-id: 828de69b1b0011b90812d53ffaa13ed6be2cdd15
2016-11-10 16:10:14 +01:00
GitLab Build Bot
77f3b87627 js-precompiled 20161110-143746
Former-commit-id: fcf0b92f05731b817dd82bde6632bd58b237de7a
2016-11-10 15:44:27 +01:00
Arkadiy Paronyan
75166bd0e0 Backporting to beta (#3344)
* Disarm the HF and add more bootnodes (#3323)

* Disarm the HF

* More bootnodes

* Updated tests

* Windows app and installer fixes (#3338)

* Windows app and installer fixes

* Sorted out comments


Former-commit-id: f64a70feb8594ab4c9494a56702b8283c06a0d19
2016-11-10 15:17:18 +01:00
GitLab Build Bot
7e77f1b62c [ci skip] js-precompiled 20161109-211612
Former-commit-id: f57c299d090347467c4917a1f6a9528936d5314b
2016-11-09 21:17:25 +00:00
Gav Wood
d898cc49ed New transaction tests (#3313)
* Add new transaction tests.

* Add new test.


Former-commit-id: 4549bfc759ee8095965ac34f9173796ce07835a1
2016-11-09 20:40:57 +01:00
Arkadiy Paronyan
184b0f27e7 Fixed uncle details (#3299)
Former-commit-id: 297b84f4eb80db16a5c33966892b585e43590c11
2016-11-09 20:40:57 +01:00
Arkadiy Paronyan
e727d92e0f Mode configuration backported to beta (#3213)
* 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...

* Parity configuration settings, i.e. mode (#3212)

* Add initial page

* Add parity icon

* opacity for parity icon

* Mode selector

* Actually set mode when value changes


Former-commit-id: 64386d94adfa58aa30bab2005eeb64f6343c8248
2016-11-05 14:37:45 +01:00
Arkadiy Paronyan
33cc10549a Backporting (#3198)
* sendRawTransaction invalid RLP error

* Returning proper error for estimate_gas

* Exposing engine extra info in block RPC (#3169)

* Exposing extra info in RPC

* Proper serialization and client trait API

* Fixing possible race condition in ethcore_hashContent (#3191)

* Remove dapp logos (GHH points to dapp-assets) (#3192)
2016-11-04 18:59:49 +01:00
Arkadiy Paronyan
a3261d1428 EIP-155 update with Vitalik's new test vectors (#3166) (#3189)
* Vitalik's new test vectors.

* Update to latest EIP155 spec.

* Fix txs.

* Another fix.
2016-11-04 16:38:10 +01:00
Arkadiy Paronyan
2b5d82c901 parity-ui-precompiled pinned to beta (#3168)
* parity-ui-precompiled pinned to beta

* Fixed test
2016-11-04 12:38:18 +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
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
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
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
Tomasz Drwięga
ce37b6dcb9 Revert to gas price ordering (#2919) 2016-10-27 19:27:08 +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
Tomasz Drwięga
88997801d0 Clippy bump (#2877)
* Bumping clippy

* Fixing warnings

* Fix the "fix"
2016-10-27 08:28:12 +02:00
keorn
a1745624ce enable suicide test (#2893) 2016-10-26 16:27:38 +02:00