@lelantos-org/sdk / advanced / NotesFile
Interface: NotesFile
Defined in: @lelantos-org/sdk/dist/protocol/note-record.d.ts:33
The persisted notes file a NoteStore loads and saves.
Properties
cursor?
ts
optional cursor?: number;Defined in: @lelantos-org/sdk/dist/protocol/note-record.d.ts:43
Resume point for syncWallet: the highest source row id whose notes are accounted for. Absent means start from the beginning, which is safe because scanning is idempotent.
A NoteStore implementation must round-trip this; dropping it makes every sync re-scan from zero.
notes
ts
notes: StoredNote[];Defined in: @lelantos-org/sdk/dist/protocol/note-record.d.ts:35
version
ts
version: 3;Defined in: @lelantos-org/sdk/dist/protocol/note-record.d.ts:34