op-geth/les
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
..
flowcontrol remove a no-op line in the code (#17760) 2018-11-29 10:56:59 +01:00
api_backend.go core, internal, eth, miner, les: Take VM config from BlockChain (#17955) 2018-12-06 14:34:49 +01:00
backend.go consensus, miner: stale block mining support (#17506) 2018-08-28 16:59:05 +03:00
bloombits.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
commons.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
distributor.go les: fix distReq.sentChn double close bug (#17639) 2018-09-14 22:14:29 +02:00
distributor_test.go les, light: reduce les testing stress (#17867) 2018-10-08 16:52:23 +03:00
execqueue.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
fetcher.go les: fix fetcher syncing logic (#18072) 2018-11-26 13:34:33 +02:00
freeclient.go les: implement client connection logic (#16899) 2018-08-14 22:44:46 +02:00
freeclient_test.go les: implement client connection logic (#16899) 2018-08-14 22:44:46 +02:00
handler.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
handler_test.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
helper_test.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
metrics.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
odr.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
odr_requests.go les: limit state ODR retrievals to the last 100 blocks (#17744) 2018-10-01 15:14:53 +02:00
odr_test.go les: limit state ODR retrievals to the last 100 blocks (#17744) 2018-10-01 15:14:53 +02:00
peer.go les: limit state ODR retrievals to the last 100 blocks (#17744) 2018-10-01 15:14:53 +02:00
protocol.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
randselect.go les: changed if-else blocks to conform with golint (#16658) 2018-05-03 11:35:06 +03:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
request_test.go les: limit state ODR retrievals to the last 100 blocks (#17744) 2018-10-01 15:14:53 +02:00
retrieve.go les: fix invalid delivery handling in retriever (#17727) 2018-09-21 10:59:21 +03:00
server.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
serverpool.go les: fix pubkey index typo (#18093) 2018-11-15 11:10:45 +02:00
sync.go core/rawdb: separate raw database access to own package (#16666) 2018-05-07 14:35:06 +03:00
txrelay.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00