docs(spec): define fork-aware header chain engine#297
Draft
evan-forbes wants to merge 2 commits into
Draft
Conversation
|
Warning No auditable source files found in this PR's diff. |
…ation - LC-ANCHOR-04: the release-authenticated settled-upgrade pin now applies in headers-only mode too, not just integrated/full-validator deployments - New LC-V8-17: StatusV8 is the announcement mechanism — send on negotiation, on committed tip/anchor/cap changes (2s freshness, 1/s coalescing floor), and on the existing 30s status_refresh_interval; adds suite P8-07 - LC-FINAL-04: headers-only finality pins never convert into integrated finality; body-refuted migrated pins fail closed with destroy-and-resync as the documented recovery - LC-RETAIN-01: candidate-tip cap is now the shared MAX_NON_FINALIZED_CHAIN_FORKS constant (currently 10) instead of 64 - LC-VAL-07: Mainnet MTP+90min bound aligned with is_max_block_time_enforced - LC-VAL-05 now precedes LC-VAL-04, matching zakura-consensus check order - LC-V8-03: continuation-locator carve-out; LC-V8-12: cross-anchor work commensurability rule; LC-DAG-03: numeric staging bounds - Section 8.1: drop out-of-repo evidence paths, fix Header::commitment path
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
PR #229 exposed that the current single-chain header overlay cannot safely reconcile promoted forks across header sync, full-state resets, finalization, restart, and asynchronous completion boundaries.
This draft makes the replacement contract reviewable before implementation. It also captures the consensus boundary of a headers-only client: observable header validity is not proof of transaction or state validity.
Solution
Add a normative, fork-aware header-chain engine specification that defines:
finalized,header_best, andverified_bestfrontiers;This document is the redesign oracle for PR #229; it intentionally does not preserve the current patch structure.
Testing
Documentation-only change.
git diff --checkTBD,TODO, orFIXMEmarkers.Specifications & References
Follow-up Work
Implement the engine in reviewable phases after the normative contract is accepted.