Skip to content

VerifyView

type VerifyView =
| {
head: Head | null;
ok: true;
}
| {
ok: false;
reason: Reason | "roster";
seq: number;
};

The result of ctx.audit.verify. When the list is sound, ok is true and head is its last entry, or null when the list is empty. When the list is not sound, ok is false, seq is the number of the entry where it breaks, and reason says why.