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
Tomasz Drwięga
d7bbc5cc3f
Hash Content RPC method ( #2355 )
...
* Moving file fetching to separate crate.
* ethcore_hashContent
* Tests running on mocked fetch.
* Limiting size of downloadable assets
2016-09-27 16:27:06 +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
Arkadiy Paronyan
bc4cbaac2b
DIV optimization ( #2327 )
2016-09-27 11:27:11 +02:00
Tomasz Drwięga
2135ba467c
Error when deserializing invalid hex ( #2339 )
...
Conflicts:
rpc/src/v1/types/bytes.rs
2016-09-27 11:26:23 +02:00
sandakersmann
09210269c9
Changed http:// to https:// on some links ( #2349 )
...
Changed http:// to https:// on some links in README.md
2016-09-27 08:02:26 +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
fe4f10382b
Merge pull request #2292 from ethcore/txqueue
...
Tx Queue improvements
2016-09-26 18:29:29 +02:00
Tomasz Drwięga
92451ef268
Lenient bytes deserialization ( #2036 )
...
* Lenient bytes deserialization
* Printing warning
2016-09-26 15:55:44 +02:00
Tomusdrw
4acd6cbe3b
Fixing tests
2016-09-26 12:24:52 +02:00
Tomusdrw
ef1c8b1fc7
Merge branch 'master' into txqueue
2016-09-26 12:18:22 +02:00
Denis S. Soldatov aka General-Beck
abcdc8176f
Update gitlab-ci
...
fix
2016-09-24 05:02:26 +07:00
Denis S. Soldatov aka General-Beck
f9d60d19d6
Update gitlab-ci
...
copy from beta
2016-09-24 04:34:42 +07: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
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
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