-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
14 changed files
with
592 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.