Commit Graph

16 Commits

Author SHA1 Message Date
obscuren bd0c267cbe Cleanup old code 2015-01-03 17:29:08 +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 4dc7ee9087 Closure => Context 2015-01-02 16:14:12 +01:00
obscuren 1508a23a6f Minor updates on gas and removed/refactored old code. 2014-12-20 02:21:13 +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 6212175be3 reverted vm back 2014-12-03 13:52:13 +01:00
obscuren 616066a598 rework vm 2014-11-30 21:02:59 +01:00
obscuren 6c9e503eb8 Removed all implicit logging. Fixed gas issues and jump errors 2014-11-11 22:52:27 +01:00
obscuren af8f5f0b69 ethstate => state 2014-10-31 14:43:14 +01:00
obscuren df5603de0a Moved logging to state, proper structured block
* Moved logs to state so it's subject to snapshotting
* Split up block header
* Removed logs from transactions and made them receipts only
2014-10-30 13:32:50 +01:00
obscuren 272d58662c Implemented LOG. Closes #159 2014-10-27 11:44:16 +01:00
Felix Lange 69baa465ea Merge eth-go repository into go-ethereum
mist, etheruem have been moved to cmd/
2014-10-23 15:01:27 +02:00
obscuren b5beb1aac1 added a transfer method to vm env 2014-10-22 15:22:21 +02:00
obscuren 20c742e474 Moved ethvm => vm 2014-10-18 13:31:20 +02:00