erigon-pulse/cmd
Andrew Ashikhmin 8466cb1b7b
New Engine API semantics (Kiln v1) (#3340)
* Disable PoS sync temporarily

* Resore PoS sync

* Handle Ctrl^C in HeadersPOS

* Consistent naming

* Extract verifyAndSavePoSHeader & downloadMissingPoSHeaders

* Preparation for EngineForkChoiceUpdated re-orgs

* Extract ForkingPoint

* Comments

* New proto for Engine API

* EngineExecutePayload -> EngineNewPayload

* Return INVALID_BLOCK_HASH if block hash is invalid

* Return EngineStatus_ACCEPTED for side chain blocks

* Update erigon-lib (PR 268)

* Fix payload2Hash

* reverseDownloadCh -> beaconPayloadCh

* Update erigon-lib

* Engine API updated

* ExecutionStatus -> PayloadStatus

* Introduce forkChoiceCh

* Mock ForkChoiceMessage/PayloadStatus

* Add ValidationError to PayloadStatus

* Small clean-ups

* Add INVALID_TERMINAL_BLOCK to EngineStatus

* Add a comment

* Extract handleNewPayload & handleForkChoice

* Partially implement handleForkChoice

* Update erigon-lib

* short vs long re-org

* Move header insertion out of downloadMissingPoSHeaders

* Update erigon-lib

* Refactor ProcessSegmentPOS

* Fix imports

* Wire downloadMissingPoSHeaders into handleForkChoice

* evictOldPendingPayloads

* nolint:unused for assertSegment

* Try nolint instead of nolint:unused

* Small comment improvements

* HeadHeaderHash/StageProgress in handleForkChoice

* TODO: bodyDownloader.AddToPrefetch(block)

* Review call suggestions

* Don't use ReadHeaderNumber in ProcessSegmentPOS

* Don't leave ethbackend waiting when server is stopping

* Update erigon-lib

* More explicit signature of downloadMissingPoSHeaders
2022-02-09 08:33:22 +01:00
..
abigen Snapshot: add hash first byte to headers.seg, serve p2p blocks from snapshots (#3198) 2022-01-05 17:14:37 +07:00
bootnode Apache licensed logger (#2460) 2021-07-29 17:23:23 +07:00
cons Move cli root context to erigon-lib (#3294) 2022-01-19 10:49:07 +07:00
devnettest fix/add_4th_parameter_to_parity_list (#3443) 2022-02-08 13:02:18 +00:00
downloader Embed downloader (#3450) 2022-02-09 13:22:43 +07:00
erigon Add Erigon Import feature for Hive integration purpose (#3298) 2022-01-20 07:34:50 +00:00
erigoncustom Add Erigon Import feature for Hive integration purpose (#3298) 2022-01-20 07:34:50 +00:00
evm Full BSC support with validator mode (#3233) 2022-01-14 19:06:35 +00:00
hack [erigon2] Computing data dependencies between transactions (#3290) 2022-01-24 23:12:25 +00:00
integration New Engine API semantics (Kiln v1) (#3340) 2022-02-09 08:33:22 +01:00
p2psim rename (#1978) 2021-05-20 19:25:53 +01:00
pics move kv to erigon-lib (#2467) 2021-07-29 18:53:13 +07:00
prometheus Snapshots: fill kv.HeaderNumber table (#3328) 2022-01-24 13:47:05 +07:00
rlpdump rename (#1978) 2021-05-20 19:25:53 +01:00
rpcdaemon New Engine API semantics (Kiln v1) (#3340) 2022-02-09 08:33:22 +01:00
rpctest fix/add_4th_parameter_to_parity_list (#3443) 2022-02-08 13:02:18 +00:00
sentry Merging Turbo bor into devel (#3372) 2022-02-07 21:30:46 +00:00
starknet Fetch nonce from DB (#3316) 2022-01-27 11:09:41 +07:00
state [erigon2] Optimisations (#3412) 2022-02-03 09:36:27 +00:00
txpool Better downloader and txpool docs, support --txpool.trace.senders in external pool (#3346) 2022-01-26 16:11:22 +07:00
utils Embed downloader (#3450) 2022-02-09 13:22:43 +07:00