Arkadiy Paronyan
8017daf47c
Backport commits to beta ( #1763 )
...
* Don't try to sync to ancient blocks
* Parallel block body download
* Fixed reading chunked EIP8 handshake (#1712 )
* Fixed reading chunked EIP8 handshake
* Added missing break
* Disconnect peers on a fork
* Updated json-ipc-server
* Combine mining queue and enabled into single locked datum (#1749 )
* Combine mining queue and enabled into single locked datum
Additional tracing.
* Fix bug uncovered by test.
* Fix typo
* Remove unneeded log initialisation in test.
* fix failing test (#1756 )
* Fixed test
* Suicides tracing (#1688 )
* tracing suicide
* fixed #1635
* fixed typo
* Stackoverflow #1686 (#1698 )
* flat trace serialization
* tracing finds transaction which creates contract
* flatten traces before inserting them to the db
* Trace other types of calls (#1727 )
* Trace through DELEGATECALL and CALLCODE
Add them to the JSON output and RLP database store.
* Fix tests.
* Fix all tests.
* Fix one more test.
* filtering transactions toAddress includes contract creation (#1697 )
* tracing finds transaction which creates contract
* comma cleanup
Remove when following `}`s, add to final entries.
* Various improvements to tracing & diagnostics. (#1707 )
* Various improvements to tracing & diagnostics.
- Manage possibility of `Account` not having code for `PodAccount`
- New RPC: `trace_sendRawTransaction`
- See raw transaction dump when inspecting over RPC
* Fix test
* Remove one of the dupe error messages
* Remove unneeded `&`s
* Reformat and extremely minor optimisation
* Minor optimisation
* Remove unneeded let
* Fix tests.
* Additional fix.
* Minor rename.
* Bowing to the pressure.
* Stackoverflow fix (#1742 )
* executive tracer builds flat traces without intermediate struct
* temporarilt commented out tests for traces
* fixed new way of building trace address
* fixed new way of building trace address
* updating state tests with flat tracing in progress
* fixed flat tracing tests
* fixed compiling ethcore-rpc with new flat traces
* removed warnings from ethcore module
* remove unused data structures
2016-07-30 06:37:18 -07:00
Arkadiy Paronyan
a453bab9e8
Removed DAO soft fork traces ( #1640 )
2016-07-16 19:50:13 +02:00
Gav Wood
98ae9cad6f
Minor additions to allow resetting of code. ( #1482 )
...
* Minor additions to allow resetting of code.
* Add test.
2016-06-29 16:29:04 +02:00
Gav Wood
353b9e91e6
Update SF to latest spec ( #1386 )
...
* Introduce whitelist for softfork
* Use extradata for fork id.
* Fix condition.
2016-06-22 15:37:25 +02:00
Gav Wood
72debeebcf
Update code hash.
2016-06-20 20:47:07 +02:00
Marek Kotewicz
3617923d3c
Merge pull request #1324 from ethcore/renamefield
...
Update default gas limit, rename field
2016-06-18 20:22:05 +02:00
Tomasz Drwięga
81df97a737
Fixing warnings ( #1321 )
2016-06-18 15:11:10 +02:00
Gav Wood
22e390f922
Rename block_dao -> reject_dao.
2016-06-18 15:00:12 +02:00
Gav Wood
42478add64
DAO Rescue soft fork ( #1309 )
...
* DAO Rescue soft fork
* Address minor issues.
* Fix tests.
2016-06-18 10:54:15 +02:00
Gav Wood
16412eb0c9
DAO Rescue soft fork ( #1309 )
...
* DAO Rescue soft fork
* Address minor issues.
* Fix tests.
2016-06-17 22:15:18 +02:00
Robert Habermeier
13968aaa38
Refactor triedb constructors to error on invalid state root ( #1230 )
...
* add TrieError, refactor Trie DB creation
* remove Result type alias due to glob import conflicts
* fix fallout in state.rs
* add debug, display impl for TrieError
* fix fallout in account.rs
* ethcore::Error::TrieError variant
* fix remaining fallout in ethcore crate
* added From<TrieError> impl for Error, removed map_err calls
* fix test breakages
* fix doc tests
* update docs
[ci skip]
2016-06-07 11:44:09 -07:00
Tomasz Drwięga
18ffd94674
Fixing warnings
2016-06-06 12:18:17 +02:00
Gav Wood
d39b9506d2
Minor code refactor.
2016-06-05 18:24:17 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Robert Habermeier
bbb858b386
address small syntax breakages
2016-05-31 21:38:05 +02:00
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +02:00
Robert Habermeier
ff7c755930
mostly purge x! from ethcore
2016-05-31 16:59:01 +02:00
Gav Wood
f9a0cc47a0
Enable PoD sutff.
2016-05-31 12:59:00 +02:00
Gav Wood
8082fdb3ff
Fix max-value calls and add "creates" field to getTransaction.
2016-05-30 22:27:28 +02:00
Gav Wood
c1ed520de0
RPC endpoint for VM tracing and ser/de types ready.
2016-05-28 16:52:33 +02:00
Marek Kotewicz
6cff58055d
CLI option for using JITEVM ( #1103 )
...
* easily configurable vm (in progress)
* completely removed vm_factory from engine
* --jitvm command line flag
2016-05-19 00:44:49 +02:00
Tomasz Drwięga
a950b81ee8
Fixing clippy warnings
2016-05-17 10:32:05 +02:00
Marek Kotewicz
66477a9476
Core tracedb functionality. ( #996 )
...
* fixed encoding 0u8
* simplified if else stmt
* tracedb core
* more comprehensive tracedb tests
* fixed minor review issues
* addresses filter
* fixed typos
* replace malformed with corrupted
* trace switch
* db key is generic and can be made smaller
* smaller tracedb keys
* tracedb version
* fixed ignored tests
* rename Tracedb -> TraceDB
* fixed typos
* proves
* trace only top level calls to builtins to avoid DDoS attacks
* fixed tracedb config switches
* fix comments fat replaced with trace
* vector-addressing scheme for localized traces
* removed comments
* removed first, redundant 0 from trace address
* updated db.trace method
* additional tests for tracedb.trace()
2016-04-30 16:41:24 +01:00
debris
610251fdf7
Merge branch 'master' into tracing
2016-04-11 11:35:07 +02:00
Marek Kotewicz
373284ca0a
spec loading cleanup ( #858 )
...
* spec loading cleanup in progress
* changed engine field in json spec
* refactored engine params
* polishing spec loading refactor
* fixed compiling json tests
* fixed compiling parity
* removed warnings
* removed commented out code
* fixed failing test
* bringing back removed TODO in spec.
2016-04-09 10:20:35 -07:00
debris
64294853cc
separated tracing logic to its own trait
2016-04-08 01:50:55 +02:00
debris
09beeaba8e
trace result is a structure;
2016-04-06 21:23:52 +02:00
arkpar
9b7c48110a
Fixed eth_call nonce and gas handling
2016-04-06 13:05:58 +02:00
Gav Wood
d7c377dea6
Fix build.
2016-03-28 10:12:15 +02:00
Gav Wood
43e1d89067
Fix State cloning.
2016-03-27 14:35:27 +02:00
Gav Wood
97449afbb9
Merge branch 'master' into bettermining
2016-03-23 14:18:16 +01:00
Gav Wood
a134f939e9
Non-functioning draft of code.
2016-03-22 13:05:18 +01:00
Gav Wood
2ab9d02158
Fix test.
2016-03-21 12:39:13 +01:00
Gav Wood
c4d45e0cf0
Trace basic calls! And tests.
2016-03-21 11:24:03 +01:00
Gav Wood
72b604b8e8
Avoid tracing DELEGATECALL and CALLCODE. Plus tests for it.
2016-03-20 19:20:37 +01:00
Gav Wood
c2933e005a
Tests for not tracking builtin calls.
2016-03-20 17:51:22 +01:00
Gav Wood
6ac350a996
Tests for lots more configurations.
2016-03-20 16:24:19 +01:00
Gav Wood
5afd32dd84
Minor tweaks.
2016-03-20 12:09:55 +01:00
Gav Wood
d2d5806e9b
Test for failed create transactions, failed actions are logged as such.
2016-03-20 12:04:31 +01:00
Gav Wood
f75fb6a59f
Create transaction tracing test.
2016-03-20 11:33:36 +01:00
Gav Wood
1bfcbca8af
Add doumentation, make tracing optional and expose at OpenBlock level.
2016-03-19 12:54:34 +01:00
Nikolay Volf
03a4f9e268
Merge pull request #673 from ethcore/boxjdb
...
JournalDB -> Box<JournalDB>, and it's a trait.
2016-03-11 20:03:39 +03:00
Gav Wood
5499f4530c
Fix tests.
2016-03-11 15:01:15 +01:00
Gav Wood
2a856a13f0
Obvious typo fix.
2016-03-11 13:21:53 +01:00
Gav Wood
d71c5d4c17
Place Sync/Send in trait.
2016-03-11 13:19:10 +01:00
Gav Wood
756f964130
JournalDB -> Box<JournalDB>, and it's a trait.
2016-03-11 12:54:48 +01:00
Tomasz Drwięga
d84e008e00
Removing superflous check for nightly
2016-03-11 11:16:49 +01:00
Tomasz Drwięga
cbc2c0cf0c
Fixing clippy warnings. When building on nightly it is required to enable clippy
2016-03-07 14:34:17 +01:00
Gav Wood
0082d12ea9
Merge pull request #544 from ethcore/uint-refact
...
uint to separate crate
2016-03-02 00:59:03 +01:00