pamoja for TypeScript - v0.1.17
    Preparing search index...

    Function verifyChain

    • Checks a whole chain that has already arrived.

      Parameters

      • publicKey: Uint8Array

        The 32-byte key the records were signed with.

      • entries: AuditEntry[]

        The records, in the order they were written.

      Returns void

      With the reason the chain does not hold: a record whose signature fails, or one that does not follow the record before it.