ConsensualState

interface ConsensualState

A consensual state (or just "state") contains opaque data used by a consensual ledger. It can be thought of as a disk file that the program can use to persist data across transactions. ConsensualState are immutable: once created they are never updated, instead, any changes must generate a new successor state. Consensual states cannot be consumed.

Functions

Link copied to clipboard
abstract fun verify(ledgerTransaction: ConsensualLedgerTransaction)

An override of this function needs to be provided to:

Properties

Link copied to clipboard
abstract val participants: List<Party>