Skip to main content

Module receipt_chain

Module receipt_chain 

Source
Expand description

Evidence chain for context delivery lifecycles.

Structs§

ChainEntry
A single entry in the receipt chain — one context delivery lifecycle.
ChainSummary
Aggregate statistics for the receipt chain.

Functions§

accepted_entries
Returns an owned snapshot containing only accepted entries.
chain_entries
Returns an owned snapshot of the full chain.
chain_length
Returns the number of entries in the chain.
chain_summary
Returns aggregate statistics for all recorded entries.
kernel_hit_rate
Returns the fraction of entries supplemented by the kernel.
record_chain_entry
Records a context delivery lifecycle and returns its monotonic chain ID.
rejected_entries
Returns an owned snapshot containing only rejected entries.
reset_chain
Clears all entries and resets the monotonic counter for testing.