plugeth/core
Jeffrey Wilcke bbc4ea4ae8 core/vm: improved EVM run loop & instruction calling (#3378)
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.
2017-01-05 11:52:10 +01:00
..
state core, core/vm: implemented a generic environment (#3348) 2016-12-06 02:16:03 +01:00
types accounts, core, crypto, internal: use normalised V during signature handling (#3455) 2017-01-05 11:35:23 +01:00
vm core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
asm.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
bench_test.go core/types, params: EIP#155 2016-11-13 14:55:30 +01:00
block_validator_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
block_validator.go core: improved bad block error reporting (#3320) 2016-11-23 13:32:25 +01:00
blockchain_test.go core: eip unit tests (#3309) 2016-11-28 01:33:28 +01:00
blockchain.go core: import future blocks one-by-one, enfore chain ancestry 2016-12-13 16:19:45 +02:00
blocks.go core, core/state: fixed consensus issue added touch revert 2016-11-24 22:12:54 +01:00
chain_makers_test.go core/types, params: EIP#155 2016-11-13 14:55:30 +01:00
chain_makers.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
chain_pow_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
chain_pow.go core: separate and contain POW verifier, extensive tests 2015-09-21 10:24:49 +03:00
dao_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
dao.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
database_util_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
database_util.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
default_genesis.go core: implemented new ropsten testnet 2016-11-23 09:34:01 +01:00
error.go Merge pull request #1889 from karalabe/fast-sync-rebase 2015-10-21 11:44:22 -07:00
events.go core, core/vm, eth/filters: move Removed field into vm.Log 2016-12-05 10:57:11 +01:00
evm.go core, core/vm: implemented a generic environment (#3348) 2016-12-06 02:16:03 +01:00
fees.go Merge pull request #1515 from fjl/license-fixes 2015-07-28 04:29:42 -07:00
filter_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
gaspool.go all: update license information 2016-04-15 09:48:05 +02:00
genesis.go core: implemented new ropsten testnet 2016-11-23 09:34:01 +01:00
headerchain.go core: import future blocks one-by-one, enfore chain ancestry 2016-12-13 16:19:45 +02:00
helper_test.go cmd/geth, cmd/utils, core, rpc: renamed to blockchain 2015-10-04 01:13:56 +02:00
state_processor.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
state_transition.go core/vm: improved EVM run loop & instruction calling (#3378) 2017-01-05 11:52:10 +01:00
tx_list_test.go core: abstract out a sorted transaction hash map 2016-09-02 14:15:40 +03:00
tx_list.go core: abstract out a sorted transaction hash map 2016-09-02 14:15:40 +03:00
tx_pool_test.go core, light: allow zero cost txs from inexistent accounts too 2016-12-16 13:30:39 +02:00
tx_pool.go core, light: allow zero cost txs from inexistent accounts too 2016-12-16 13:30:39 +02:00
types.go core, miner: move Backend to miner 2016-08-17 17:39:04 +02:00