diff options
| author | Adam Soltys <[email protected]> | 2026-06-28 03:15:00 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-28 03:15:00 -0700 |
| commit | e8edfd88b14ad07f5f97f5cb1d5d603d825a413d (patch) | |
| tree | c98c7fb8dced7442637b9c0c442bbf3a68edcced /src/api.js | |
| parent | df58295848c7675e6501148da2a988b918811a2c (diff) | |
| download | coinosv3-e8edfd88b14ad07f5f97f5cb1d5d603d825a413d.tar.gz coinosv3-e8edfd88b14ad07f5f97f5cb1d5d603d825a413d.zip | |
Scan silent payments from each wallet's birth, not the indexer's start
A freshly-generated wallet can't have received SP before it existed, so set its
scan watermark to the current tip on first connect (skipping the whole historical
catch-up) instead of scanning from 0. Threaded a 'generated' flag through the
create flow (openWallet → enterWallet → activateAccount → load spFresh); imported
wallets still scan from the indexer start since they may have prior receipts.
Verified on regtest: a fresh wallet skips the block-5780 receipt (watermark=tip,
balance 0); the same seed imported finds it.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
