Commit Graph

29 Commits

Author SHA1 Message Date
obscuren 8ce6a36478 converted chain manager 2015-03-16 23:48:18 +01:00
obscuren e620bde405 conversion state 2015-03-16 17:09:08 +01:00
obscuren f486c0ae56 new type + additional methods 2015-03-16 11:59:52 +01:00
obscuren b523441361 Moved ethutil => common 2015-03-16 11:27:38 +01:00
obscuren 310ca62285 Removed some of that gas pre pay magic 2015-03-12 22:29:10 +01:00
obscuren 19efebe91e Updated tests and fixed suicide 2015-03-09 11:28:35 +01:00
obscuren b909a5ec18 Trie => SecureTrie 2015-03-03 12:25:44 +01:00
obscuren e235b57234 Fixed consensus issue for refunding
* Refund should _always_ go to the origin
2015-02-26 20:08:35 +01:00
obscuren ea9a549bbd Removed exported fields from state object and added proper set/getters 2015-02-20 14:19:34 +01:00
obscuren d8ac267f41 dirty tracking for state objects fixed 2015-02-20 14:01:30 +01:00
obscuren fa4cbad315 Optimisations and fixed a couple of DDOS issues in the miner 2015-02-19 22:33:22 +01:00
obscuren c14071df9d Reset storage cache after sync 2015-02-19 13:34:27 +01:00
obscuren 2c454863f2 Use new rlp (TODO requires some refactoring) 2015-02-17 13:26:21 +01:00
obscuren 54927dc0e0 Fixed issue with Storage()
* Storage() returned encoded values. They are now decode prior to hexing
* Removed old code from state object
* Updated coin
2015-01-29 23:58:43 +01:00
obscuren db4aaedcbd Moved ptrie => trie. Removed old trie 2015-01-08 11:47:04 +01:00
obscuren fed3e6a808 Refactored ethutil.Config.Db out 2015-01-07 13:17:48 +01:00
obscuren 780abaec98 Switched to new trie 2014-12-23 18:35:36 +01:00
obscuren f298ffdbb8 Renamed State => StateDB 2014-12-04 11:40:20 +01:00
obscuren 99853ac3ce Moved execution from vm to chain.
This moves call and create to the specified environments. Vms are no
longer re-used. Vm uses environment's Call(Code) and Create in order to
execute new contracts or transfer value between accounts.

State transition now uses the same mechanism described above.
2014-12-03 17:06:54 +01:00
obscuren 64f35ba8d1 merge errors fixed 2014-12-02 11:52:56 +01:00
obscuren 6dc46d3341 Changed the way transactions are being added to the transaction pool 2014-12-01 20:18:09 +01:00
obscuren e70529a977 Added new iterator and tests 2014-11-19 15:05:08 +01:00
obscuren 14e2e488fd Added `chain` tests & minor fixes
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
2014-11-19 12:25:52 +01:00
obscuren 60cdb1148c Transaction execution fixes 2014-11-12 01:36:36 +01:00
obscuren f76f953f0c Removed debug print 2014-11-04 01:33:31 +01:00
obscuren a82b89e2d5 Added storage root to dump 2014-11-03 23:45:44 +01:00
obscuren 76c9c8d653 Compress data on db level. Closes #174 2014-11-03 00:31:15 +01:00
obscuren af34749a6b ethtrie => trie 2014-10-31 14:45:03 +01:00
obscuren af8f5f0b69 ethstate => state 2014-10-31 14:43:14 +01:00