RelayMark.Contract (relay_mark_elixir v0.7.7)

Copy Markdown View Source

The single canonical editor and sync compatibility contract.

Summary

Functions

Admits a stored or received document descriptor only when it is exactly this engine's contract (version, schema, source contract and physical schema hash). Any other descriptor, such as one from an older contract, is refused so the host recovers through its existing path instead of reading it.

Functions

admit(descriptor)

Admits a stored or received document descriptor only when it is exactly this engine's contract (version, schema, source contract and physical schema hash). Any other descriptor, such as one from an older contract, is refused so the host recovers through its existing path instead of reading it.

descriptor()

schema()

source_contract()

version()