Robert Habermeier
1e10445f82
exists -> contains
2016-06-02 21:23:43 +02:00
Robert Habermeier
6c6229c963
check if state root is valid for old blocks
2016-06-02 20:52:21 +02:00
Robert Habermeier
d7b79c1274
don't return a state in state_at if the db prunes and the block is before guaranteed history
2016-06-02 20:34:38 +02:00
Robert Habermeier
0318bb9fe9
Have Ext::ret take self by value ( #1187 )
...
* refactor externalities::ret to take self by-value, add GasLeft enum, and alter evm::Result.
* remove unused imports, StopExecutionWithGasLeft variant
* adjust tests
* remove extraneous call to reserve
* update json_tests Ext to match new trait
* adjust executive json_test
* have evms own their memory for their entire lifetime
* make finalize API more friendly
* indentation fix
[ci skip]
2016-06-02 19:04:15 +02:00
Gav Wood
b17581d7de
VM tracing and JSON RPC endpoint for it. ( #1169 )
...
* Groundwork for basic VM tracing.
* RPC endpoint for VM tracing and ser/de types ready.
* Create VMTracer trait.
* Rearchitected VM tracing to reflect existing tracing.
Should more or less work now.
* Integrated VM tracing into JSONRPC.
* Fix ethcore module tests.
* Add tests for VM tracing.
* Fix consensus test code.
* Fix mock tests.
* Added VM trace information for post-execution stuff.
* Fix max-value calls and add "creates" field to getTransaction.
* Tests for VM tracing.
* Don't implement the trait with unimplemented.
* Remove invlaid comment.
* Fix tests.
2016-06-02 12:40:31 +02:00
Nikolay Volf
1ef4db82e8
doctest fixes
2016-06-01 14:50:06 +02:00
Nikolay Volf
c00b84e10b
merge fixes
2016-06-01 12:54:47 +02:00
Nikolay Volf
0c782bf34b
Merge branch 'master' into client-refact
2016-06-01 12:45:04 +02:00
Nikolay Volf
db749dc564
fix remaining tests & doctest
2016-06-01 12:44:11 +02:00
Nikolay Volf
d45a676dc0
all tests fixed
2016-05-31 22:24:32 +02:00
Robert Habermeier
bbb858b386
address small syntax breakages
2016-05-31 21:38:05 +02:00
Nikolay Volf
2a08fb8fe3
and conditional dispatch
2016-05-31 21:17:46 +02:00
Robert Habermeier
ec7af964ab
correct map macro invocation
2016-05-31 21:01:47 +02:00
Nikolay Volf
a845e08bc6
rename of the trait
2016-05-31 20:33:26 +02:00
Nikolay Volf
8e252d5f1b
refactored to merge client & client
2016-05-31 19:52:53 +02:00
Nikolay Volf
4f732972bc
refactoring to hold miner within the client
2016-05-31 19:01:37 +02:00
Robert Habermeier
da9d6bf8d5
rename [hash_]mapx to [hash_]map_into
2016-05-31 17:29:01 +02:00
Robert Habermeier
3abaeadcf3
finish purging x! from ethcore
2016-05-31 17:18:21 +02:00
Robert Habermeier
ff7c755930
mostly purge x! from ethcore
2016-05-31 16:59:01 +02:00
Nikolay Volf
0cd8644292
split interfaces
2016-05-31 16:41:15 +02:00
Arkadiy Paronyan
6d25e7f8b4
Merge pull request #1164 from ethcore/sync
...
Sync fixes and tweaks
2016-05-30 22:29:29 +02:00
Arkadiy Paronyan
b9f7ed9185
Merge pull request #1141 from rphmeier/rpc-tests
...
Framework for improved RPC unit tests
2016-05-29 00:50:19 +02:00
arkpar
1e8bf8c89d
More tweaks
2016-05-28 17:17:10 +02:00
arkpar
d1fc5a5611
Tweaked some constansts for slower machines
2016-05-28 17:17:10 +02:00
Robert Habermeier
1de7ea090c
add informative comment on transaction::Action
2016-05-27 18:18:44 +02:00
Tomasz Drwięga
58039fb420
Fixing few clippy warnings
2016-05-27 17:56:25 +02:00
Robert Habermeier
3f89362630
rename x_latest to latest_x in BlockChainClient
2016-05-27 16:35:42 +02:00
Robert Habermeier
a3b1cdb175
add docs for nonce_latest
2016-05-27 16:35:41 +02:00
Robert Habermeier
5afa4621f9
added balance_latest, storage_at_latest utilities
...
with modus ponens panickers
2016-05-27 16:35:41 +02:00
Robert Habermeier
3c7e4b8c6c
added nonce, nonce_latest
2016-05-27 16:35:41 +02:00
Robert Habermeier
86eab79d9d
consolidate [balance/storage]_at and _at_id functionality
2016-05-27 16:35:41 +02:00
Robert Habermeier
3405f3eab1
implement storage_at_id
2016-05-27 16:35:41 +02:00
Robert Habermeier
2b7fae8fa6
add state_at_id and balance_at_id, integrate with RPC
2016-05-27 16:35:41 +02:00
Arkadiy Paronyan
8872558e0d
Merge pull request #1153 from ethcore/mordenbootnodes
...
More bootnodes for morden.
2016-05-26 21:49:09 +02:00
Marek Kotewicz
7370776af1
Bloomchain ( #1014 )
...
* use bloomchain crate in blockchain module. remove obsole chainfilter submodule
* update database version to 6.0
* removed redundant line
* simple db migration
* make migration slightly more functional
* bloomchain migration
* migration version is just a single unsigned integer
* updated migration v6
* parity migration
* db migration
* removed hardcoded migration dir
* replace ptr::copy with clone_from_slice, removed potential endianess problem from trace/db.rs
* removed superfluous line
* blockchains log blooms config is not exposed any more
2016-05-26 18:24:51 +02:00
Tomasz Drwięga
fa6b35ec8d
Bumping clippy. Fixing warnings ( #1139 )
...
* Bumping clippy. Fixing warnings
* Removing unused import
* Fixing complexity and arguments warning on two functions
2016-05-25 17:03:58 +02:00
Gav Wood
75d0606bc0
More bootnodes for morden.
2016-05-25 11:37:19 +02:00
Arkadiy Paronyan
fba5082b00
Propagate uncles ( #1134 )
2016-05-24 21:56:17 +02:00
Marek Kotewicz
bf46531372
Merge pull request #1116 from rphmeier/die_display
...
Have `die_with_error` use `fmt::Display` rather than Debug
2016-05-24 20:00:50 +02:00
Gav Wood
564a996620
Basic hex block exporting.
2016-05-23 09:51:36 +02:00
Robert Habermeier
6fb54f4c9d
remove extraneous braces in ExecutionError Display impl
2016-05-22 12:47:42 -04:00
Robert Habermeier
5d997ef099
address match style concerns
2016-05-22 12:41:45 -04:00
Gav Wood
828bf7cb9e
Make receipt's gasUsed property work properly.
...
Fixes #1111
2016-05-21 14:49:21 +02:00
Robert Habermeier
a7d7cb9ecb
add Display impl for ethcore::Error, UtilError
2016-05-20 18:13:16 -04:00
Robert Habermeier
b0452cf309
add DIsplay impl for ExecutionError, CryptoError, and NetworkError
2016-05-20 18:12:51 -04:00
Marek Kotewicz
852155959d
Merge pull request #1098 from ethcore/trace_err
...
pretty print trace error
2016-05-19 18:00:39 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
debris
95365670e4
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 14:15:05 +02:00
debris
506ca15a15
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 11:07:53 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +02:00