stacker.news/pages
ekzyis 2151323c8d
Use LND subscriptions (#726)
* Use parallel invoice subscriptions

* Fix missing idempotency

* Log error

* Use cursor for invoice subscription

* Subscribe to outgoing payments for withdrawals

* Add TODO comments regarding migration to LND subscriptions

* Also use isPoll variable in checkInvoice

* Queue status check of pending withdrawals

* Use for loop to check pending withdrawals

* Reconnect to LND gRPC API on error

* Fix hash modified of applied migrations

* Separate wallet code from worker index

* refactor subscription code some more

* remove unnecessary subWrapper abstraction
* move all wallet related code into worker/wallet.js such that only a single import is needed in worker/index.js

* Migrate from polling to LND subscriptions

* Remove unnecessary reconnect code

* Add FIXME

* Add listener for HODL invoice updates

* Remove obsolete comment

* Update README

* Add job to cancel hodl invoice if expired

* Fix missing else

* small bug fixes and readability enhancements

* refine and add periodic redundant deposit/withdrawal checks

---------

Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-01-08 16:37:58 -06:00
..
[name] territories 2023-12-04 21:34:06 -06:00
api Use LND subscriptions (#726) 2024-01-08 16:37:58 -06:00
auth upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
invites More push notification types (#530) 2023-10-04 18:20:52 -05:00
invoices Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
items/[id] territories 2023-12-04 21:34:06 -06:00
referrals fix custom dates to use ms since epoch 2023-11-14 10:23:44 -06:00
rewards remove snow 2023-12-25 18:05:45 -06:00
stackers Custom date selector for more pages (#567) 2023-11-08 18:15:36 -06:00
withdrawals merge non-normalized user subtypes fixing #645 2023-11-20 09:05:02 -06:00
~ default to server provided sub name 2024-01-03 21:15:54 -06:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js indicate safari instructions in ios pwa prompt 2024-01-03 16:32:18 -06:00
_document.js Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
_error.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
email.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
live.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
login.js show errors on settings during auth linking 2023-07-30 15:39:18 -05:00
notifications.js Notification badges (#595) 2023-11-08 18:17:01 -06:00
offline.js improve service worker asset precaching and offline page 2023-07-28 10:57:12 -05:00
satistics.js territories 2023-12-04 21:34:06 -06:00
settings.js merge non-normalized user subtypes fixing #645 2023-11-20 09:05:02 -06:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
territory.js link to territory FAQ 2023-12-20 17:11:07 -06:00
wallet.js Fix invalid DOM property (#732) 2024-01-04 11:17:57 -06:00