aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-24 20:55:01 -0700
committerAdam Soltys <[email protected]>2026-06-24 20:55:01 -0700
commit96e91a2cca47f4eae3514d6827a29354e507dadd (patch)
tree34ff29ba4f0ee33b57b9a2f6d30474cab5f50c67 /src/api.js
parentae62886bb3a7fe72a3828089c58205662696bca9 (diff)
downloadcoinosv3-96e91a2cca47f4eae3514d6827a29354e507dadd.tar.gz
coinosv3-96e91a2cca47f4eae3514d6827a29354e507dadd.zip
Instant gift-via-split and spend-unconfirmed support
Gift split no longer makes the sender wait for confirmation: createGiftFromSplit broadcasts the carve-out, waits only until it's visible in the mempool, then builds the gift spending that still-unconfirmed coin. Funding + claim form a chain that confirms together; the recipient sees a pending balance until then. Polls for mempool visibility before reserving so a background refresh can't drop a not-yet-indexed coin and prune the reservation (double-spend risk). Regular sends can already draw on unconfirmed coins; surface that honestly: a 'pending' tag on unconfirmed coins in coin control, and a plain-language warning at review when a payment spends unconfirmed bitcoin (won't confirm until the ancestor does). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions