bsc/miner
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
..
miner.go eth, miner: prefer locally generated uncles vs remote ones (#17715) 2018-09-21 00:11:55 +03:00
stress_clique.go miner: fix miner stress test (#18039) 2018-11-07 10:55:56 +02:00
stress_ethash.go miner: fix miner stress test (#18039) 2018-11-07 10:55:56 +02:00
unconfirmed_test.go miner: differentiate between uncle and lost block 2018-08-23 15:44:27 +03:00
unconfirmed.go all: fix various comment typos (#17748) 2018-09-25 12:26:35 +02:00
worker_test.go miner: remove intermediate conversion to int in tests (#17853) 2018-10-08 16:30:00 +02:00
worker.go core, internal, eth, miner, les: Take VM config from BlockChain (#17955) 2018-12-06 14:34:49 +01:00