Clarify API head condition

This commit is contained in:
Paul Hauner 2021-12-20 17:27:02 +11:00
parent 91cad9b19b
commit aa9a2967aa
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF

View File

@ -278,6 +278,7 @@ When information about an optimistic block is requested, the consensus engine:
When `is_optimistic(head) == True`, the consensus engine:
- MUST NOT return `head`.
- MAY substitute the head block with `latest_valid_ancestor(block)`.
- MAY return syncing.