Expand description
Pure admission and sync-cadence arithmetic for the audit spool.
Structs§
- Audit
Losses - Fail-open audit losses: the pending count
PendingLossesholds, or the batch a durable records-lost marker reports.generationis theloss_generationa marker for these losses names. - Spool
Append Decision - State transition for one attempted audit-spool append.
Enums§
- Audit
Checkpoint Admission - Admission result for a signed audit checkpoint at the current chain head.
- Audit
Loss Marker Admission - Admission result for a records-lost marker.
Functions§
- audit_
checkpoint_ admission - Bind a verified checkpoint to the exact nonempty chain position and head.
- audit_
loss_ marker_ admission - Admit exactly a marker whose body is the two-field
{records_lost, loss_generation}shape with a positive count and a generation strictly newer than the last accepted one. - settle_
loss_ batch - Settle the pending losses
stateagainst a durable marker that reportsbatch, at the writer’s commit and at open-time reconciliation alike. - spool_
append_ decision - Admit one frame and advance the successful-append sync cadence.