Commit Graph

31 Commits

Author SHA1 Message Date
Jesse de Wit
c42db2f968 fix hop hints for lnd regular payment test 2022-12-22 15:31:48 +01:00
Jesse de Wit
fecb4d7fbc add a test for regular forwards 2022-12-22 11:46:24 +01:00
Jesse de Wit
434d2431d2 fix amount_msat is a number 2022-12-19 11:39:12 +01:00
Jesse de Wit
1730f04110 retry payment after Bob is online again 2022-12-16 21:33:01 +01:00
Jesse de Wit
649086dd0a add test for offline node + fix cln failurecode 2022-12-16 21:03:20 +01:00
Jesse de Wit
f538f75d2c refactor to allow start/stop 2022-12-16 18:22:04 +01:00
Jesse de Wit
08f2f73b5d make LND tests work 2022-12-16 11:36:51 +01:00
Jesse de Wit
336297da7b shared testparams 2022-12-16 09:41:43 +01:00
Jesse de Wit
8048dae0c5 attempt ecies for decryption 2022-12-15 15:04:41 +01:00
Jesse de Wit
7c803d12bf add a test for zero reserve 2022-12-10 11:41:52 +01:00
Jesse de Wit
9040351c8c use zero reserve for all channel opens with cln 2022-12-08 15:00:16 +01:00
Jesse de Wit
0e98769d89 pass forward_to to htlc accepted response 2022-12-08 13:38:22 +01:00
Jesse de Wit
b3c5b94531 run combined tests for LND and CLN 2022-12-03 10:43:12 +01:00
Jesse de Wit
d186e06323 add itests 2022-11-24 09:15:20 +01:00
Jesse de Wit
5b864f9cce implement cln client and interceptor 2022-11-18 16:51:36 +01:00
Yaacov Akiba Slama
1d6e5ca99f Update lnd to 15.1 2022-09-18 21:34:59 +03:00
Yaacov Akiba Slama
89212aa5ae Update lnd (and corresponding btcd) 2022-07-17 18:05:58 +03:00
ueno
bed7551652 go.mod: tidy 2022-06-26 00:10:36 +09:00
Yaacov Akiba Slama
ad31aa8921 Synchronize channels to DB after each block and check channels from DB 2021-05-25 12:52:00 +03:00
Yaacov Akiba Slama
ece77f65e1 Downgrade google.golang.org/grpc to 1.29.1 2021-02-11 17:13:15 +02: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
630c6c3803 Send email notification (using aws ses) when a channel is created 2020-08-25 17:19:35 +03:00
Yaacov Akiba Slama
26cd383aa9 Add intercept functionality to lspd to create channels on the fly. 2020-08-06 16:24:29 +03:00
Yaacov Akiba Slama
3d5d4a5283 Update certmagic 2020-08-02 14:50:54 +03:00
Yaacov Akiba Slama
a5db418f43 Add RegisterPayment to lspd 2020-08-02 14:45:47 +03:00
Yaacov Akiba Slama
8dbb2f54ca Update lnd dependency 2019-11-04 16:50:53 +02:00
Yaacov Akiba Slama
795625ca3f Add optional support for Let's Encrypt certificate 2019-08-27 18:10:45 +03:00
Yaacov Akiba Slama
a4ab8bf8fa Add authorization check using token 2019-07-22 16:42:23 +03:00
Yaacov Akiba Slama
1cd9ecac5c Use full module name 2019-07-17 17:49:15 +03:00
Yaacov Akiba Slama
192135b224 First version 2019-07-17 17:32:47 +03:00