diff options
| author | Adam Soltys <[email protected]> | 2026-06-26 11:56:37 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-26 11:56:37 -0700 |
| commit | 634ed2c91f64e478e6dfff676d402eb15d97af21 (patch) | |
| tree | 5d39b8ce6a10051537b5c22dfa6269299eab09d9 /src/electrum.js | |
| parent | d7d93f6e0cb5db140a842228eb42a25d2b789bd3 (diff) | |
| download | coinosv3-634ed2c91f64e478e6dfff676d402eb15d97af21.tar.gz coinosv3-634ed2c91f64e478e6dfff676d402eb15d97af21.zip | |
Make auto log-out per-wallet — only signs out the wallet it's set for
The logout timer is now an account setting (stored per account in the session and
the durable directory), not a global one, and it removes only that wallet from
the device — its session entry, directory entry, cached state (xpub + seed keys),
and its vault entry — leaving other wallets untouched.
- wipeAccount(id) surgically removes one wallet; the active one falls back to the
next account (or the unlock screen).
- Background-away timestamp drives per-account evaluation on resume/boot; an armed
timer fires for the soonest-due wallet so a blurred-but-visible window still
signs out on time. Overdue saved wallets are removed from the vault when it's
unlocked (the only point we can re-encrypt it).
- New cacheKeyFor() export lets app code target one wallet's cache keys exactly
(verified against the wallet's seed/xpub/watch keys).
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/electrum.js')
0 files changed, 0 insertions, 0 deletions
