aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/sync.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-05 09:05:20 -0700
committerAdam Soltys <[email protected]>2026-07-05 09:05:20 -0700
commitf9fc0bb3e38c3387f8af5d151aa03d83376ba9cc (patch)
tree4f7754e3b6b0be893e4c21acc8a881e9347d32b0 /src/features/sync.js
parentdb7e70fac51e16c7f389e031a80355b2d9d0f57e (diff)
downloadcoinosv3-f9fc0bb3e38c3387f8af5d151aa03d83376ba9cc.tar.gz
coinosv3-f9fc0bb3e38c3387f8af5d151aa03d83376ba9cc.zip
Collaborative offboard: move the ark balance back on-chain
PrepareOffboard/FinishOffboard against captaind — per-input ownership attestations, connector-based musig forfeits (with the deterministic fanout tx when there is more than one input), and fee math that mirrors the server bit-for-bit (weight fee rounds up, ppm-by-expiry rounds down) since it rejects any other net amount. The receive pane gains a 'Move back on-chain' button that withdraws everything to the wallet's own fresh address; the incoming tx is labeled 'Ark withdrawal' in History and the ark side records the movement. Crash-safe: the txid persists before FinishOffboard and resume asks GetVtxoStatus whether the forfeits landed (the server broadcasts the tx itself). Also fixes boarding to applySentTx after broadcasting the funding tx — without it the spent coin lingered in the utxo set (a second board double-spent it), and the post-board scan() could resurrect it by racing the explorer's indexing. Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/features/sync.js')
0 files changed, 0 insertions, 0 deletions