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

    Class AuditLog

    A log that signs what it is given and chains it onto what came before.

    Index
    • Appends a payload, signing it and chaining it onto the last record.

      Parameters

      • payload: Uint8Array

        The record to store.

      Returns audit.AuditEntry

      The new entry.

    • Creates a log that carries on from the last record an earlier one wrote.

      This is what a device does after a restart: the chain continues at the next index and hashes onto the record it left off at, so a reboot leaves no gap for a record to be removed through.

      Parameters

      Returns audit.AuditLog