Commit Graph

169 Commits

Author SHA1 Message Date
kiwiidb
def32f2d45 move pubkey checks to lnd client 2023-06-22 16:13:36 +02:00
kiwiidb
4f006717fa implement deactivation & add route 2023-05-24 12:31:50 +02:00
kiwiidb
6c2eaec2a8 remove ws 2023-04-05 15:52:41 +02:00
Adithya Vardhan
7c7a0f82ff chore: add error for invalid destination 2023-02-25 20:41:58 +05:30
Adithya Vardhan
d1c30665f0 fix: remove unnecessary sentry logging 2023-02-22 18:15:32 +05:30
Adithya Vardhan
12a6fe1adc feat: add pubkey hex check 2023-02-22 18:10:23 +05:30
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
Lucas Rouckhout
27e67b7d56 Create the channels during the Subscribe function call and make them buffered 2023-02-18 16:46:56 +01:00
kiwiidb
7b29815ef8 refactor invoice amount checks 2023-02-17 15:19:31 +01:00
kiwiidb
c74f39f94d refactor invoice amount checks 2023-02-17 14:59:10 +01:00
kiwiidb
8eff6c8e05 more accurate http status codes for keysend 2023-01-09 15:15:49 +01:00
kiwiidb
2229ac56d6 fix bug: no model needed here 2022-10-28 10:51:27 +02:00
kiwiidb
f7dd956ac4 chore: also delete balance check failed invoices in v1 controllers 2022-10-28 09:37:55 +02:00
kiwiidb
159a768a99 set fee reserve to 0 if destination is us 2022-10-03 16:10:44 +02:00
kiwiidb
ceec6dd181 don't omit payment error when empty 2022-08-08 10:11:18 +02:00
kiwiidb
98bebe0c87 add custom records 2022-08-05 12:12:03 +02:00
Pavol Rusnak
3fa782c2d4 Make it possible to override branding 2022-07-17 22:27:42 +02:00
Pavol Rusnak
ce0825e8be Fix typo 2022-07-14 02:17:09 +02:00
Pavol Rusnak
97abfe6178 Fix whitespace via go fmt 2022-07-14 02:17:09 +02:00
kiwiidb
96c6a4f952 replace username by login 2022-07-07 14:07:28 +02:00
Pavol Rusnak
6740e66094 Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance 2022-06-30 10:55:51 +02:00
kiwiidb
b256a3fefe remove old api docs 2022-06-17 15:38:44 +02:00
Pavol Rusnak
1adea74429 Implement fee-reserve 2022-06-15 23:06:53 +02:00
kiwiidb
dd1fe8c00b Merge pull request #192 from prusnak/invoicestream-fix-defer
Don't defer close when the creation failed
2022-06-13 12:43:07 +02:00
Pavol Rusnak
1572aa06b2 Don't defer close when the creation failed 2022-06-11 21:48:22 +02:00
kiwiidb
22a788e153 add missing amt validations 2022-06-10 10:20:54 +02:00
kiwiidb
4a3b548783 Merge pull request #171 from getAlby/chore/sentry-context-info
Extend sentry with some mode debugging information
2022-06-07 09:53:38 +02:00
kiwiidb
402a970140 Merge pull request #172 from getAlby/feature/accept-keysend
Feature/accept keysend
2022-05-19 08:23:09 +02:00
kiwiidb
bc4655fe8c fix swagger 2022-05-18 12:16:24 +02:00
kiwiidb
88c4789412 add custom records to transactions 2022-05-18 09:14:09 +02:00
Michael Bumann
aaa6bddf52 Add payment context to sentry notification on payment errors 2022-05-17 14:39:11 +02:00
Michael Bumann
d4dd9fa7e3 Set cache-control headers for static routes (getinfor and home)
This tells clients to cache the response for a few minutes and
thus makes it easier to run lndhub behind a proxy to cache static response
2022-05-09 15:38:40 +02:00
kiwiidb
36ee813ff6 fix merge conflicts 2022-05-03 09:04:54 +02:00
kiwiidb
3881ab7e78 add 0 amount outgoing invoice 2022-05-02 14:27:48 +02:00
kiwiidb
48d1aa4263 Merge pull request #152 from getAlby/use-crypto-rand
Replace math rand with crypto rand
2022-05-02 13:52:50 +02:00
kiwiidb
6aa753cd3e fix merge conflicts 2022-05-02 13:46:45 +02:00
Michael Bumann
887e5fbf89 Log user ids on more errors
This should help analyzing the logs better for a specific user.
2022-05-02 09:38:57 +02:00
kiwiidb
820a993783 Merge pull request #161 from getAlby/feature/api-docs
Feature/api docs
2022-04-28 10:12:13 +02:00
kiwiidb
b150d8c8ec change topic type to string 2022-04-27 12:21:15 +02:00
kiwiidb
2793303ad3 swagger: add all endpoints 2022-04-26 13:48:05 +02:00
kiwiidb
d1679f499d fix: add fees for outgoing invoices 2022-04-26 13:14:16 +02:00
kiwiidb
0818abdd2c change tags 2022-04-26 12:21:16 +02:00
kiwiidb
5137d966cc feature: start swagger docs 2022-04-26 12:14:50 +02:00
kiwiidb
d36d22a2d0 add integration test for missing invoices 2022-04-20 16:57:12 +02:00
kiwiidb
9180a7d79b add missing invoice functionality 2022-04-20 16:48:16 +02:00
kiwiidb
c24d1599d0 refactor parse token 2022-04-20 16:25:01 +02:00
Stefan Kostic
e2947cf9a1 Replace math rand with crypto rand 2022-04-13 20:21:35 +02:00
kiwiidb
a9b796a7d6 refactor tests 2022-04-13 13:19:14 +02:00
kiwiidb
455fba26a0 implement fixes based on skosito's remarks 2022-04-13 13:04:29 +02:00