obscuren
753d62a4dd
core: TMP testing code
10 years ago
obscuren
468501cb86
core/vm: changed program counter to uint64
10 years ago
Felix Lange
ea2718c946
core/vm: improve JUMPDEST analysis
...
* JUMPDEST analysis is faster because less type conversions are performed.
* The map of JUMPDEST locations is now created lazily at the first JUMP.
* The result of the analysis is kept around for recursive invocations
through CALL/CALLCODE.
Fixes #1147
10 years ago
obscuren
368ebe63a9
Cleanup VM.
...
* CALLDATA use getData
* removed old context get range value
* removed casting big => int for some cases
* pc now big int #457
10 years ago
obscuren
3b7e4173ce
Cleanup VM
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
df5901fdc5
Removed more casts
10 years ago
obscuren
cf45b939a0
fixed tests
10 years ago
obscuren
515d9432fc
converted vm
10 years ago
obscuren
91b0b14845
converted vm
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
f76cc6699e
Changed context and ADDMOD, MULMOD
...
* Cleaned up VM execution. VM run now takes a context
* ADDMOD/MULMOD - removed incorrect cast
10 years ago
obscuren
0d64163fea
Right pad zeros. Closes #446
10 years ago
obscuren
00348756bc
updated tests
10 years ago
obscuren
09841b1c9b
Cleaned up some of that util
10 years ago
obscuren
bd0c267cbe
Cleanup old code
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
29c887ef2c
Removed incorrect range check for push
10 years ago
obscuren
59ef6e3693
Cleaned up objects
10 years ago
obscuren
83663ed4b0
Renames for chain, updated VM, moved methods
...
* Renamed a couple more chain => core
* Updated VM `pc` to be uint64 rather than big int
* XEth interface cleanup
10 years ago
obscuren
b6cb5272de
Descriptive function names for closure getters
10 years ago
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.
10 years ago
obscuren
a22056db59
Make an attempt to pay for the gas prior to expanding the mem.
10 years ago
obscuren
60cdb1148c
Transaction execution fixes
10 years ago
obscuren
af8f5f0b69
ethstate => state
10 years ago
obscuren
20c742e474
Moved ethvm => vm
10 years ago
obscuren
3d177be73e
Couple of minor issues fixed
...
* CALLVALUE pushed incorrect value to the stack
* Set execution model to closure
10 years ago
obscuren
c5bd32b0ad
Refactored VM to two separate VMs; std & debug
...
Standard VM should be about 10x faster than the debug VM. Some error
checking has been removed, all of the log statements and therefor quite
some unnecessary if-statements.
10 years ago
obscuren
3f904bf3ac
Implemented POST
10 years ago
obscuren
7d95e8624a
Added message to closure && added change addresses
10 years ago
obscuren
a760ce05b9
Updated chain for filtering
10 years ago
obscuren
1e8b54abfb
Refactored state, state object and vm
...
* The State and StateObject have been moved to their own package
* The VM is moved to it's own package
10 years ago
obscuren
42bb3d8aae
Removed old if statement. No longer needed
11 years ago
obscuren
d15952c867
Moved debug hook to Vm directly
11 years ago
obscuren
00d3935aac
Removed old method
11 years ago
obscuren
8124547348
Moving a head closer to interop
11 years ago
obscuren
4d98762486
Fixed state object gas return
11 years ago
obscuren
6e98e5709a
Set initial used gas
11 years ago
obscuren
73761f7af6
Closure call now returns the total usage as well
...
* Return the used gas value based on the UseGas and ReturnGas
11 years ago
obscuren
4eb1771e67
Hooks can now quit the vm
11 years ago
obscuren
aba3066658
Changed debug hook and added state iterator
11 years ago
obscuren
5a0bae1dae
Auto update state changes notifications
11 years ago
obscuren
f0440e85dc
Removed value from closure.
11 years ago
obscuren
21724f7ef9
Added manifest changes and changed closures
11 years ago
obscuren
16e52327a4
Upped version number
11 years ago
obscuren
61cd1594b5
Fixed gas, price & value setters on initialization
11 years ago
obscuren
6930260962
Updated VM
11 years ago
obscuren
a96c8c8af9
Added proper gas handling
11 years ago
obscuren
ca13e3b105
Moved assembler stage processing to it's own file
11 years ago
obscuren
086acd122b
Added pre processing of script data
11 years ago