Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
9 years ago
Gustav Simonsson
e1616f77c7
core, core/vm, cmd/evm: remove redundant balance check
9 years ago
Jeffrey Wilcke
361082ec4b
cmd/evm, core/vm, test: refactored VM and core
...
* 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`.
9 years ago
Gustav Simonsson
7324176f70
Add tests for uncle timestamps and refactor timestamp type
9 years ago
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
9 years ago
Jeffrey Wilcke
184e9ae9a8
core, tests: reduced state copy by N calls
...
Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
9 years ago
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
9 years ago
Jeffrey Wilcke
8fc9830971
cmd/core,xeth: removed unneeded states & added batch writes
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
9 years ago
Felix Lange
e813626ee1
all: remove @author comments
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
10 years ago
obscuren
5cfae0536f
cmd/evm: print trace when running programs
10 years ago
obscuren
f249ccaa89
cmd/evm: implements vm.Environment
10 years ago
obscuren
a7750c929b
Fixed tests to reflect log changes
10 years ago
obscuren
f468364e4d
fixed tests
10 years ago
obscuren
9de1ad6546
fixed tests
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
13781b922a
converted to proper types
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Felix Lange
80985f97da
cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls
10 years ago
obscuren
ae45a39dc1
Secure trie
10 years ago
obscuren
57f95c1dc7
fixed test
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
Felix Lange
be97785856
cmd/evm: add dummy implementation for GetHash
...
Fixes the build. AFAIK evm does not bother keeping a chain and
cannot provide a real implementation.
10 years ago
obscuren
117f66e823
Added license headers
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
1085960ed8
fixed trie
10 years ago
obscuren
795b14330a
Fixed EVM environment. Closes #215
10 years ago
obscuren
1fb84d3c5f
Fixed tests
10 years ago
obscuren
3043b233ea
Log is now interface
10 years ago
obscuren
bff5999efa
sort tests for evm
10 years ago
obscuren
3664cd58e3
Updated testing tools
10 years ago
obscuren
6c9e503eb8
Removed all implicit logging. Fixed gas issues and jump errors
10 years ago
obscuren
ad0acb5762
Moved messages eventing to chain manager
10 years ago
obscuren
ebb7db263f
Added dumps
10 years ago
obscuren
d30571a7a8
Added VM testing tool
10 years ago