erigon-pulse/cmd/geth
Evgeny Danilenko 17a4a56634
Refactor mining. Remove a few mining goroutines (#338)
* add context

* extract chain events

* run commit in goroutines

* mine only on canonical

* typo

* linters

* fmt

* mark unused methods

* restore stress test

* test single miner

* remove unsafe Trie storage

* remove locks from miner

* restore interrupt

* remove result goroutine

* remove unconfirmedBlocks

* cherry-pick 04a1d475ff1a36ad8f92fec80385df18c52bdc1f

* extract uncles

* one miner succeeded

* restore context cancel

* cleanup

* skip an unstable test

* remove pending state

* use context instead of interrupt func

* calculate sealHash only once

* comment out unstable test

* after merge

* fix after merge

Co-authored-by: ledgerwatch <akhounov@gmail.com>
2020-02-03 15:02:26 +03:00
..
testdata cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
accountcmd_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
accountcmd.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
chaincmd.go Add storage mode flags as letters. (#229) 2019-12-06 12:19:00 +01:00
config.go consensus/ethash, params: eip-2384: bump difficulty bomb (#20347) 2019-12-09 12:56:07 +01:00
consolecmd_test.go cmd/geth: fix forked exe leak in console tests (#20480) 2020-01-30 13:36:30 +02:00
consolecmd.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
dao_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
genesis_test.go cmd/geth: remove the tail "," from genesis config (#17028) 2018-06-21 10:44:39 +03:00
main.go cmd/geth: update copyright year (#20512) 2020-01-30 13:36:30 +02:00
misccmd.go cmd/geth: remove network id from version cmd 2019-12-03 14:00:47 +01:00
retesteth_copypaste.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
retesteth.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
run_test.go linting 2019-11-05 22:51:11 +01:00
usage.go Add storage mode flags as letters. (#229) 2019-12-06 12:19:00 +01:00