Commit Graph

748 Commits

Author SHA1 Message Date
romanman 7f3c44e514 clean up studio from core stuff 2014-09-04 20:30:34 +03:00
romanman 714c97cbc7 initial library split 2014-09-04 19:54:54 +03:00
romanman 6f231bc96b initial library split 2014-09-04 18:53:09 +03:00
romanman a7a6bd82a4 bulish snapshot with current timestamp 2014-09-04 13:05:18 +03:00
romanman be19243ccb publish new version to bintray 2014-09-04 12:11:18 +03:00
romanman 4ecc406106 restruct 2014-09-03 09:26:00 +03:00
root ebdeeca0f3 restruct 2014-09-02 15:00:39 +00:00
romanman 8a3dd50d87 restruct 2014-09-02 17:22:02 +03:00
romanman 5ccbd044d3 Merge pull request #110 from nicksavers/master
Add VM dumptrace in pretty format
2014-09-02 16:47:31 +03:00
nicksavers e106d2fdc7 Add VM dumptrace in pretty format 2014-09-01 20:59:06 +02:00
romanman 45925d0791 Tri: testing fix
+ 100000 update/deletes was to hard for travis free server reducinng the testing for 5000 operations
2014-08-30 19:19:10 +03:00
romanman e0d2199621 trying to increase memory for travis 2014-08-30 19:00:24 +03:00
romanman eb8fee2827 Fixing tests for Trie : RLP changes 2014-08-30 18:38:27 +03:00
romanman 480cc53efa no real change just to kick off another travis build 2014-08-30 18:19:40 +03:00
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