Specify no invalid parents

This commit is contained in:
Paul Hauner 2021-12-20 17:55:10 +11:00
parent 7837dc74bf
commit 451ae293ce
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ To optimistically import a block:
- The `execute_payload` function MUST return `True` if the execution
engine returns `SYNCING` or `VALID`. An `INVALID` response MUST return `False`.
- The `validate_merge_block` function MUST NOT raise an assertion if both the
`pow_block` and `pow_parent` are unknown to the execution engine.
- The parent of the block MUST NOT have an INVALID execution payload.
In addition to this change to validation, the consensus engine MUST be able to
ascertain, after import, which blocks returned `SYNCING` and which returned