Skip to content

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_satisfied function MUST return True if the execution engine returns NOT_VALIDATED. An INVALIDATED response MUST return False.

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.