@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 โ
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 โ
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 โ
hits: number;Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:37
notOurs โ
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 โ
scanned: number;Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:23
zeroValue โ
zeroValue: number;Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:29
Self-pad outputs: decrypt cleanly, value 0, unspendable.