Tyapkin
Протокол

Commitments

Deterministic trace commitments in CAP.

Commitments

The fundamental persisted runtime object is TraceCommitment.

Commitment kinds:

CapabilityCommitted
InputCommitted
GuardEvaluated
TransitionCommitted
OutputCommitted

Hash input:

schema_version
commitment_id
commitment_type
trace_id
machine_id
sequence
principal_id
state_before
state_after
input_type
guard_id
output_type
payload_hash
payload_ref
previous_commitment_hash

Payload bodies are not stored in the trace. CAP stores hashes, refs, ordering metadata and proof metadata.

The local SQLite table is trace_commitments.

On this page