aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/context.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-041-120/+0
| | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`.
* core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-0/+1
| | | | * changed stack and removed stack ptr. Let go decide on slice reuse.
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* core/vm: changed program counter to uint64obscuren2015-06-101-4/+4
|
* core/vm: improve JUMPDEST analysisFelix Lange2015-06-031-1/+10
| | | | | | | | | * 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
* Cleanup VM.obscuren2015-03-291-16/+4
| | | | | | | * CALLDATA use getData * removed old context get range value * removed casting big => int for some cases * pc now big int #457
* Cleanup VMobscuren2015-03-291-9/+5
|
* moved state and vm to coreobscuren2015-03-231-0/+110