stacker.news/api
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
..
lnd Add docs for local LND setup 2023-05-19 18:28:46 -05:00
models refine module instantiation 2022-04-27 17:06:42 -05:00
resolvers Use LND subscriptions (#726) 2024-01-08 16:37:58 -06:00
s3 Image uploads (#576) 2023-11-06 14:53:33 -06:00
search Add OpenSearch to docker setup for development (#509) 2023-09-24 18:24:04 -05:00
slack Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
typeDefs territory billing notifications 2024-01-03 15:20:10 -06:00
webPush Fix duplicate push notifications on item edit if mentioned (#563) 2023-10-20 19:21:44 -05:00
package.json Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
ssrApollo.js Add chain fees to price carousel (#658) 2023-12-20 16:06:22 -06:00