go-ethereum/core
Paweł Bylica de39513ced core, internal, eth, miner, les: Take VM config from BlockChain (#17955)
Until this commit, when sending an RPC request that called `NewEVM`, a blank `vm.Config`
would be taken so as to set some options, based on the default configuration. If some extra
configuration switches were passed to the blockchain, those would be ignored.

This PR adds a function to get the config from the blockchain, and this is what is now used
for RPC calls.

Some subsequent changes need to be made, see https://github.com/ethereum/go-ethereum/pull/17955#pullrequestreview-182237244
for the details of the discussion.
2018-12-06 14:34:49 +01:00
..
asm core/asm: Use hexadecimal addresses in assembly dumps (#17870) 2018-10-09 10:27:07 +03:00
bloombits core/bloombits, light: fix typos (#17235) 2018-07-24 11:24:27 +03:00
rawdb core, eth/downloader: fix ancestor lookup for fast sync 2018-11-16 13:21:20 +02:00
state cmd, core, eth, light, trie: add trie read caching layer 2018-11-15 12:22:13 +02:00
types fix mixHash/nonce for parity compatible network (#18166) 2018-11-26 09:59:04 +01:00
vm tests, core: update tests and make STATICCALL cause touch-delete (#18187) 2018-11-29 10:51:57 +02:00
.gitignore Renamed `chain` => `core` 2014-12-04 10:28:02 +01:00
bench_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
block_validator.go core, eth/downloader: fix validation flaw, fix downloader printout flaw (#17974) 2018-11-07 14:47:11 +02:00
block_validator_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
blockchain.go core, internal, eth, miner, les: Take VM config from BlockChain (#17955) 2018-12-06 14:34:49 +01:00
blockchain_insert.go core: polish side chain importer a bit 2018-11-21 13:19:56 +02:00
blockchain_test.go core: polish side chain importer a bit 2018-11-21 13:19:56 +02:00
blocks.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
chain_indexer.go core: use ChainHeadEvent subscription in the chain indexer (#17826) 2018-10-03 17:25:25 +03:00
chain_indexer_test.go light: CHT and bloom trie indexers working in light mode (#16534) 2018-08-15 22:25:46 +02:00
chain_makers.go eth/downloader: speed up tests by generating chain only once (#17916) 2018-11-07 15:07:43 +01:00
chain_makers_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
dao_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
error.go core: make txpool operate on immutable state 2017-09-05 13:34:41 +03:00
events.go miner: regenerate mining work every 3 seconds (#17413) 2018-08-16 14:14:33 +03:00
evm.go core: fix typo in comment code 2018-07-25 18:04:38 +07:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis.go all: regenerate codecs with gencodec commit 90983d99de (#15830) 2018-01-08 15:13:22 +02:00
gen_genesis_account.go all: regenerate codecs with gencodec commit 90983d99de (#15830) 2018-01-08 15:13:22 +02:00
genesis.go core, eth: fix goimports for Go 1.11 2018-09-19 11:47:09 +03:00
genesis_alloc.go all: use gometalinter.v2, fix new gosimple issues (#15650) 2017-12-12 19:05:47 +01:00
genesis_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
headerchain.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
helper_test.go all: get rid of error when creating memory database (#16716) 2018-05-09 15:24:25 +03:00
mkalloc.go core: refactor genesis handling 2017-03-23 15:58:43 +01:00
state_processor.go core: fix typo in comment (#17586) 2018-09-05 10:29:51 +02:00
state_transition.go core: fix comment typo (#17236) 2018-07-24 13:17:12 +03:00
tx_cacher.go core: fix comment typo (#17376) 2018-08-13 11:40:52 +03:00
tx_journal.go core: fix typos in comment (#17531) 2018-08-28 10:04:33 +03:00
tx_list.go core: fix some small typos on comment code (#17278) 2018-07-30 14:10:48 +03:00
tx_list_test.go all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00
tx_pool.go core: fix comment typo (#18144) 2018-11-21 12:52:02 +02:00
tx_pool_test.go core: use a wrapped map to remove contention in `TxPool.Get`. (#16670) 2018-05-23 15:55:42 +03:00
types.go all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00