Commit Graph

29 Commits

Author SHA1 Message Date
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 ca1b2a1a91 Changed prev_hash to block_hash, state transition now uses vm env
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
2015-01-03 17:18:43 +01:00
obscuren e2d1d832ef added nil check 2015-01-02 13:00:25 +01:00
obscuren 780abaec98 Switched to new trie 2014-12-23 18:35:36 +01:00
obscuren 1508a23a6f Minor updates on gas and removed/refactored old code. 2014-12-20 02:21:13 +01:00
obscuren 3325683794 Fixed refund model 2014-12-18 22:38:51 +01:00
obscuren 198cc69357 Gas corrections and vm fixes 2014-12-18 21:58:26 +01:00
obscuren 1fb84d3c5f Fixed tests 2014-12-10 10:57:19 +01:00
obscuren 3043b233ea Log is now interface 2014-12-04 12:35:23 +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 1bce02eff7 Fixed merge 2014-11-28 21:44:34 +01:00
obscuren c8d0f8adc5 Changed refund 2014-11-28 21:20:32 +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
Taylor Gerring ddca18638f update imports order per goimports 2014-11-15 20:21:55 -06:00
Taylor Gerring 2a9fc7baa9 Merge branch 'develop' of https://github.com/tgerring/go-ethereum 2014-11-14 15:01:52 -06:00
obscuren 60cdb1148c Transaction execution fixes 2014-11-12 01:36:36 +01:00
obscuren 6c9e503eb8 Removed all implicit logging. Fixed gas issues and jump errors 2014-11-11 22:52:27 +01:00
obscuren 75ee3b3f08 debugging code 2014-11-11 12:16: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
Felix Lange f3473312ba all: fix rename breakage 2014-10-31 18:52:58 +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