Commit Graph

26 Commits

Author SHA1 Message Date
Gav Wood 7cf807d1b4 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.

[ci:skip]

* Bowing to the pressure.
2016-07-26 16:48:50 +02:00
Arkadiy Paronyan 4e447ccc68 More performance optimizations (#1649)
* Use tree index for DB

* Set uncles_hash, tx_root, receipts_root from verified block

* Use Filth instead of a bool

* Fix empty root check

* Flush block queue properly

* Expunge deref
2016-07-19 09:23:53 +02:00
Arkadiy Paronyan 5ab18d1313 Performance optimizations (#1642)
* Optimize ethash verification

* disable WAL for puts

* Clear account cache after commit

* Commit only modified accounts

* Optimize existing block check

* Cache last hashes
2016-07-17 09:18:15 +02:00
Marek Kotewicz bcb63bce12 serde is no longer util dependency (#1534)
* removed old json-tests

* simplify folds in triehash.rs

* removed unused json_aid

* removed unused squeeze.rs

* json branching tests for trie

* removing todos from util

* separated UsingQueue and Table

* further cleanup, removing unused code

* serde serialization of hash moved to rpc module

* uint wrapper for rpc in progress

* serialization of uint moved to rpc module

* updated eth-secp256k1

* updated igd, serde is no longer dependency of util

* loading trie consensus tests

* renamed aliases in rpc imports
2016-07-06 11:23:29 +02:00
Marek Kotewicz d8a4cca817 Fatdb integration with CLI (#1464)
* fatdb integration

* --fat-db

* rerun with --pruning=archive comment
2016-07-01 19:29:56 +01: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
keorn be8f922b3f Replace deprecated hashdb trait names (#1394)
* replace deprecated hashdb method names

* spaces -> tabs
2016-06-23 11:16:11 +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
Gav Wood bc5c3da2af Merge branch 'vmtracing' into diffing 2016-06-02 12:28:09 +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
Tomasz Drwięga a950b81ee8 Fixing clippy warnings 2016-05-17 10:32:05 +02:00
Gav Wood 0ef6de930f Update account.rs 2016-04-08 17:42:17 -07:00
Tomasz Drwięga 405a6bfc04 Removing match on constant 2016-04-06 10:58:51 +02:00
Gav Wood 61420d3c9c Fix for morden consensus. 2016-03-01 18:17:59 +01:00
Nikolay Volf 71786dd172 should_panic test 2016-02-10 00:32:47 +03:00
Gav Wood 105f4262dd Merge pull request #354 from ethcore/license
License
2016-02-05 14:06:10 +01:00
debris c90d64662a added license in every *.rs file 2016-02-05 13:40:41 +01:00
arkpar 75ebac36a3 Cleanup 2016-02-05 01:49:06 +01:00
arkpar 6b3390f034 Refactored JournalDB 2016-02-04 02:40:35 +01:00
Tomusdrw a7b1b70fc1 Changing `allow(dead_code)` to more specific exclusions 2016-02-03 15:33:58 +01:00
Gav Wood 3f03ba40ee Suppress warnings along with explanation. 2016-02-03 13:32:57 +01:00
debris bc3c983c37 make few functions compile only for test target 2016-02-02 23:45:50 +01:00
debris 808e517ff0 removing unused functions in progress 2016-02-02 23:06:34 +01:00
debris 30dc9d857d cleanup ethcore public interfaces 2016-02-02 15:29:53 +01:00
debris 8fe0d74b64 moved src to ethcore 2016-01-31 10:36:48 +01:00