Commit Graph

7484 Commits

Author SHA1 Message Date
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
3e474216ac Peek transaction queue via RPC (#2270)
* Handle RLP to string UTF-8 decoding errors (#2217)

* pending transactions

Conflicts:
	rpc/src/v1/impls/ethcore.rs
	rpc/src/v1/traits/ethcore.rs
2016-09-23 20:53:21 +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
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
keorn
c57e3cefe4 sync check method 2016-09-21 10:29:44 +02: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
keorn
9d23915caf more simulation methods 2016-09-20 15:48:17 +02:00
arkpar
302f8a190f Fix syncing with pv63 peers 2016-09-20 17:36:56 +08: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
551b5d7b6c Merge remote-tracking branch 'parity/master' 2016-09-19 14:33:59 +02:00
keorn
ce3e8750c9 additional consensus test 2016-09-19 14:33:11 +02: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
keorn
49b8e144fd initial mocknet with chain notify 2016-09-19 10:43:01 +02:00
keorn
fdcda41280 add tracing 2016-09-19 10:42:36 +02:00
keorn
6af888f9e4 disable TemporaryPath panic 2016-09-19 10:41:35 +02:00
keorn
c6c45db1d0 add devtools dependency 2016-09-19 10:41:01 +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
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