DustCheckpoint

class DustCheckpoint(val state: DustLocalState, val lastEventId: Long)

A dust checkpoint = the serialized DustLocalState plus the resume cursor (lastEventId) it was built up to. The two MUST describe the same chain point: the commitment-tree frontier carried inside the state has to equal the commitment index the event after lastEventId will try to insert at, or delta replay fails with NonLinearInsertion. state is owned by the caller and must be closed.

Constructors

Link copied to clipboard
constructor(state: DustLocalState, lastEventId: Long)

Properties

Link copied to clipboard
Link copied to clipboard