erigon-pulse/cmd
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
..
abigen cmd/abigen: Sanitize vyper's combined json names (#20419) 2020-01-30 13:36:30 +02:00
bootnode Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
checkpoint-admin cmd: fix command help messages in modules (#20203) 2019-12-09 10:45:55 +01:00
clef cmd: fix command help messages in modules (#20203) 2019-12-09 10:45:55 +01:00
devp2p post-rebase fixups v1.9.10 2020-01-30 13:36:30 +02:00
ethkey cmd: fix command help messages in modules (#20203) 2019-12-09 10:45:55 +01:00
evm cmd/evm: Add --bench flag for benchmarking (#20330) 2020-01-30 13:36:30 +02:00
geth Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
hack Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
migrate Collect data about Keccak256 invocations for evaluation of STARK proof sizes and performance (#315) 2020-01-15 17:33:36 +00:00
p2psim Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
pics Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
puppeth cmd/puppeth: change dashboard title to not use "testnet" (#20513) 2020-01-30 13:36:30 +02:00
rlpdump Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
rpcdaemon Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
rpctest Thin history for storage (#324) 2020-01-15 17:55:43 +03:00
state Restore the functionality CalcTrieRoots (compute trie root without modifying the trie) (#327) 2020-01-30 13:16:12 +00:00
tester Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
utils Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00