FlowGuard API - v1.2.0-rc.2
    Preparing search index...

    Interface ChainVerification

    Result of full chain verification.

    interface ChainVerification {
        valid: boolean;
        totalEvents: number;
        verifiedCount: number;
        skippedCount: number;
        firstBreak: EventVerification | null;
        results: readonly EventVerification[];
        reason: ChainVerificationReason | null;
    }
    Index

    Properties

    valid: boolean

    Whether the entire chain is valid.

    totalEvents: number

    Total events in the trail.

    verifiedCount: number

    Events verified (with hash fields).

    skippedCount: number

    Events skipped (without hash fields — legacy/pre-chain).

    firstBreak: EventVerification | null

    First broken event (null if no hash chain break).

    results: readonly EventVerification[]

    All verification results (one per chained event).

    reason: ChainVerificationReason | null

    Top-level failure classification. Null when chain is valid.

    • CHAIN_BREAK: hash mismatch detected (firstBreak has details).
    • LEGACY_EVENTS_NOT_ALLOWED_IN_STRICT_MODE: strict mode rejects unchained legacy events (skippedCount > 0).

    Priority: CHAIN_BREAK > LEGACY_EVENTS_NOT_ALLOWED_IN_STRICT_MODE.