plugeth/eth
Felix Lange 0bcff8f525
eth/downloader: speed up tests by generating chain only once (#17916)
* core: speed up GenerateChain

Use a mock implementation of ChainReader instead of creating
and destroying a BlockChain object for each generated block.

* eth/downloader: speed up tests by generating chain only once

This change reworks the downloader tests so they share a common test
blockchain instead of generating a chain in every test. The tests are
roughly twice as fast now.
2018-11-07 15:07:43 +01:00
..
downloader eth/downloader: speed up tests by generating chain only once (#17916) 2018-11-07 15:07:43 +01:00
fetcher core, eth, trie: use common/prque (#17508) 2018-09-03 17:33:21 +02:00
filters eth/filters: fix the block range assignment for log filter (#17284) 2018-07-31 12:10:38 +03:00
gasprice cmd, core, eth, miner, params: configurable gas floor and ceil 2018-08-29 12:40:12 +03:00
tracers core/vm: adds refund as part of the json standard trace (#17910) 2018-10-23 16:28:18 +02:00
api_backend.go core, internal/ethapi: add and use LRU cache for receipts (#17610) 2018-09-29 22:53:31 +02:00
api_test.go all: get rid of error when creating memory database (#16716) 2018-05-09 15:24:25 +03:00
api_tracer.go core/vm: faster create/create2 (#17806) 2018-10-04 18:15:37 +03:00
api.go internal/ethapi: add eth_chainId method (#17617) 2018-09-29 22:07:02 +02:00
backend.go eth, miner: prefer locally generated uncles vs remote ones (#17715) 2018-09-21 00:11:55 +03:00
bloombits.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
config.go core/vm: add switches to select evm+ewasm interpreters (#17687) 2018-09-20 10:44:35 +03:00
gen_config.go cmd, core, eth, miner, params: configurable gas floor and ceil 2018-08-29 12:40:12 +03:00
handler_test.go eth: broadcast blocks to at least 4 peers (#17725) 2018-09-29 22:17:06 +02:00
handler.go eth: broadcast blocks to at least 4 peers (#17725) 2018-09-29 22:17:06 +02: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
peer.go all: switch out defunct set library to different one (#16873) 2018-07-16 10:54:19 +03:00
protocol_test.go core, eth: minor txpool event cleanups 2018-05-18 12:08:24 +03:00
protocol.go eth: fixed the minor typo inside the comments (#17830) 2018-10-04 12:35:24 +03:00
sync_test.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
sync.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00