Yaacov Akiba Slama
6594e3de27
Convert between int64 (in postgresql) and uint64 (short channel id)
2022-09-19 20:47:21 +03:00
Yaacov Akiba Slama
e16541c77d
Use initial_chanid and confirmed_chanid to handle zerconf channels
2022-09-19 17:39:09 +03: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
133c87ec27
Don't fail when adding twice the same payment_hash
2021-05-09 21:07:23 +03:00
Yaacov Akiba Slama
ee75d838a1
Add field last_update to channels
2021-04-05 18:31:02 +03:00
Yaacov Akiba Slama
8ca6ca87fd
Synchronize private channels from lnd to the channels table every hour
2021-03-19 13:47:36 +02:00
Yaacov Akiba Slama
f3a66cc6fb
Fix typo in the field name
2021-02-05 10:10:10 +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
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