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 |
|
Stefan Kostic
|
596dbc6eca
|
Use sentry capture for handle payment errors
|
2022-02-18 12:46:35 +01:00 |
|
Stefan Kostic
|
fd80bcea5d
|
Fix error logging todos
|
2022-02-17 20:36:04 +01:00 |
|
Stefan Kostic
|
130760bbb1
|
Add error message field to invoice
|
2022-02-17 20:29:45 +01:00 |
|
Stefan Kostic
|
63a3ea09b3
|
Add simple failure test
|
2022-02-17 18:32:30 +01:00 |
|
Stefan Kostic
|
2e5f411cf1
|
Use context background on all needed places
|
2022-02-17 15:17:05 +01:00 |
|
Stefan Kostic
|
fea16623ab
|
Implement handle failed payment method
|
2022-02-17 15:10:42 +01:00 |
|
Stefan Kostic
|
1d9e24f21c
|
Implement handle successful payment method
|
2022-02-17 14:27:49 +01:00 |
|
kiwiidb
|
74da8f8088
|
new pr scope: don't bother with callbacks
|
2022-02-17 11:31:39 +01:00 |
|
kiwiidb
|
7ff25113e5
|
outline behaviour in comments
|
2022-02-16 12:29:11 +01:00 |
|
kiwiidb
|
26694c821f
|
remove transactions, add empty func that will handle failed payments
|
2022-02-16 11:23:30 +01:00 |
|
kiwiidb
|
61966e3d1c
|
address PR comments
|
2022-02-16 09:12:37 +01:00 |
|
kiwiidb
|
d88ebf11d8
|
use the correct expiresAt timestamp
|
2022-02-15 18:16:10 +01:00 |
|
kiwiidb
|
20610aef06
|
remove btcec dependency
|
2022-02-15 17:24:57 +01:00 |
|
kiwiidb
|
fb8fe70d07
|
remove zpay32 dep
|
2022-02-15 17:19:35 +01:00 |
|
Stefan Kostic
|
f93bdd54f9
|
Replace hardcoded strings with common constants
|
2022-02-09 22:27:01 +01:00 |
|
Stefan Kostic
|
3f4cc70d22
|
Revert commits related to constants
|
2022-02-09 22:24:52 +01:00 |
|
Stefan Kostic
|
3152f6f2e6
|
Replace hardcoded strings with common constants
|
2022-02-09 22:17:49 +01:00 |
|
Stefan Kostic
|
0da4b359d6
|
Pass in ctx as service methods first argument
|
2022-02-08 13:35:02 +01:00 |
|