Commit Graph

638 Commits

Author SHA1 Message Date
kiwiidb
5e31a28fa2 Merge pull request #200 from prusnak/limits
Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance
2022-06-30 14:35:52 +02:00
kiwiidb
fa8a1d6d61 Merge pull request #206 from prusnak/makefile
Fix makefile
2022-06-30 14:35:35 +02:00
Pavol Rusnak
12f1062913 Fix makefile
After Legacy/v2 endpoints refactoring the old build command fails with:

./main.go:152:2: undefined: RegisterLegacyEndpoints
./main.go:153:2: undefined: RegisterV2Endpoints
2022-06-30 12:31:13 +02:00
Pavol Rusnak
6740e66094 Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance 2022-06-30 10:55:51 +02:00
kiwiidb
5adf1a8363 Merge pull request #198 from prusnak/create-accounts-option
Make it possible to disable account creation
2022-06-30 09:45:12 +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
36c2d632f1 Merge pull request #202 from getAlby/chore/v2-api
Chore/v2 api
2022-06-20 14:29:40 +02:00
kiwiidb
13025b513d Merge pull request #199 from getAlby/chore/remove-sqlite
remove all sqlite dependencies and mentions
2022-06-18 10:53:57 +02:00
kiwiidb
5f3c325daf fix merge conflicts 2022-06-18 10:49:28 +02:00
kiwiidb
4fbfde8a3c Merge pull request #197 from getAlby/chore/mock-lnd
Chore/mock lnd
2022-06-18 10:45:47 +02:00
kiwiidb
dc891d137b fix merge conflicts 2022-06-18 10:37:08 +02:00
kiwiidb
e01f4ec9f1 update swagger groups 2022-06-17 16:36:15 +02:00
kiwiidb
7b3565a659 tested all controllers 2022-06-17 16:26:58 +02:00
kiwiidb
adba6d3006 add getinvoice endpoint 2022-06-17 15:44:54 +02:00
kiwiidb
b256a3fefe remove old api docs 2022-06-17 15:38:44 +02:00
kiwiidb
71c09f258a v2 api 2022-06-17 11:40:06 +02:00
kiwiidb
c8bdddc013 remove all sqlite dependencies and mentions 2022-06-17 08:56:00 +02:00
kiwiidb
0194923839 Merge pull request #193 from prusnak/fee-reserve
Implement fee-reserve
2022-06-16 13:45:54 +02:00
Pavol Rusnak
1adea74429 Implement fee-reserve 2022-06-15 23:06:53 +02:00
kiwiidb
367242b505 Merge pull request #196 from prusnak/go-1.17
switch to Go 1.17
2022-06-15 23:02:11 +02:00
kiwiidb
13fcf02182 too many / 2022-06-15 18:44:24 +02:00
kiwiidb
40e34086d7 all tests passing 2022-06-15 18:27:03 +02:00
Pavol Rusnak
999f6f7611 run go mod tidy -compat=1.17 and go mod vendor 2022-06-15 18:11:45 +02:00
Pavol Rusnak
b7b61f4293 add vendor/ to .gitignore 2022-06-15 18:11:04 +02:00
Pavol Rusnak
fe5c7cac5d Update to Go 1.17 2022-06-15 18:10:49 +02:00
kiwiidb
057a8f3c57 praise the lord 2022-06-15 18:00:58 +02:00
kiwiidb
c9d7ddd9c7 one more file to refactor 2022-06-15 17:54:15 +02:00
kiwiidb
8952227bee fix another test 2022-06-15 16:40:06 +02:00
kiwiidb
1067224dfe fix bug in decoding 2022-06-15 16:31:58 +02:00
kiwiidb
c680f77798 mock: add destination and proper signing 2022-06-15 16:12:04 +02:00
kiwiidb
12d5f1a345 fixed incoming payment test 2022-06-15 14:58:05 +02:00
kiwiidb
9574b41a08 working on test refactoring 2022-06-15 11:39:54 +02:00
kiwiidb
9e9fc4fbf0 implement lnd with zpay32 2022-06-14 16:02:22 +02:00
kiwiidb
8e9af2241f rename existing mock 2022-06-14 13:37:56 +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
53275f2e80 Merge pull request #189 from getAlby/fix/amt-validations
Fix/amt-validations
0.8.0
2022-06-10 10:23:07 +02:00
kiwiidb
22a788e153 add missing amt validations 2022-06-10 10:20:54 +02:00
kiwiidb
5a35d7ce9d Merge pull request #187 from getAlby/fix/keysend-payments
Fix/keysend-payments
2022-06-09 11:37:48 +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
7e5a4a28ee Merge pull request #185 from prusnak/readme-update
small fixes in readme/env_example
2022-06-07 09:53:04 +02:00
Pavol Rusnak
27d43e052d cleanup whitespace in readme 2022-06-05 23:56:52 +02:00
Pavol Rusnak
77ebc21a07 remove unused FIXED_FEE parameter from .env_example 2022-06-05 20:51:28 +02:00
Pavol Rusnak
d8c8526481 be more specific about macaroon/cert files in the readme 2022-06-05 15:49:47 +02:00
kiwiidb
329c022437 Merge pull request #177 from getAlby/fix/start-invoice-subscription-from-last-possible-index
Fix: start invoice subscription from last NOT expired invoice
2022-05-28 11:52:13 +02:00
kiwiidb
d9a2486048 add test that reproduces the issue 2022-05-28 10:25:25 +02:00
kiwiidb
2423b67ee0 add test that reproduces the issue 2022-05-28 10:25:19 +02:00
Michael Bumann
6173dcac09 Fix SQLite error in inital migration
'initialized'::character varying is not supported in SQLite
2022-05-27 20:37:01 +02:00