Jesse de Wit
b6894e7337
always return incorrect details on probes
2022-12-22 15:33:09 +01:00
Jesse de Wit
58367bafef
return incorrect details on probing when connected
2022-12-22 13:54:46 +01:00
Jesse de Wit
9471d86a20
fix incorrect payment details hex code
2022-12-22 13:04:20 +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
4b6eaf3773
use time.After instead of sleep
2022-12-16 09:41:55 +01:00
Jesse de Wit
e31a4c43f3
reusable open channel logic and share macaroon
2022-12-03 10:47:47 +01:00
Jesse de Wit
ceb3ddb1ee
lock on payment hash
2022-11-21 14:24:29 +01:00
Jesse de Wit
6ad2f71edc
add intercept with code
2022-11-18 16:50:17 +01:00
Jesse de Wit
5cfcd41f32
bytes.Equal instead of compare
2022-11-17 17:13:09 +01:00
Jesse de Wit
3d6d5bfb9d
Pull out generic interception logic
2022-11-17 17:13:09 +01:00
Jesse de Wit
d6b30f1397
Move getChannel to LightningClient
2022-11-17 15:36:18 +01:00
Jesse de Wit
ecfb878860
Move isConnected to LightningClient
2022-11-17 15:36:17 +01:00
Jesse de Wit
8b5f5f80b7
Make openChannel use LightningClient
2022-11-17 15:36:17 +01:00
Jesse de Wit
465faf8f2c
use LndClient
2022-11-17 15:36:17 +01:00
Yaacov Akiba Slama
4e7c6d9aff
Use Anchors commitment transaction when opening a channel
2022-10-03 11:08:57 +03:00
Yaacov Akiba Slama
ce08436d24
Use new zeroconf mechanism from lnd 15.1
2022-09-22 21:17:06 +03:00
Yaacov Akiba Slama
89212aa5ae
Update lnd (and corresponding btcd)
2022-07-17 18:05:58 +03:00
ueno
5457b04a1c
interceptor fail
2022-06-26 00:12:50 +09:00
Yaacov Akiba Slama
5941d9b0ef
Recover from lnd failure
2022-05-16 12:48:14 +03:00
Yaacov Akiba Slama
b86a77ab69
Add channel creation minimum fees
2021-06-16 18:33:01 +03:00
Yaacov Akiba Slama
ee75d838a1
Add field last_update to channels
2021-04-05 18:31:02 +03:00
Yaacov Akiba Slama
76f51e2ba7
Ensure that private and public channels have different capacity
2021-03-16 10:55:35 +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
34a38ba99c
Decrease target conf to 6
2020-10-01 17:04:15 +03:00
Yaacov Akiba Slama
980d2b40e5
Remove channel_fee_start_amount and add channel_fee_permyriad
2020-09-09 17:41:12 +03:00
Yaacov Akiba Slama
5e4f1a1aeb
Check the amounts when using RegisterPayments
2020-08-31 16:03:39 +03: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
5ec237e4a4
Fix channelPoint to string
2020-08-11 19:26:48 +03:00
Yaacov Akiba Slama
987e6a1ff5
Wait for the new channel to be active before resuming the htlc
2020-08-11 17:16:04 +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