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
obscuren
116516158d
Renamed
11 years ago
obscuren
ca747f2688
Added the possibility for debug hooks during closure call
11 years ago
obscuren
6a530ea371
Call fixed
11 years ago
obscuren
e09f0a5f2c
Split code for contracts
11 years ago
obscuren
c0a030ef0a
Added new insruction methods
11 years ago
obscuren
01c1bce9c5
Removed regular ints from the virtual machine and closures
11 years ago
obscuren
2ea4c632d1
Closure return, arguments fixed. Added proper tests
11 years ago
obscuren
f567f89b99
Added address to account and contract
...
Contract and account now both have an address field or method for the
sake of simplicity.
11 years ago
obscuren
7705b23f24
Removed caller from tx and added "callership" to account.
...
Transactions can no longer serve as callers. Accounts are now the
initial callee of closures. Transactions now serve as transport to call
closures.
11 years ago
obscuren
c68ff9886b
Fixed MSTORE and added some more commets
11 years ago
obscuren
38ea6a6d5d
Closures and vm based on closures
...
Status: Work in progress
11 years ago