aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm
Commit message (Collapse)AuthorAgeFilesLines
* core: Added EVM configuration optionsJeffrey Wilcke2016-03-241-6/+9
| | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options.
* core, core/vm, tests: changed the initialisation behaviour of the EVMJeffrey Wilcke2016-03-231-1/+8
| | | | | | | The EVM was previously initialised and created for every CALL, CALLCODE, DELEGATECALL and CREATE. This PR changes this behaviour so that the same EVM can be used through the session and beyond as long as the Environment sticks around.
* parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-181-0/+5
| | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code
* core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-161-1/+1
|
* core, core/vm, cmd/evm: remove redundant balance checkGustav Simonsson2015-10-061-2/+2
|
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-041-33/+31
| | | | | | | | | | | | | | | | | * 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`.
* Add tests for uncle timestamps and refactor timestamp typeGustav Simonsson2015-08-251-3/+3
|
* cmd/evm, core/vm, tests: changed DisableVm to EnableVmJeffrey Wilcke2015-08-121-1/+1
|
* core, tests: reduced state copy by N callsJeffrey Wilcke2015-08-071-0/+3
| | | | | Reduced the amount of state copied that are required by N calls by doing a balance check prior to any state modifications.
* core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-6/+20
| | | | * changed stack and removed stack ptr. Let go decide on slice reuse.
* cmd/core,xeth: removed unneeded states & added batch writesJeffrey Wilcke2015-07-231-31/+81
|
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-2/+2
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: remove @author commentsFelix Lange2015-07-071-5/+0
|
* all: update license informationFelix Lange2015-07-071-16/+16
|
* Use uint64 for block header timestampGustav Simonsson2015-06-301-3/+3
|
* cmd/evm: print trace when running programsobscuren2015-06-111-0/+3
|
* cmd/evm: implements vm.Environmentobscuren2015-06-101-0/+7
|
* Fixed tests to reflect log changesobscuren2015-04-091-1/+1
|
* fixed testsobscuren2015-04-011-2/+2
|
* fixed testsobscuren2015-03-241-4/+4
|
* moved state and vm to coreobscuren2015-03-231-2/+2
|
* converted to proper typesobscuren2015-03-221-29/+29
|
* Moved ethutil => commonobscuren2015-03-161-6/+6
|
* cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig callsFelix Lange2015-03-101-2/+0
|
* Secure trieobscuren2015-03-011-1/+0
|
* fixed testobscuren2015-02-051-0/+1
|
* Refactored ethutil.Config.Db outobscuren2015-01-071-2/+1
|
* cmd/evm: add dummy implementation for GetHashFelix Lange2015-01-061-0/+6
| | | | | Fixes the build. AFAIK evm does not bother keeping a chain and cannot provide a real implementation.
* Added license headersobscuren2015-01-061-2/+0
|
* Closure => Contextobscuren2015-01-021-3/+3
|
* fixed trieobscuren2014-12-301-2/+2
|
* Fixed EVM environment. Closes #215v0.7.10obscuren2014-12-211-3/+1
|
* Fixed testsobscuren2014-12-101-1/+1
|
* Log is now interfaceobscuren2014-12-041-1/+1
|
* sort tests for evmobscuren2014-12-043-6/+9
|
* Updated testing toolsobscuren2014-12-041-22/+68
|
* Removed all implicit logging. Fixed gas issues and jump errorsobscuren2014-11-121-2/+3
|
* Moved messages eventing to chain managerobscuren2014-11-101-1/+1
|
* Added dumpsobscuren2014-11-101-2/+9
|
* Added VM testing toolobscuren2014-11-101-0/+109