aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/sync.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-06 10:30:27 -0700
committerAdam Soltys <[email protected]>2026-07-06 10:30:27 -0700
commit7041fa7aee6c7cb2f3a04ac06a180e2cb5dc7336 (patch)
treeda5623bc063e413429a9c0acfd70057cfa1296cf /src/features/sync.js
parente74b576c8641627a700ffa82fd7179b8cf84993d (diff)
downloadcoinosv3-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/features/sync.js')
0 files changed, 0 insertions, 0 deletions