Commit Graph

162 Commits

Author SHA1 Message Date
kiwiidb
f6a7f7f55f lnd cluster: working on testnet 2023-06-23 16:54:47 +02:00
kiwiidb
3bde54195f move lnd init to it's own file 2023-06-23 16:04:12 +02:00
kiwiidb
def32f2d45 move pubkey checks to lnd client 2023-06-22 16:13:36 +02:00
kiwiidb
08b7a78ea2 refactor: make main.go smaller 2023-06-22 09:36:23 +02:00
Lucas Rouckhout
752f005257 More fleshed out testing scenario for FinalizePayment routine 2023-05-30 10:59:36 +02:00
Lucas Rouckhout
af8e7f2376 Initial offline integration tests 2023-05-30 10:38:36 +02:00
Lucas Rouckhout
6700fa2b4a Withs 2023-05-29 15:22:16 +02:00
kiwiidb
d1b69a0a40 refactor 2023-05-29 13:07:58 +02:00
Lucas Rouckhout
051faf08f7 Initial approach 2023-05-29 12:03:04 +02:00
kiwiidb
cd7ee1cf7c add user id to logs as json field 2023-05-23 19:30:32 +02:00
Michael Bumann
ce6746999a Remove debug log 2023-05-23 09:30:13 +02:00
Michael Bumann
330165d8af Set rate limit per user and fallback to IP if no user is available 2023-05-19 19:21:37 +02:00
René Aaron
13a6c82f5b fix: identify users by id (if available) 2023-05-19 19:04:12 +02:00
Michael Bumann
797fbf438f Unify rate limit settings
We always treat the rate limit settings as requests per second and not every second.
The default rate limit is set globally
additionally we set a strict rate limit for sending payments
2023-05-19 18:47:44 +02:00
kiwiidb
e16794029b add sentry capture 2023-04-07 15:06:52 +02:00
kiwiidb
c7f2d8558e Merge pull request #346 from getAlby/chore/remove-grpc
remove grpc server
2023-04-06 09:35:49 +02:00
kiwiidb
6c2eaec2a8 remove ws 2023-04-05 15:52:41 +02:00
kiwiidb
9c625b37d6 remove grpc server 2023-04-05 15:48:31 +02:00
kiwiidb
76bfcdc207 remove grpc server 2023-04-05 15:45:30 +02:00
kiwiidb
6d7e871f33 fix test + refactor 2023-04-01 14:13:20 +02:00
Lucas Rouckhout
df0219edda Initial working version 2023-04-01 10:13:41 +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
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
René Aaron
ad419c86d3 fix: add tracer 2023-02-22 14:18:23 +01:00
kiwiidb
c6c8cc2b0f add datadog middleware 2023-02-22 14:36:51 +01:00
René Aaron
519469f270 feat: add datadog 2023-02-22 13:35:30 +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
3e611a45ab Merge branch 'main' into feature/rabbitmq-publish 2023-02-18 09:20:55 +01:00
kiwiidb
c293825ab9 return error in invoice subscription 2023-02-17 17:03:44 +01:00
kiwiidb
4dee1da2ae feature: add db pool config 2023-02-16 14:46:39 +01:00
Lucas Rouckhout
5280e7308a Initial working poc for publishing to rabbitmq 2023-02-04 13:03:41 +01:00
kiwiidb
b7d4319428 lndhub: graceful shutdown 2023-01-17 11:12:04 +01:00
kiwiidb
9144117c32 add graceful shutdown context 2023-01-16 17:59:41 +01:00
Michael Bumann
191e5a1d33 Split sentry config as described in the docs 2023-01-06 18:43:04 +01:00
René Aaron
f680be0cd3 fix: remove comment 2022-12-27 13:20:24 +01:00
René Aaron
f451434545 fix: added config variables 2022-12-27 13:19:57 +01:00
René Aaron
052aeacade fix: upgrade sentry, add config variable 2022-12-27 13:11:06 +01:00
René Aaron
4c74677af9 feat: add sentry tracing 2022-12-27 12:49:51 +01:00
kiwiidb
02ed3ff1c5 refactor: rm grpc pkg 2022-12-15 15:06:51 +01:00
kiwiidb
1ea35a93f2 add configuration for grpc server 2022-12-15 14:29:39 +01:00
kiwiidb
ffa8eef831 fix invoice ordering 2022-12-15 12:04:30 +01:00
kiwiidb
b577c765e7 subscribe grpc server to incoming invoices 2022-12-14 17:19:22 +01:00
kiwiidb
24ae419354 generate pb code, add grpc server 2022-12-14 16:50:38 +01:00
kiwiidb
0676fd06f2 Merge pull request #231 from getAlby/chore/update-initialized-payments
Look up status of outgoing payments at startup
2022-12-06 11:50:23 +01:00
kiwiidb
10278c7de3 track outgoing payments in goroutines 2022-11-29 13:34:54 +01:00