aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix: add account ownership checks and harden PIN validationAdam Soltys2026-03-172-1/+16
| | | | | | | | - Validate account ownership (aid) before allowing ark send/sync/vault operations and in debit/sendOnchain as defense-in-depth - Harden PIN check to reject missing/empty pin when user has one set Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* streamline dev setup and docker imagesAdam Soltys2026-03-161-2/+4
| | | | | | | | | | | | | | | | | | | - Rewrite setup.sh: auto-installs Docker, downloads regtest snapshot, pulls images, starts all services. Idempotent, works on fresh Ubuntu/macOS. - Create coinos-base image (196MB) shared by all containers: bitcoin, elements, lightning, strfry, kvrocks, electrs, tigerbeetle, chopsticks. Total pull ~490MB, down from ~4.3GB. - Move all images to ghcr.io/coinos/* namespace. - Drop nutshell (mint/wallet), postgres, mon from default dev compose. - Comment out ark stack (optional), guard ark.ts against empty config. - Add missing sampledata: lightningc, strfry, kvrocks, valkey configs. - Strip strfry binary (145MB debug symbols removed). - Use single CLN version (v25.12.1) for all 3 lightning nodes. - Switch valkey to alpine variant (110MB → 41MB). - Update config.ts.sample with correct service URLs. - Regtest snapshot hosted on GitHub Releases (~2MB). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* quieter logsAdam Soltys2026-03-166-35/+40
|
* update migrate scriptAdam Soltys2026-03-162-286/+0
|
* conditional lnbAdam Soltys2026-03-161-1/+1
|
* slow down ark checksark2Adam Soltys2026-03-142-11/+10
|
* persist vtxos to valkeyAdam Soltys2026-03-132-1/+153
|
* ark delegationAdam Soltys2026-03-131-0/+368
|
* ark fixesAdam Soltys2026-03-132-9/+23
|
* recoveryAdam Soltys2026-03-131-11/+27
|
* don't renew dustAdam Soltys2026-03-121-4/+5
|
* ark wallet monitoringAdam Soltys2026-03-121-4/+22
|
* tx recalcAdam Soltys2026-03-113-22/+41
|
* try to cpfp piggyback on in flight withdrawalsAdam Soltys2026-03-112-44/+87
|
* cpfp improvementsAdam Soltys2026-03-112-2/+230
|
* add network aliasAdam Soltys2026-03-111-0/+1
|
* skip server limit check for fund and internal paymentsAdam Soltys2026-03-081-1/+2
|
* accept android app origin for passkey verificationAdam Soltys2026-03-081-2/+8
|
* include raw event in push payload for data transportAdam Soltys2026-03-071-4/+12
| | | | | | | | Forward kind 445 Nostr events through push notifications so the client can process messages instantly without relying on WebSockets. Includes a 3KB size guard for the ~4KB push payload limit. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* add group registry for MLS push notificationsAdam Soltys2026-03-061-18/+125
| | | | | | | | Server now tracks MLS groups (synced from clients) and subscribes to kind 445 events on group relays, sending push to all members except the sender. Registry persisted to Redis across restarts. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* subscribe to all relays for DM push notificationsAdam Soltys2026-03-061-37/+43
| | | | | | | | The listener was only watching the local strfry relay, but MLS messages go to external relays like relay.coinos.io. Subscribe to all configured relays so gift wraps are seen. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* add debug logging to DM notificationsAdam Soltys2026-03-061-1/+3
| | | | Co-Authored-By: Claude Opus 4.6 <[email protected]>
* add server-side MLS user index and fix DM push VAPIDAdam Soltys2026-03-061-0/+4
| | | | | | | | | - Add lib/mls.ts: maintains Redis-backed index of MLS users with background backfill and live subscription for kind 443 events - Add /mls/users endpoint serving the directory to the UI - Fix dmNotifications.ts: add setVapidDetails call so push delivery works Co-Authored-By: Claude Opus 4.6 <[email protected]>
* profile searchAdam Soltys2026-03-061-0/+126
|
* drop abstract pool useAdam Soltys2026-03-061-14/+2
|
* fix profile queryAdam Soltys2026-03-061-15/+29
|
* auth fixAdam Soltys2026-03-051-1/+1
|
* fix pending payment cleanup and login password verificationAdam Soltys2026-03-051-0/+4
| | | | | | | Skip non-lightning entries in pending payments check and handle malformed password hashes gracefully during login. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* fund authorizationsAdam Soltys2026-03-041-1/+1
|
* passkey fixAdam Soltys2026-03-031-0/+1
|
* vault wallet fixesAdam Soltys2026-03-034-125/+140
|
* sync vaultAdam Soltys2026-03-033-136/+198
|
* bip353Adam Soltys2026-03-032-1/+155
|
* fee bump reserveAdam Soltys2026-03-031-4/+14
|
* round feesAdam Soltys2026-03-031-3/+2
|
* p2a lookupsAdam Soltys2026-03-031-19/+6
|
* request tuningAdam Soltys2026-03-031-0/+24
|
* fee bumpingAdam Soltys2026-03-024-17/+277
|
* delay startup routinesAdam Soltys2026-03-022-5/+7
|
* bump nodemonAdam Soltys2026-03-011-0/+4
|
* log ark wallet balanceAdam Soltys2026-03-011-0/+18
|
* message notificationsAdam Soltys2026-03-011-0/+52
|
* wallet checkAdam Soltys2026-03-011-3/+5
|
* disable rate limiting in devAdam Soltys2026-02-282-48/+49
|
* fix hono route orderAdam Soltys2026-02-281-1/+2
|
* hash pinsAdam Soltys2026-02-281-0/+28
|
* fix typescript issuesAdam Soltys2026-02-2820-73/+73
|
* migrate to honoAdam Soltys2026-02-286-245/+227
|
* remove default custodial account nameAdam Soltys2026-02-271-1/+0
|
* encrypted keys fieldAdam Soltys2026-02-272-0/+2
|