Commit Graph

5793 Commits

Author SHA1 Message Date
Robert Habermeier
ff0be9f361 Separate RPC serialization from implementation (#2072)
* add auto-args deserialization for RPC

* make block param member public

* change BlockParam to a more generic Trailing<T> mechanism

* define work type

* build_rpc_trait macro, implement eth protocol

* fix up tests

* move eth_filter API to new macro
2016-09-23 19:42:33 +02:00
Gav Wood
84ba75f7cb Add hash as CLI function (#1995)
* Add hash as CLI function

* Use streaming SHA3.
2016-09-23 15:28:09 +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
862feb7172 Serving content at /api/content/<hash> (#2248) 2016-09-22 18:05:36 +02:00
Tomasz Drwięga
368aca521b Fails when deserializing non-hex uints (#2247) 2016-09-22 18:02:47 +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
Denis S. Soldatov aka General-Beck
5e0dcd0892 Update gitlab-ci
fix x86_64-pc-windows-msvc
2016-09-21 22:37:34 +07:00
Denis S. Soldatov aka General-Beck
79ce410299 Update .gitlab-ci.yml 2016-09-21 21:19:34 +07:00
Denis S. Soldatov aka General-Beck
e0afb8cd53 Update gitlab-ci
update deploy
2016-09-21 20:48:01 +07:00
Denis S. Soldatov aka General-Beck
5d0491f9af Update gitlab-ci
add deploy to S3
2016-09-21 18:45:21 +07:00
Arkadiy Paronyan
0688716af6 Handle RLP to string UTF-8 decoding errors (#2217) 2016-09-21 12:59:46 +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
Tomasz Drwięga
b7e2afd5c0 New signer token RPC & Initial signer connection without token. (#2096)
* Allowing signer to use initial token

* Generating new tokens via RPC

* Fixing RPC tests

* Fixing signer doctest

* whitespace

[ci:skip]

* whitespace

[ci:skip]
2016-09-21 11:44:49 +01:00
Robert Habermeier
93f82a1164 Merge pull request #2161 from ethcore/fixes
Fixing evm-debug
2016-09-20 19:21:25 +02:00
Denis S. Soldatov aka General-Beck
9b6d30f729 Update gitlab-ci
remove -export
2016-09-20 22:01:50 +07:00
Tomasz Drwięga
0921dffd86 Fixing trait definition 2016-09-20 16:25:22 +02:00
Robert Habermeier
28adfc32a1 Merge pull request #2204 from ethcore/sync-fix
Fix syncing with pv63 peers
2016-09-20 15:50:57 +02:00
arkpar
302f8a190f Fix syncing with pv63 peers 2016-09-20 17:36:56 +08:00
Robert Habermeier
48be60905d Merge pull request #2162 from ethcore/jsonrpc-bump
Bumping jsonrpc-core & jsonrpc-http-server
2016-09-19 13:02:23 +02:00
Tomusdrw
b6df3759c8 Breaking the line 2016-09-19 12:16:22 +02:00
Tomusdrw
98ee2e44f7 Fixing tests 2016-09-19 12:12:50 +02:00
Tomusdrw
110e58607f Bumping jsonrpc-core & jsonrpc-http-server 2016-09-19 01:54:44 +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
Robert Habermeier
851b639ecb Merge pull request #2102 from ethcore/import-stats
Import command summary
2016-09-16 13:05:03 +02:00
arkpar
0124f985c3 Added docs 2016-09-16 12:18:27 +02:00
Robert Habermeier
f8f39c4369 check for existence of deprecated ethash file before attempting delete (#2103) 2016-09-16 08:57:38 +02:00
arkpar
cc845c61d3 Import summary 2016-09-15 16:56:10 +02:00
Robert Habermeier
c16bf7face Merge pull request #2078 from ethcore/bigint_crates
Get bigint on crates.io
2016-09-15 16:54:30 +02:00
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
Robert Habermeier
c8533a31fa Merge pull request #2070 from ethcore/config-files
Config files
2016-09-14 15:16:04 +02:00
Denis S. Soldatov aka General-Beck
77a3bf1a62 Update gitlab-ci
add allow_failure: true to rust beta
2016-09-14 19:00:43 +07:00
Robert Habermeier
9dbc49b76e adjust targets.sh to new bigint name 2016-09-14 12:26:54 +02:00
kristoffer
2ba4968cd5 Remove old cache data (#2081) 2016-09-14 12:02:52 +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
Denis S. Soldatov aka General-Beck
21cc368066 Update gitlab-ci
update name
2016-09-14 14:35:09 +07:00
Denis S. Soldatov aka General-Beck
2d96af4229 Delete deploy.sh 2016-09-14 03:06:12 +07:00
Denis S. Soldatov aka General-Beck
06353f2beb Create deploy.sh
move deploy.sh to scripts
2016-09-14 03:05:19 +07:00
Denis S. Soldatov aka General-Beck
aa949c3f04 Update gitlab-ci 2016-09-14 00:42:02 +07:00
Denis S. Soldatov aka General-Beck
a872484891 Add new file deploy.sh
Deploy binaries
2016-09-13 22:03:50 +07: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
Robert Habermeier
42a8ea0002 prepare bigint for crates.io 2016-09-13 15:27:18 +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
Robert Habermeier
83ddce011d ensure the target folder doesn't exist before renaming (#2074) 2016-09-13 10:33:03 +02:00
Tomasz Drwięga
27d30fca22 Fixing tests 2016-09-12 14:18:33 +02:00
Robert Habermeier
bc9b7cbcc1 Merge pull request #2055 from ethcore/dapp-norefresh
Get rid of 'Dapp is being downloaded' page
2016-09-12 11:36:37 +02:00