Commit Graph

884 Commits

Author SHA1 Message Date
romanman 83d76fbeb9 Trie:
+ Sample for the blog post
2014-08-30 17:24:36 +03:00
romanman 56f415ff39 Trie - going on
+turning off the garbage collector for a while , it should be better tested
 + dump of the full trie to the files each block
2014-08-30 17:09:57 +03:00
romanman cee2e3cb20 Trie
+fixing the bug of loading Trie from the db
 +Tracing full tree improved - now it traverse the trie recursively from the root
2014-08-30 16:53:40 +03:00
romanman da50b99394 Trie improvement
+ fixed for db save/load (rlp bug)
+ garbage collector for obsolete trie nodes
2014-08-29 22:51:03 +03:00
romanman c5ea6b55e7 Merge pull request #101 from davassi/thread-safety
LinkedHashSet in favour of a simple HashSet
2014-08-27 14:04:12 +03:00
Gianluigi 3c106c7dbf Merge branch 'master' into thread-safety 2014-08-27 12:50:22 +02:00
romanman d45b4ad555 Merge pull request #100 from davassi/thread-safety
Thread-safety and data structures fixes
2014-08-27 13:40:32 +03:00
Gianluigi 6c5c5f0dbb using a linked hash map 2014-08-27 12:39:26 +02:00
Nick Savers 69ba68adf4 Pad state dump block no. in filenames with zeroes 2014-08-27 11:08:53 +02:00
Gianluigi d2b7866a63 reverted log labels back 2014-08-27 11:04:10 +02:00
Gianluigi 2b03a1a38e removed Collection<> references 2014-08-26 18:40:41 +02:00
Gianluigi 6ebd687d39 Thread-safety and data structures fixes 2014-08-26 16:47:21 +02:00
romanman 5bf3329993 Trie work
+ nice string for nibbles
2014-08-26 11:19:50 +03:00
romanman 816402816e VM: tracing fix
+ get back the log for memory/stack/storage
   on vm trace level.
2014-08-25 00:57:58 +03:00
romanman 5b48086ceb Merge pull request #90 from negedzuregal/parser
Custom json generator
2014-08-24 17:50:02 +03:00
Alon Muroch c74a1eaf91 added custom json generator 2014-08-24 16:54:08 +03:00
romanman fa7c9e108e Merge pull request #89 from nicksavers/master
Add correct rewards with uncles and workaround overflow for PoC5
2014-08-24 16:46:25 +03:00
nicksavers a203c3a1c6 Workaround overflow bug in poc5 2014-08-24 14:28:15 +02:00
nicksavers 2b74aca6a9 Reward correctly when there are uncles 2014-08-24 14:27:07 +02:00
Nick Savers 446f613cf6 Merge pull request #88 from nicksavers/vmfix
Guard CALL against high initial gas price and overflow
2014-08-24 12:40:49 +02:00
nicksavers abfc40f293 Add placeholder for Unit test of too high CALL gas 2014-08-24 12:36:00 +02:00
nicksavers 1f3935a3ae Compare CALL gas value against gas remaining 2014-08-24 12:13:04 +02:00
nicksavers 7454d99b60 Guard CALL against high initial gas price and overflow 2014-08-24 11:38:27 +02:00
romanman a60e79b1e4 Merge pull request #87 from nicksavers/vmfix
Pre-calculation of gas cost before execution of operation
2014-08-24 10:11:10 +03:00
nicksavers 4b722c9aa7 Revert standard size for CALLDATALOAD to 32 bytes 2014-08-23 23:57:36 +02:00
nicksavers 99522657ef Use statelogger for logging state conflict 2014-08-23 22:47:40 +02:00
nicksavers cdbc5f0a25 Add catch overflow for CALLDATALOAD 2014-08-23 22:46:55 +02:00
nicksavers 477394ac49 Add CALLDATACOPY OutOfGasException Unit Test 2014-08-23 20:47:48 +02:00
nicksavers b61e40494f Revert contract creation in event of VM exception and Program with 0 ops is allowed 2014-08-23 19:39:16 +02:00
nicksavers dbaf79670d Proper VM trace outlining 2014-08-22 23:07:37 +02:00
nicksavers 0a2a0803b9 Return gasUsed instead of gasDebit 2014-08-21 19:10:28 +02:00
nicksavers e7bab2a8ee Remove asserts 2014-08-21 18:20:49 +02:00
nicksavers 88df96b7cc Use BigInt for gas calculation instead of long 2014-08-21 16:40:54 +02:00
nicksavers 334f4ceb20 Don't spend reserved gas 2014-08-21 16:12:02 +02:00
nicksavers e592e24eb2 Add basic gas step cost to mem exapnding operations and use enum directly 2014-08-21 14:27:51 +02:00
nicksavers 6281a752b4 Calculate gasfee in advance 2014-08-21 07:51:19 +02:00
romanman 887c1dcbdd Merge pull request #86 from nicksavers/master
Pretty print for JSON dump and cleanup gitignore
2014-08-21 08:34:57 +03:00
nicksavers 6fa39c37a4 Cleanup Gitignore 2014-08-20 21:19:42 +02:00
nicksavers 7abda07a53 Pretty-print block state dump 2014-08-20 20:59:07 +02:00
romanman 28c514559d Merge pull request #83 from negedzuregal/master
added database folder to .gitignore + payoutDialog fix
2014-08-19 09:26:12 +03:00
Alon Muroch 1448745441 fixed payoutDialog crash 2014-08-18 18:58:54 +03:00
Alon Muroch 46c9c03f95 added database folder to .gitignore 2014-08-18 18:29:39 +03:00
romanman 5e64904de6 Slight fix 2014-08-17 14:23:38 +03:00
romanman 74e388bc2f Should not be in Git 2014-08-17 13:29:15 +03:00
romanman 0dbd944b88 Unit test ofr Nicks last PR 2014-08-17 13:10:49 +03:00
romanman cad8f4fb7f Merge branch 'master' of https://github.com/ethereum/ethereumj 2014-08-17 13:10:05 +03:00
romanman 85872e88b5 Merge pull request #81 from nicksavers/master
Fix for consensus block 1501
2014-08-17 13:10:10 +03:00
nicksavers ca18ec99f8 Fix for consensus block 1501 2014-08-17 11:07:34 +02:00
romanman 24449cc77a Merge branch 'master' of https://github.com/ethereum/ethereumj 2014-08-17 09:43:55 +03:00
romanman 49604d0eb1 Merge pull request #79 from nicksavers/master
Better debugging options and other minor fixes
2014-08-17 00:47:28 +03:00