aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/interface.go
Commit message (Collapse)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-091-2/+2
|
* core/state: simplify proof methods (#17965)Felix Lange2018-10-241-10/+0
| | | | This fixes the import cycle build error in core/vm tests. There is no need to refer to core/vm for a type definition.
* EIP-1186 eth_getProof (#17737)Simon Jentzsch2018-10-191-0/+10
| | | | | | | | | | | | | | | | * first impl of eth_getProof * fixed docu * added comments and refactored based on comments from holiman * created structs * handle errors correctly * change Value to *hexutil.Big in order to have the same output as parity * use ProofList as return type
* core, params: polish net gas metering PR a bitPéter Szilágyi2018-09-181-1/+1
|
* core,state: finish implementing Eip 1283Martin Holst Swende2018-09-181-0/+1
|
* core, state: initial implementation of Eip-1283Martin Holst Swende2018-09-181-0/+1
|
* core/vm: fix typo 'EVM EVM' ==> 'EVM' (#17654)Liang ZOU2018-09-131-1/+1
|
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-2/+2
|
* all: update license informationFelix Lange2017-04-141-1/+1
|
* core, core/state, core/vm: remove exported account getters (#3618)Jeffrey Wilcke2017-02-231-15/+2
| | | | Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods.
* cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-171-0/+1
|
* core/vm: move Log to core/typesFelix Lange2017-01-061-1/+2
| | | | | | | | This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
* core/vm: improved EVM run loop & instruction calling (#3378)Jeffrey Wilcke2017-01-051-13/+5
| | | | | | | | | | | | | | | The run loop, which previously contained custom opcode executes have been removed and has been simplified to a few checks. Each operation consists of 4 elements: execution function, gas cost function, stack validation function and memory size function. The execution function implements the operation's runtime behaviour, the gas cost function implements the operation gas costs function and greatly depends on the memory and stack, the stack validation function validates the stack and makes sure that enough items can be popped off and pushed on and the memory size function calculates the memory required for the operation and returns it. This commit also allows the EVM to go unmetered. This is helpful for offline operations such as contract calls.
* core, core/vm: implemented a generic environment (#3348)Jeffrey Wilcke2016-12-061-0/+97
Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client.