Commit Graph

95 Commits

Author SHA1 Message Date
im-adithya
401cd4a458 chore: refactor payment checks 2023-12-04 16:21:06 +05:30
kiwiidb
c5812503c7 Merge pull request #463 from getAlby/task-out-exceeding-checks
chore(addoutgoinginvoice): add exceeding checks for send
2023-12-01 14:40:07 +01:00
im-adithya
29957edad0 chore(addoutgoinginvoice): add exceeding checks for send 2023-12-01 16:01:56 +05:30
im-adithya
fb8c4784d6 chore(addincominginvoice): add exceeding checks for volume, balance, receive 2023-12-01 00:25:38 +05:30
im-adithya
da3adf75d2 fix: add r_hash and preimage to keysend invoices 2023-09-25 19:56:46 +05:30
im-adithya
846f3c09d5 chore: publish invoice data before executing payment 2023-09-25 18:40:11 +05:30
kiwiidb
da3912f11a wtf who wrote this 2023-07-05 13:54:25 +02:00
kiwiidb
c3bd3bc40f fix bugs 2023-07-05 11:42:52 +02:00
kiwiidb
a22ab04f01 fix comment c/p 2023-07-05 11:20:18 +02:00
kiwiidb
c20f02ec75 add trick to avoid looking up the fee account again 2023-07-05 11:15:12 +02:00
kiwiidb
4bd261344f fix bug 2023-07-04 16:30:58 +02:00
kiwiidb
6b149af44f fix cp error 2023-07-04 14:47:40 +02:00
kiwiidb
3660db37a9 commit fee reserve tx entry 2023-07-04 11:50:03 +02:00
kiwiidb
dc54877da5 fee reserves as seperate tx entries 2023-07-04 10:57:38 +02:00
kiwiidb
000177f5a1 add db migration, add entry types 2023-07-03 14:19:48 +02:00
kiwiidb
def32f2d45 move pubkey checks to lnd client 2023-06-22 16:13:36 +02:00
kiwiidb
79cf2ad8fb handle succesful: fix bug 2023-05-29 14:51:47 +02:00
kiwiidb
7d3e8df755 fix preimage generation 2023-05-05 11:27:49 +02:00
kiwiidb
c74f39f94d refactor invoice amount checks 2023-02-17 14:59:10 +01:00
kiwiidb
6dbbf1b63d atomic failed payment handling 2023-01-13 12:34:08 +01:00
kiwiidb
88975eba29 invoice: lookup more performant by hash 2023-01-06 11:17:58 +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
bccd73312a tests should be working? 2022-12-02 14:52:15 +01:00
kiwiidb
159a768a99 set fee reserve to 0 if destination is us 2022-10-03 16:10:44 +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
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
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
36ee813ff6 fix merge conflicts 2022-05-03 09:04:54 +02:00
kiwiidb
6aa753cd3e fix merge conflicts 2022-05-02 13:46:45 +02:00
kiwiidb
017bf282fd publish incoming and outgoing payments to respective topics 2022-04-27 12:25:28 +02:00
kiwiidb
b150d8c8ec change topic type to string 2022-04-27 12:21:15 +02:00
kiwiidb
b5497e434a publish invoice for internal payments 2022-04-21 13:27:53 +02:00
Stefan Kostic
e2947cf9a1 Replace math rand with crypto rand 2022-04-13 20:21:35 +02:00
Stefan Kostic
edc51df4fb Make fixed fees dynamic 2022-03-23 16:55:13 +01:00
kiwiidb
be8a5a4acc feature: allow custom records to keysend 2022-03-18 12:19:19 +01:00
kiwiidb
a3c6f294e0 fix merge conflict 2022-03-08 14:57:46 +01:00
Stefan Kostic
fb1be3bd8b Rename struct 2022-03-08 13:46:51 +01:00
Stefan Kostic
f7b2ea76d6 Group payreq and keysend flag into struct 2022-03-08 12:32:02 +01:00
Stefan Kostic
6dc4e608fb Fix invoice keysend spelling 2022-03-08 01:09:43 +01:00
Stefan Kostic
7e528489d7 Add check for user balance after successful payment 2022-03-07 11:28:58 +01:00
Stefan Kostic
dd600af5b2 Refactor send payment sync a bit to reduce code duplication 2022-03-04 20:05:59 +01:00
Stefan Kostic
8b077cd5ea First key send endpoint impl based on pay invoice ctrl 2022-03-04 19:53:25 +01:00
kiwiidb
3d8ecd425f keysend: low-level work and instructions 2022-03-04 11:08:27 +01:00
Stefan Kostic
cd6a08690c Fix PR comments 2022-03-01 23:22:45 +01:00
kiwiidb
735cd6a839 fee handling should come from payment response 2022-03-01 10:06:29 +01:00
Stefan Kostic
3858528607 Add transaction entry for fee 2022-02-25 00:23:37 +01:00