aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/environment.go
Commit message (Collapse)AuthorAgeFilesLines
* core, core/vm, crypto: fixes for homesteadJeffrey Wilcke2016-02-181-1/+0
| | | | | | * Removed some strange code that didn't apply state reverting properly * Refactored code setting from vm & state transition to the executioner * Updated tests
* parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-181-0/+4
| | | | | | | | * 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/vm: resolve circular dependency to debug vm storagePéter Szilágyi2016-01-121-0/+1
|
* core, tests: get_hash fixJeffrey Wilcke2015-10-211-1/+1
| | | | | Make sure that we're fetching the hash from the current chain and not the canonical chain.
* core, core/vm, cmd/evm: remove redundant balance checkGustav Simonsson2015-10-061-1/+1
|
* cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-2/+2
| | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-041-22/+61
| | | | | | | | | | | | | | | | | * 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-1/+1
|
* core, tests: reduced state copy by N callsJeffrey Wilcke2015-08-071-0/+1
| | | | | Reduced the amount of state copied that are required by N calls by doing a balance check prior to any state modifications.
* 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
|
* Use uint64 for block header timestampGustav Simonsson2015-06-301-1/+1
|
* core/vm: Improved error reporting for trace loggingobscuren2015-06-121-0/+1
|
* core, core/vm: moved logger and added gas cost to struct loggingobscuren2015-06-111-0/+1
|
* core/vm: documentation and name changesobscuren2015-06-101-0/+4
|
* core/vm, core/state: added storage to structured vm loggingobscuren2015-06-101-5/+6
|
* core, core/vm: added structure loggingobscuren2015-06-101-0/+10
| | | | This also reduces the time required spend in the VM
* core/vm: cleanup and renamesobscuren2015-06-041-40/+0
|
* Changed how logs are being recordedobscuren2015-04-081-1/+1
| | | | | | | Logs are now recorded per transactions instead of tossing them out after each transaction. This should also fix an issue with `eth_getFilterLogs` (#629) Also now implemented are the `transactionHash, blockHash, transactionIndex, logIndex` on logs. Closes #654.
* Cleaned up changesobscuren2015-03-241-2/+1
|
* Modified according to poc 9 changesobscuren2015-03-241-1/+1
| | | | * Refund of value
* moved state and vm to coreobscuren2015-03-231-0/+92