Commit Graph

236 Commits

Author SHA1 Message Date
kiwiidb
ffd3b5c625 reasoning for deduplication logic 2022-12-20 10:48:10 +01:00
kiwiidb
d02bdf276a 1 channel per client 2022-12-19 15:56:39 +01:00
kiwiidb
e8adc9572f refactor: rm grpc pkg 2022-12-15 15:07:04 +01:00
kiwiidb
1ea35a93f2 add configuration for grpc server 2022-12-15 14:29:39 +01:00
kiwiidb
652567df00 update 0 amount invoices with actual amount paid 2022-12-09 10:58:18 +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
47690dba7e avoid unnecessary db calls 2022-12-06 11:40:21 +01:00
kiwiidb
e63917a919 better logging + don't fetch invoices without hash 2022-12-06 11:32:17 +01:00
kiwiidb
ba99c49124 add some sentry captures 2022-12-05 17:16:09 +01:00
kiwiidb
5e0424941b add time filter when fetching invoices 2022-12-05 17:14:15 +01:00
kiwiidb
bccd73312a tests should be working? 2022-12-02 14:52:15 +01:00
kiwiidb
dbb8eb4709 avoid goroutine bug 2022-12-02 12:10:52 +01:00
kiwiidb
9c75a92adf clean up code, remove bug 2022-12-02 11:49:04 +01:00
kiwiidb
f2a4a4d435 payment tracking logging 2022-11-29 13:41:07 +01:00
kiwiidb
47894ad3c2 payment tracking logging 2022-11-29 13:40:11 +01:00
kiwiidb
10278c7de3 track outgoing payments in goroutines 2022-11-29 13:34:54 +01:00
kiwiidb
c437651cf8 log invoice on error in track status 2022-10-06 12:37:39 +02:00
kiwiidb
0bcf83545b check pending payments at startup 2022-10-06 11:11:03 +02:00
kiwiidb
209a0d0b8c add more methods for checking all pending payments 2022-10-04 18:33:24 +02:00
kiwiidb
de592ffccc Merge pull request #235 from getAlby/chore/fee-reserve-improvement
set fee reserve to 0 if destination is us
2022-10-04 18:11:43 +02:00
kiwiidb
159a768a99 set fee reserve to 0 if destination is us 2022-10-03 16:10:44 +02:00
kiwiidb
8661225273 add admin api key for creating accounts 2022-10-03 14:54:29 +02:00
kiwiidb
c23fd3b0b4 track payment: use byte representation of hash 2022-09-27 16:27:59 +02:00
kiwiidb
dfabdef8ed add migration script 2022-09-27 13:00:35 +02:00
kiwiidb
f03f047baa Revert "Revert "fix 0 amount internal invoices""
This reverts commit daf1d35d70.
2022-09-12 13:45:03 +02:00
kiwiidb
daf1d35d70 Revert "fix 0 amount internal invoices"
This reverts commit 1960d72fae.
2022-09-12 13:44:49 +02:00
kiwiidb
1960d72fae fix 0 amount internal invoices 2022-09-12 13:28:10 +02:00
kiwiidb
0526b33e9d Merge pull request #220 from prusnak/password-entropy
Introduce config.MinPasswordEntropy option
2022-08-02 13:51:05 +02:00
Pavol Rusnak
5ea75be052 Introduce config.MinPasswordEntropy option
that allows an operator to set minimum entropy (in bits)
of a password to be accepted during account creation
2022-07-29 09:02:33 +02:00
juligasa
dc35f00497 macaroon and cert can be provided as files 2022-07-22 12:30:49 +02:00
Pavol Rusnak
3fa782c2d4 Make it possible to override branding 2022-07-17 22:27:42 +02:00
Pavol Rusnak
5ac1f8dd62 Use LndHub capitalization consistently 2022-07-15 01:08:34 +02:00
Pavol Rusnak
6740e66094 Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance 2022-06-30 10:55:51 +02:00
Pavol Rusnak
45e9728fb8 Make it possible to disable account creation
This covers the usecase when LndHub is used to serve closed communities
which do not want to accept new members anymore (friends, families, etc).

The PR introduces a new envconfig option CREATE_ACCOUNTS which is true
by default but can be set to false if needed.
2022-06-21 14:09:05 +02:00
kiwiidb
7b3565a659 tested all controllers 2022-06-17 16:26:58 +02:00
Pavol Rusnak
1adea74429 Implement fee-reserve 2022-06-15 23:06:53 +02:00
kiwiidb
aaa7911b4f always update invoice with hash 2022-06-08 15:34:08 +02:00
kiwiidb
c5f5ab12b9 remove memo 2022-06-08 14:46:32 +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
2423b67ee0 add test that reproduces the issue 2022-05-28 10:25:19 +02:00
Michael Bumann
26fe80bf7d Fix: start invoice subscription from last NOT expired invoice
Currently we checked all payments which means we start the subscription from an index for an invoice that can no longer be paid because it is expired.
And because it is expired we do not need to listen for updates for it anymore
2022-05-24 18:10:33 +02:00
kiwiidb
d668f2cebf add user login to webhook payload 2022-05-19 11:24:16 +02:00
kiwiidb
a0c6cd4729 fix internal keysends 2022-05-18 13:14:31 +02:00
kiwiidb
d01b9c492f internal keysend payments 2022-05-18 11:46:15 +02:00
kiwiidb
8d91b1d92d move keysend logic to it's own function 2022-05-18 10:04:04 +02:00
Michael Bumann
bc8184175a Add user ID to sentry context
This sends the user ID to sentry
2022-05-17 14:39:39 +02:00
kiwiidb
045305585b move constant to other TLV constants 2022-05-17 11:30:36 +02:00
kiwiidb
0ade09e8ac keysend payments: don't process already-seen invoices 2022-05-17 11:21:21 +02:00
kiwiidb
db37c52624 accept keysend payments 2022-05-17 10:46:40 +02:00
kiwiidb
36ee813ff6 fix merge conflicts 2022-05-03 09:04:54 +02:00