function · Browser and Node
checkRootLog
Checks a group's root log, oldest first: each document signed by expectedIssuer, one group,
seq 0, 1, 2, …, each prev the hash of the one before, and epochs strictly rising.
Two signed roots for one seq or one epoch are returned as evidence of equivocation.
@toip-tools/anon-membershipView sourceimport { checkRootLog } from "@toip-tools/anon-membership";
Declaration
checkRootLog(log: GroupRoot[], expectedIssuer: string, clock: Clock): Promise<RootLogCheck>;
Parameters
Returns
Promise<RootLogCheck>