Commit Graph

31 Commits

Author SHA1 Message Date
Jesse de Wit
c96b96f8b3 always close pgx rows 2023-12-29 13:22:09 +01:00
Yaacov Akiba Slama
4e612daa75 Returns fee params only if validity>0 2023-12-25 10:50:19 +02:00
Jesse de Wit
1ef7d8cf76 cleanup expired notification urls 2023-11-20 19:59:59 +01:00
Jesse de Wit
e693045594 use uuid7 instead of bigserial 2023-11-06 14:17:57 +01:00
Jesse de Wit
8a7133f116 Upgrade to pgx v5 2023-11-06 14:17:56 +01:00
Jesse de Wit
3cf4b714a9 rename shared package to common 2023-11-06 14:17:56 +01:00
Jesse de Wit
fb3b051d02 lsps2: cleanup expired promises 2023-11-06 14:16:25 +01:00
Jesse de Wit
05246e3e72 postgres store fixes 2023-11-06 14:16:24 +01:00
Jesse de Wit
55e393d578 lsps2: save token with generated promises 2023-11-06 14:16:24 +01:00
Jesse de Wit
4a6fcff707 lsps2: persist token with buy registration 2023-11-06 14:16:24 +01:00
Jesse de Wit
d98e041e94 move basetypes into lightning 2023-11-06 14:12:38 +01:00
Jesse de Wit
ea89f92eb5 move get fee params settings to shared 2023-11-06 14:12:38 +01:00
Jesse de Wit
c3f13e999f lsps2: extend store for forwarding 2023-11-06 14:12:38 +01:00
Jesse de Wit
e2113e7a03 lsps2: store for buy registrations 2023-11-06 14:12:37 +01:00
Jesse de Wit
5aa1c4ea28 notifications: postgres datastore implementation 2023-06-30 16:36:30 +02:00
Yaacov Akiba Slama
21e26f9b57 Merge branch 'master' into params-per-token 2023-06-06 06:58:53 +03:00
Yaacov Akiba Slama
81f24accad Support more than one token per node and params per token 2023-06-03 21:44:00 +03:00
Jesse de Wit
c2b1b841b4 add tag to open channel email 2023-06-02 13:32:49 +02:00
Yaacov Akiba Slama
59f01bd30c Add data in new_channel_params in the migration 2023-05-28 13:23:34 +03:00
Jesse de Wit
d7aee62fd4 use fee params from database 2023-05-17 12:03:03 +02:00
Yaacov Akiba Slama
e2912be9be Add new_channel_params table 2023-05-17 09:43:19 +02:00
Jesse de Wit
4379dee7c8 verify validity before open JIT channel
.
2023-05-17 09:43:11 +02:00
Jesse de Wit
d76b79e0d7 use opening_fee_params on register payment
.
2023-05-17 09:43:11 +02:00
Jesse de Wit
086d500750 cleanup: convert intercept and database to types 2023-03-24 15:53:19 +01:00
Jesse de Wit
8e2c9bd9ce set the tag field on registerpayment 2023-02-16 15:01:05 +01:00
Yaacov Akiba Slama
3a4892ce8a Add data migrations 2022-09-19 22:32:19 +03:00
Yaacov Akiba Slama
ee75d838a1 Add field last_update to channels 2021-04-05 18:31:02 +03:00
Yaacov Akiba Slama
aca8c4f2c0 Add forwarding history sync from lnd to db 2021-02-05 07:11:53 +02:00
Yaacov Akiba Slama
f407ec9e9c Handle interception probing payments
probing payments uses a probing payment hash which is:
sha256("probing-01:" || payment_hash).

When the interceptor detects such a hash for a payment which is supposed
to trigger a channel creation , it checks if the destination is online,
and if online, fails with INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS error in
order to let the payer knows that the payment would be successful.
2020-11-08 17:46:26 +02:00
Yaacov Akiba Slama
faff8f60a9 Fix migration file name 2020-11-08 17:34:09 +02:00
Yaacov Akiba Slama
a6c770462d Add postgresql migration files 2020-08-16 12:15:02 +03:00