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
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
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
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
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
8a4a4ffbbb
Merge pull request #175 from getAlby/feature/user-login-in-webhook-payload
...
add user login to webhook payload
2022-05-19 11:40:01 +02:00
kiwiidb
d668f2cebf
add user login to webhook payload
2022-05-19 11:24:16 +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
3c0ac7ebef
Merge pull request #170 from getAlby/feature/cache-control
...
Set cache-control headers for static routes (getinfo and home)
2022-05-18 14:15:44 +02:00
kiwiidb
760c1d83c2
update README
2022-05-18 13:43:22 +02:00
kiwiidb
c3b7dfae1c
add test for internal keysend payment
2022-05-18 13:33:37 +02:00
kiwiidb
a0c6cd4729
fix internal keysends
2022-05-18 13:14:31 +02:00
kiwiidb
bc4655fe8c
fix swagger
2022-05-18 12:16:24 +02:00
kiwiidb
d01b9c492f
internal keysend payments
2022-05-18 11:46:15 +02:00
kiwiidb
9a0ade8a38
look for keysend payment with loop
2022-05-18 10:09:53 +02:00
kiwiidb
8d91b1d92d
move keysend logic to it's own function
2022-05-18 10:04:04 +02:00
kiwiidb
efaf42feed
add test for custom records
2022-05-18 09:59:47 +02:00
kiwiidb
88c4789412
add custom records to transactions
2022-05-18 09:14:09 +02:00
kiwiidb
26944ae515
add destination custom records column
2022-05-18 09:08:15 +02:00
kiwiidb
44d147a6f1
make keysend test run after payment test
2022-05-17 15:16:41 +02:00
kiwiidb
7abe6434d7
update README
2022-05-17 15:13:48 +02:00
kiwiidb
b9116ca08f
add integration test
2022-05-17 15:02:46 +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
Michael Bumann
aaa6bddf52
Add payment context to sentry notification on payment errors
2022-05-17 14:39:11 +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
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