Skip to main content

Crate tracelogica_protocol

Crate tracelogica_protocol 

Source
Expand description

TraceLogica checkpoint protocol types and offline verification primitives.

Structs§

CheckpointV1
CommitmentV1
ProtocolError
PublicKeyV1
ReceiptSigner
SignedReceiptV1
UnsignedReceiptV1

Constants§

CHECKPOINT_DOMAIN_V1
CHECKPOINT_VERSION_V1
MESHAI_STREAMS_V1
RECEIPT_DOMAIN_V1
RECEIPT_VERSION_V1
SIGNATURE_PROFILE_ED25519_V1

Functions§

canonical_checkpoint_bytes
Encodes a checkpoint using the fixed v1 binary contract.
canonical_receipt_bytes
Encodes the signed core of a receipt using the fixed v1 binary contract.
checkpoint_hash
Computes the SHA-256 digest of the fixed v1 checkpoint encoding.
receipt_hash
Computes the SHA-256 digest of the fixed v1 receipt encoding.
verify_signed_receipt
Verifies a signed receipt using only its published v1 key document.