Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "test, cmd/evm, core, core/vm: illegal code hash implementation" | Péter Szilágyi | 2016-06-29 | 1 | -1/+0 |
| | | | | This reverts commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d. | ||||
* | test, cmd/evm, core, core/vm: illegal code hash implementation | Jeffrey Wilcke | 2016-06-22 | 1 | -0/+1 |
| | | | | | | | | This implements a generic approach to enabling soft forks by allowing anyone to put in hashes of contracts that should not be interacted from. This will help "The DAO" in their endevour to stop any whithdrawals from any DAO contract by convincing the mining community to accept their code hash. | ||||
* | cmd/evm: added --create flag indicating the exec code is to be created | Jeffrey Wilcke | 2016-06-14 | 1 | -11/+34 |
| | | | | | | | | | | This fixes an issue if you wanted to test out code deployment rather than running a piece of code with an argument. This solves it by adding a --create flag that indicates the Create function should be used rather than the Call function. This also adds a statedb.commit call so that the proper state can be dumped when requested using the --dump flag. | ||||
* | cmd: fix CLI package deprecation warnings | Péter Szilágyi | 2016-06-10 | 1 | -1/+2 |
| | |||||
* | cmd/geth: codegansta/cli package renamed to urfave/cli | Bas van Kervel | 2016-06-09 | 1 | -1/+1 |
| | |||||
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 1 | -8/+11 |
| | | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings. | ||||
* | core: Added EVM configuration options | Jeffrey Wilcke | 2016-03-24 | 1 | -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 EVM | Jeffrey Wilcke | 2016-03-23 | 1 | -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 changes | Gustav Simonsson | 2016-02-18 | 1 | -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.New | Gustav Simonsson | 2015-10-16 | 1 | -1/+1 |
| | |||||
* | core, core/vm, cmd/evm: remove redundant balance check | Gustav Simonsson | 2015-10-06 | 1 | -2/+2 |
| | |||||
* | cmd/evm, core/vm, test: refactored VM and core | Jeffrey Wilcke | 2015-10-04 | 1 | -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 type | Gustav Simonsson | 2015-08-25 | 1 | -3/+3 |
| | |||||
* | cmd/evm, core/vm, tests: changed DisableVm to EnableVm | Jeffrey Wilcke | 2015-08-12 | 1 | -1/+1 |
| | |||||
* | core, tests: reduced state copy by N calls | Jeffrey Wilcke | 2015-08-07 | 1 | -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 vm | Jeffrey Wilcke | 2015-08-07 | 1 | -6/+20 |
| | | | | * changed stack and removed stack ptr. Let go decide on slice reuse. | ||||
* | cmd/core,xeth: removed unneeded states & added batch writes | Jeffrey Wilcke | 2015-07-23 | 1 | -31/+81 |
| | |||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -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 comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: remove @author comments | Felix Lange | 2015-07-07 | 1 | -5/+0 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -16/+16 |
| | |||||
* | Use uint64 for block header timestamp | Gustav Simonsson | 2015-06-30 | 1 | -3/+3 |
| | |||||
* | cmd/evm: print trace when running programs | obscuren | 2015-06-11 | 1 | -0/+3 |
| | |||||
* | cmd/evm: implements vm.Environment | obscuren | 2015-06-10 | 1 | -0/+7 |
| | |||||
* | Fixed tests to reflect log changes | obscuren | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | fixed tests | obscuren | 2015-04-01 | 1 | -2/+2 |
| | |||||
* | fixed tests | obscuren | 2015-03-24 | 1 | -4/+4 |
| | |||||
* | moved state and vm to core | obscuren | 2015-03-23 | 1 | -2/+2 |
| | |||||
* | converted to proper types | obscuren | 2015-03-22 | 1 | -29/+29 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -6/+6 |
| | |||||
* | cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls | Felix Lange | 2015-03-10 | 1 | -2/+0 |
| | |||||
* | Secure trie | obscuren | 2015-03-01 | 1 | -1/+0 |
| | |||||
* | fixed test | obscuren | 2015-02-05 | 1 | -0/+1 |
| | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -2/+1 |
| | |||||
* | cmd/evm: add dummy implementation for GetHash | Felix Lange | 2015-01-06 | 1 | -0/+6 |
| | | | | | Fixes the build. AFAIK evm does not bother keeping a chain and cannot provide a real implementation. | ||||
* | Added license headers | obscuren | 2015-01-06 | 1 | -2/+0 |
| | |||||
* | Closure => Context | obscuren | 2015-01-02 | 1 | -3/+3 |
| | |||||
* | fixed trie | obscuren | 2014-12-30 | 1 | -2/+2 |
| | |||||
* | Fixed EVM environment. Closes #215v0.7.10 | obscuren | 2014-12-21 | 1 | -3/+1 |
| | |||||
* | Fixed tests | obscuren | 2014-12-10 | 1 | -1/+1 |
| | |||||
* | Log is now interface | obscuren | 2014-12-04 | 1 | -1/+1 |
| | |||||
* | sort tests for evm | obscuren | 2014-12-04 | 1 | -6/+7 |
| | |||||
* | Updated testing tools | obscuren | 2014-12-04 | 1 | -22/+68 |
| | |||||
* | Removed all implicit logging. Fixed gas issues and jump errors | obscuren | 2014-11-12 | 1 | -2/+3 |
| | |||||
* | Moved messages eventing to chain manager | obscuren | 2014-11-10 | 1 | -1/+1 |
| | |||||
* | Added dumps | obscuren | 2014-11-10 | 1 | -2/+9 |
| | |||||
* | Added VM testing tool | obscuren | 2014-11-10 | 1 | -0/+109 |