@me2em/pact
    Preparing search index...

    Function verifyJournal

    • Full-journal verification — SYNC, Tier 1+2 (Р9): signatures plus the deterministic roster/constitution replay. Tier 3 is never performed here; use verifyAct for dated revocation checks; warnings is always [] (Р9 — Tier 3 is async-only).

      Parameters

      • events: Event[]

        Journal events in order (must start with GENESIS).

      • Optionalclock: Clock

        Verification reference time; every event's iat must lie within ±30 s (inclusive). Historical replays pin the clock to the journal's era. Defaults to the system clock.

      • Optionalopts: VerifyOptions

        { skewCheck: 'all' | 'none' } — 'none' skips the skew comparison for structural replays outside the reference era (assembly finalize, archive replay); everything else verifies in full.

      Returns VerifyResult

      The VerifyResult: ok + error on failure; roster, rosterDigest, pactRoot, journalHead, seq and an always-empty warnings on success.

      const result = verifyJournal(events);
      if (!result.ok) throw result.error;