Commit Graph

304 Commits

Author SHA1 Message Date
kiwiidb
cb46f10ce2 don't require incoming invoices to be non-expired 2023-06-02 10:36:42 +02:00
Lucas Rouckhout
ba6b8e9168 Change to grpc 2023-05-30 11:48:25 +02:00
Lucas Rouckhout
775fec0a03 Withs config 2023-05-29 15:22:40 +02:00
kiwiidb
79cf2ad8fb handle succesful: fix bug 2023-05-29 14:51:47 +02:00
Lucas Rouckhout
051faf08f7 Initial approach 2023-05-29 12:03:04 +02:00
kiwiidb
4f006717fa implement deactivation & add route 2023-05-24 12:31:50 +02:00
kiwiidb
6e9eb5d467 integration test complete but failing 2023-05-24 12:24:32 +02:00
kiwiidb
d359ad3653 add update user endpoint 2023-05-24 11:19:44 +02:00
kiwiidb
7d3e8df755 fix preimage generation 2023-05-05 11:27:49 +02:00
kiwiidb
76bfcdc207 remove grpc server 2023-04-05 15:45:30 +02:00
Lucas Rouckhout
a55b2354e3 Change default name for invoice consumer to lnd_invoice_consumer 2023-04-01 16:06:02 +02:00
kiwiidb
940dc5ac09 already processed keysend -> no error 2023-04-01 15:15:18 +02:00
kiwiidb
6d7e871f33 fix test + refactor 2023-04-01 14:13:20 +02:00
Lucas Rouckhout
be66edfbbe Initial working version with a lot of closures 2023-03-05 10:16:45 +01:00
Lucas Rouckhout
dbe5ce83a3 WIP SACE 2023-03-04 17:52:03 +01:00
kiwiidb
112435d5e1 Merge pull request #324 from getAlby/task-logging-checks
feat: add checks and remove sentry logging
2023-02-27 08:45:37 +01:00
Adithya Vardhan
7c7a0f82ff chore: add error for invalid destination 2023-02-25 20:41:58 +05:30
kiwiidb
b3f443bf6a fix merge conflicts 2023-02-22 17:45:34 +01:00
kiwiidb
873cbfff4c datadog config 2023-02-22 17:41:35 +01:00
kiwiidb
b40d13fbc9 Merge pull request #316 from getAlby/catch-add-index-error
Invoice subscription: safety improvements
2023-02-22 17:35:19 +01:00
Adithya Vardhan
c7d2f3d559 feat: add network check 2023-02-22 15:32:01 +05:30
Adithya Vardhan
971c24ec99 feat: add invoice expiry check 2023-02-22 14:35:40 +05:30
kiwiidb
ea2c040fb4 resolve merge conflicts 2023-02-20 17:36:37 +01:00
kiwiidb
2d5c280315 Merge pull request #300 from getAlby/feature/rabbitmq-publish
Use rabbitmq as an alternative to publish invoice events
2023-02-20 15:58:40 +01:00
kiwiidb
10628df6eb capture errors 2023-02-20 14:42:49 +01:00
kiwiidb
97fc22aa7d capture errors 2023-02-20 14:36:17 +01:00
kiwiidb
945d936146 use bg ctx / capture error 2023-02-20 14:32:36 +01:00
kiwiidb
0b8828c93b boy scouting 2023-02-20 14:26:45 +01:00
Lucas Rouckhout
191e44ee02 singular invoice 2023-02-18 17:00:07 +01:00
Lucas Rouckhout
27e67b7d56 Create the channels during the Subscribe function call and make them buffered 2023-02-18 16:46:56 +01:00
Lucas Rouckhout
5d7c2b9a1c Remove default buf size from after revert commit 2023-02-18 16:41:37 +01:00
Lucas Rouckhout
7048d04622 Revert "PubSUb now uses buffered channels"
This reverts commit 118297d79f.
2023-02-18 16:40:07 +01:00
Lucas Rouckhout
6f63758ab1 prefix instead of suffix routing key 2023-02-18 16:39:46 +01:00
Lucas Rouckhout
90929134cb Defer close the rabbitmq connection 2023-02-18 15:49:11 +01:00
Lucas Rouckhout
5758b39c0d Remove rabbit conn from service object 2023-02-18 15:47:05 +01:00
Lucas Rouckhout
b5e925d5ca Increase default buffer size for invoice channels in pubsub 2023-02-18 15:30:33 +01:00
Lucas Rouckhout
277c44a42d Changed some comments 2023-02-18 15:27:38 +01:00
Lucas Rouckhout
118297d79f PubSUb now uses buffered channels 2023-02-18 15:25:46 +01:00
Lucas Rouckhout
4791251e77 Make channels buffered 2023-02-18 14:33:43 +01:00
kiwiidb
28a4a4d81a Merge pull request #317 from getAlby/fix/invoice-deletion
Fix/invoice deletion
2023-02-18 11:39:39 +01:00
kiwiidb
e8d3f7d2c9 lowercase errors 2023-02-18 11:34:11 +01:00
kiwiidb
dc1f121aa0 don't log already processed keysend error 2023-02-18 11:23:40 +01:00
Lucas Rouckhout
3e611a45ab Merge branch 'main' into feature/rabbitmq-publish 2023-02-18 09:20:55 +01:00
kiwiidb
e36d46ff9c add an extra sentry notification 2023-02-17 17:22:13 +01:00
kiwiidb
973f80a993 forgot to re-add subscription 2023-02-17 17:15:06 +01:00
kiwiidb
c293825ab9 return error in invoice subscription 2023-02-17 17:03:44 +01:00
kiwiidb
06f3f1750d relax inequality in balance check 2023-02-17 16:28:46 +01:00
kiwiidb
c74f39f94d refactor invoice amount checks 2023-02-17 14:59:10 +01:00
kiwiidb
2c73684b37 wip: fail on db error 2023-02-17 11:12:46 +01:00
kiwiidb
bf315cee02 add db timeout defautl of 60 seconds 2023-02-17 08:42:32 +01:00