Append an entry to the audit trail.
— entry type
— arbitrary JSON-serializable data
the appended entry
Get a snapshot of all entries (read-only)
Export the full audit trail as JSON (for persistence)
Verify the integrity of the entire audit trail.
Checks:
verification result with tampered indices
StaticcreateCreate a new audit trail. Async because it initializes the genesis hash.
StaticfromRestore audit trail from JSON snapshot. Verifies integrity on restore.
Tamper-evident audit trail.
Example: