erigon-pulse/tests
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
..
contracts Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
fuzzers post-rebase fixups v1.9.10 2020-01-30 13:36:30 +02:00
solidity tests/solidity: add contract to test every opcode (#19283) 2019-09-26 10:30:33 +02:00
testdata@b5eb9900ee tests: update test suite for istanbul (#20082) 2019-10-02 11:33:51 +03:00
.gitignore Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
block_test_util.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
block_test.go fix thin_history tests (#313) 2020-01-15 17:04:16 +03:00
difficulty_test_util.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
difficulty_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_btheader.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_difficultytest.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_stenv.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_sttransaction.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_vmexec.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
init_test.go tests, signer: remove staticcheck warnings (#20364) 2019-12-03 13:55:17 +01:00
init.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
pruner_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
rlp_test_util.go green tests 2019-11-13 13:52:03 +03:00
rlp_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
state_test_util.go green tests 2019-11-13 13:52:03 +03:00
state_test.go apply post-rebase fixups 2019-12-03 16:27:57 +01:00
statedb_chain_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
statedb_insert_chain_transaction_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
transaction_test_util.go tests, signer: remove staticcheck warnings (#20364) 2019-12-03 13:55:17 +01:00
transaction_test.go green tests 2019-11-13 13:52:03 +03:00
vm_test_util.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
vm_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00