Skip to content

@lelantos-org/sdk / sync / ScanStats

Interface: ScanStats โ€‹

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:22

Per-scan tallies. They are what distinguishes a systematic decode failure from an empty result; the log line alone cannot.

Properties โ€‹

cmMismatch โ€‹

ts
cmMismatch: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:36

Decrypted cleanly but the payload does not reproduce the feed's cm. Should be 0: a non-zero count means the feed is serving commitments that do not match their ciphertexts, or a sender built an output we cannot spend. See the check in scanNotes.


decodeFailed โ€‹

ts
decodeFailed: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:27

Tag verified but the plaintext was not a NotePayload. Should be 0.


hits โ€‹

ts
hits: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:37


notOurs โ€‹

ts
notOurs: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:25

ECDH/ChaCha tag mismatch โ€” expected for notes that are not ours.


scanned โ€‹

ts
scanned: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:23


zeroValue โ€‹

ts
zeroValue: number;

Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:29

Self-pad outputs: decrypt cleanly, value 0, unspendable.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub