Commit Graph

55 Commits

Author SHA1 Message Date
Yaacov Akiba Slama
81f24accad Support more than one token per node and params per token 2023-06-03 21:44:00 +03:00
Yaacov Akiba Slama
2c19c53893 Add some logs 2023-05-25 11:00:28 +03:00
Yaacov Akiba Slama
301760401f Use the full signature as promise and verify it directly 2023-05-24 15:31:36 +03:00
Jesse de Wit
d7aee62fd4 use fee params from database 2023-05-17 12:03:03 +02:00
Jesse de Wit
aaccc5fafb allow configuring an array of opening params 2023-05-17 09:43:19 +02:00
Jesse de Wit
d76b79e0d7 use opening_fee_params on register payment
.
2023-05-17 09:43:11 +02:00
Jesse de Wit
a16e87748b return opening_fee_params on channel info call 2023-05-11 15:37:28 +02:00
Jesse de Wit
eea9ec3c47 cleanup: wrong server object was used 2023-03-24 23:45:15 +01:00
Jesse de Wit
c1b80420df cleanup: move types to appropriate packages 2023-03-24 23:45:15 +01:00
Jesse de Wit
086d500750 cleanup: convert intercept and database to types 2023-03-24 15:53:19 +01:00
Jesse de Wit
9781ac6bb0 cleanup: move lightning client to seperate package 2023-03-24 14:43:20 +01:00
Jesse de Wit
3b0dd351f4 Spend unconfirmed utxos if minconfs=0 2023-03-04 12:53:07 +01:00
Jesse de Wit
8e2c9bd9ce set the tag field on registerpayment 2023-02-16 15:01:05 +01:00
Jesse de Wit
ef3a001d54 add tag field to registerpayment proto 2023-02-13 13:04:50 +01:00
Jesse de Wit
bfb25ae4bb use mempool client for fee estimation 2023-02-03 09:25:47 +01:00
Roei Erez
b83019e5c6 Remove invalid fake channels check.
We no longer need to check for confirmed channels
so now we return empty map instead to satisfy the client.
This is untill we will release a new client that doesn't use this endpoint at all.
2023-01-18 10:31:49 +02:00
Jesse de Wit
6e20a55850 populate name and pubkey from config or node 2023-01-09 10:29:08 +01:00
Jesse de Wit
94ee938893 support multiple nodes simultaneously 2023-01-06 12:30:54 +01:00
Jesse de Wit
5cee5f3ec9 also encrypt using ecies 2022-12-15 15:15:10 +01:00
Jesse de Wit
8048dae0c5 attempt ecies for decryption 2022-12-15 15:04:41 +01:00
Jesse de Wit
c57795643b add cln to main 2022-11-18 16:51:36 +01:00
Jesse de Wit
c738f817ac Move main method to seperate file 2022-11-17 15:38:33 +01:00
Jesse de Wit
126754281e Start and stop methods for the server 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
89212aa5ae Update lnd (and corresponding btcd) 2022-07-17 18:05:58 +03:00
Yaacov Akiba Slama
ad0595f3f9 Log the amount and the privacy flag of the channel 2022-04-29 08:04:49 +03:00
Yaacov Akiba Slama
ad0da518ed Retrieve the channel amount and the channel privacy from the environment 2022-02-28 22:21:49 +02:00
Yaacov Akiba Slama
fda001f80a Increase the fees to 0.4% and set min fees to 2000 sats 2021-07-11 13:56:19 +03:00
Yaacov Akiba Slama
b86a77ab69 Add channel creation minimum fees 2021-06-16 18:33:01 +03:00
Yaacov Akiba Slama
193e3639d9 Disable email sending when channel mismatch 2021-05-30 12:19:43 +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
8ca6ca87fd Synchronize private channels from lnd to the channels table every hour 2021-03-19 13:47:36 +02: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
78b9f2fdc4 Use an unique amount 2021-03-15 20:06:55 +02:00
Yaacov Akiba Slama
36001958e2 Use a target of 6 blocks when opening a public channel 2021-03-14 16:05:03 +02:00
Yaacov Akiba Slama
ab2be36642 Change OpenChannel endpoint to open public channels 2021-03-11 17:04:15 +02:00
Yaacov Akiba Slama
d532a78143 Add new field maxInactiveDuration 2021-02-21 17:19:02 +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
22b2b365ed Returns the short channel id if the channel is already confirmed 2021-01-03 18:51:16 +02:00
Yaacov Akiba Slama
97fdf045e4 Initialize the the map before using it 2020-12-30 17:00:08 +02:00
Yaacov Akiba Slama
ea54442821 Fix typo in logging 2020-12-29 16:32:21 +02:00
Yaacov Akiba Slama
11dc17ae2d Add checkChannels grpc function 2020-12-24 18:01:57 +02: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
a8d226abb8 Obtain node name and pubkey from the node itself if not found in env 2020-08-18 17:03:18 +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
795625ca3f Add optional support for Let's Encrypt certificate 2019-08-27 18:10:45 +03:00
Yaacov Akiba Slama
d897761c3c Use constants instead of hard coded values 2019-08-18 11:32:47 +03:00