diff options
| author | Adam Soltys <[email protected]> | 2026-07-06 10:30:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-06 10:30:27 -0700 |
| commit | 7041fa7aee6c7cb2f3a04ac06a180e2cb5dc7336 (patch) | |
| tree | da5623bc063e413429a9c0acfd70057cfa1296cf /src/nostr.js | |
| parent | e74b576c8641627a700ffa82fd7179b8cf84993d (diff) | |
| download | coinosv3-7041fa7aee6c7cb2f3a04ac06a180e2cb5dc7336.tar.gz coinosv3-7041fa7aee6c7cb2f3a04ac06a180e2cb5dc7336.zip | |
Publish ark state on connect so idle devices share their balance
Cross-device ark sync only re-published on a state change (send/board),
so a device holding ark funds but making no transaction never wrote its
state to the relay — another device could never see those coins (and a
legacy shared-tag snapshot that got clobbered to zero-ark stayed that
way). connectArk now calls saveCache once on connect when there are
vtxos, publishing this device's balance to its per-device slot so every
device's ark funds reach the relay and get merged, no transaction
needed.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/nostr.js')
0 files changed, 0 insertions, 0 deletions
