erigon-pulse/eth
Mark Holt d8b91c4d02
Fix startup sync for txpool processing for bor block production (#9219)
When the sync loop first runs it suppresses block sync events both in
the initial loop and when the blocks being processed are greater than
1000.

This fix removed the first check, because otherwise the first block
received by the process ends up not getting sent to the tx pool. Which
means it won't produce new block for polygon.

As well as this fix - I have also moved the gas initialization to the
txpool start method rather than prompting it with a 'synthetic block
event'

As the txpool start has access to the core & tx DB's it can find the
current block and chain config internally so that it doesn't need to be
externally activated it can just do this itself on start up. This has
the advantage of making the txpool more self contained.
2024-01-13 10:33:34 +00:00
..
calltracer evm: no interface (#8376) 2023-10-05 12:23:08 +07:00
ethconfig bor: BorConfig setup fix (#9145) 2024-01-05 20:03:19 +07:00
ethconsensusconfig bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
ethutils reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
filters Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
gasprice EthereumExecutionService in MockSentry (#8373) 2023-10-05 18:30:19 +02:00
integrity erigon snapshots integrity: add check for body.BaseTxnID (#9121) 2024-01-04 14:19:37 +07:00
protocols/eth Simplify RLP size calculations (#8506) 2023-10-18 09:28:11 +02:00
stagedsync Fix startup sync for txpool processing for bor block production (#9219) 2024-01-13 10:33:34 +00:00
tracers Adds access list sorting (#8933) 2023-12-09 17:25:20 +07:00
api_backend.go reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
api.go Embed rpcdaemon: prepared direct clients (#3492) 2022-02-12 19:47:19 +07:00
backend.go Fix startup sync for txpool processing for bor block production (#9219) 2024-01-13 10:33:34 +00: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