Heze -- Optimistic Sync¶
Note: This document is a work-in-progress for researchers and implementers.
Introduction¶
This document specifies the Heze modifications to optimistic sync for inclusion list satisfaction. It extends the Gloas optimistic sync specification.
Mechanisms¶
How to optimistically import payloads¶
New How to track inclusion list satisfaction¶
When optimistically importing an envelope:
- The
is_inclusion_list_satisfiedfunction MUST returnTrueif the execution engine returnsNOT_VALIDATED. AnINVALIDATEDresponse MUST returnFalse.
When a payload transitions from NOT_VALIDATED -> VALID, the response from
the execution engine also indicates whether the payload satisfies the inclusion
list constraints. The consensus engine MUST record the result for that payload.
The recorded inclusion list satisfaction of its ancestors remains unchanged.