AuditChainState

data class AuditChainState(val id: Int = 1, val lastHash: String, val lastTs: Long, val chainGeneration: Int, val eventCount: Long)

Tracks the current state of the audit chain.

This is stored separately to enable atomic updates and quick access to the last hash for chaining.

Constructors

Link copied to clipboard
constructor(id: Int = 1, lastHash: String, lastTs: Long, chainGeneration: Int, eventCount: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard