Add section about re-orgs

This commit is contained in:
Paul Hauner 2021-12-14 16:42:35 +11:00
parent eb32e141d2
commit 084255465d
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF
1 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,16 @@ unknown). Specifically, `SYNCING` responses should be fork-specific; the search
for a block on one chain MUST NOT trigger a `SYNCING` response for another for a block on one chain MUST NOT trigger a `SYNCING` response for another
chain. chain.
### Re-Orgs
The consensus engine MUST support any chain reorganisation which does *not*
affect the justified checkpoint. The consensus engine MAY support re-orgs
beyond the justified checkpoint.
If the justified checkpoint transitions from `SYNCING` -> `INVALID`, a
consensus engine MAY choose to alert the user and force the application to
exit.
## Merge Transition ## Merge Transition
To protect against attacks during the transition from empty `ExecutionPayload` To protect against attacks during the transition from empty `ExecutionPayload`