Clarify API head condition

This commit is contained in:
Paul Hauner
2021-12-20 17:27:02 +11:00
parent 91cad9b19b
commit aa9a2967aa

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.