erigon-pulse/ethdb/privateapi
Andrew Ashikhmin 37ccbc53d6
Refactor payload building (#3592)
* Bump MaxPendingPayloads

* UnknownPayload error

* Improve ExchangeTransitionConfigurationV1 comment

* Extract MakeEmptyHeader

* Move MakeEmptyHeader to chain_makers

* Start with empty block as pending payload

* Only build payloads with the right parent hash

* Double check parent hash in SpawnMiningCreateBlockStage

* Simpler error formatting

* ReadHeadBlockHash instead of ReadHeadHeaderHash

* Avoid rebuilding already built blocks

* getPayload should stop the build process

* Tweaking stageLoopIsBusy

* Don't update pending payload after engine_getPayload
2022-02-23 21:27:38 +01:00
..
all.go Added mining for POS (#3187) 2022-01-04 18:37:36 +01:00
engine_test.go New Engine API semantics (Kiln v1) (#3340) 2022-02-09 08:33:22 +01:00
ethbackend.go Refactor payload building (#3592) 2022-02-23 21:27:38 +01:00
events.go state and newHead: 1 goroutine per subscriber (#3452) 2022-02-10 08:25:58 +07:00
mining.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00
txpool.go Starknet grpc (#3312) 2022-01-20 15:34:00 +00:00