Commit Graph

23 Commits

Author SHA1 Message Date
obscuren
7adf065b10 Simple effective VM optimisation
Added a debug flag to the VM which determines if VM output is shown
regardless of the log level set.
2015-02-28 20:14:01 +01:00
obscuren
e235b57234 Fixed consensus issue for refunding
* Refund should _always_ go to the origin
2015-02-26 20:08:35 +01:00
Jeffrey Wilcke
dd086791ac Merge pull request #360 from Gustav-Simonsson/add_stack_size_checks
Correct stack size validation for MUL, CALLDATACOPY, EXTCODESIZE, BLOCKH...
2015-02-22 13:28:50 +01:00
obscuren
bba85a2074 Added Number to logs 2015-02-22 13:24:26 +01:00
Gustav Simonsson
fd3793b8cf Correct stack size validation for MUL, CALLDATACOPY, EXTCODESIZE, BLOCKHASH 2015-02-21 05:34:02 +01:00
obscuren
fdecc11128 Temp fix for #342 2015-02-19 11:09:46 +01:00
obscuren
3f6baa45a7 Documented methods & removed old manifest 2015-02-11 23:46:45 +01:00
obscuren
3f03197dae Updated tests 2015-02-04 07:39:02 -08:00
obscuren
faa54e59c1 Make sure that CALL addr is always 20 bytes 2015-02-02 20:01:10 -08:00
obscuren
84adf77bf3 Added RPC "Call" for JS calls to contracts 2015-01-29 13:10:34 +01:00
obscuren
9845029a75 StdVm by default 2015-01-20 15:49:12 +01:00
obscuren
89c69a1d25 VmDebug => StdVm 2015-01-19 11:18:34 +01:00
Paweł Bylica
ba225017c4 JitVm struct stub. Forwards calls to DebugVm. 2015-01-12 19:40:14 +01:00
obscuren
4dc7ee9087 Closure => Context 2015-01-02 16:14:12 +01:00
obscuren
8577e4171a Panic for "Vm" 2014-12-12 22:24:27 +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
141d3caabb Re-org op codes 2014-11-01 01:18:03 +01:00
obscuren
fd9da72536 ethcrypto => crypto 2014-10-31 12:37:43 +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
29b8a0bc5f Updated the VM & VM tests
* Stack Error shouldn't revert to previous state
* Updated VM Test tool
* Added Transfer method to VM Env
2014-10-23 01:01:26 +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