erigon-pulse/eth
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
..
calltracer change: port js tracer changes (#3128) 2021-12-15 13:19:58 +00:00
ethconfig Rename Datadir/dataDir to follow conventions. (#3576) 2022-02-22 17:39:48 +00:00
ethutils Apache licensed logger (#2460) 2021-07-29 17:23:23 +07:00
filters Inner errors (#2774) 2021-10-04 22:16:52 +07:00
gasprice Move ETL to erigon-lib (#2667) 2021-09-12 08:50:17 +01:00
integrity move kv to erigon-lib (#2467) 2021-07-29 18:53:13 +07:00
protocols/eth state and newHead: 1 goroutine per subscriber (#3452) 2022-02-10 08:25:58 +07:00
stagedsync Refactor payload building (#3592) 2022-02-23 21:27:38 +01:00
tracers change: port js tracer changes (#3128) 2021-12-15 13:19:58 +00:00
api_backend.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
api_test.go up version of uint256 lib (#2082) 2021-06-04 17:25:28 +01:00
api.go Embed rpcdaemon: prepared direct clients (#3492) 2022-02-12 19:47:19 +07:00
backend.go Refactor payload building (#3592) 2022-02-23 21:27:38 +01:00
bloombits.go remove database field from Ethereum object (#1750) 2021-04-19 14:56:44 +07:00
discovery.go rename (#1978) 2021-05-20 19:25:53 +01:00
state_accessor.go remove database field from Ethereum object (#1750) 2021-04-19 14:56:44 +07:00