Commit Graph

  • 9531c713c1 cancel on all code paths Jesse de Wit 2022-11-18 09:55:38 +01:00
  • c1a17bc296 A little prettier start and stop Jesse de Wit 2022-11-17 17:11:51 +01:00
  • 5cfcd41f32 bytes.Equal instead of compare Jesse de Wit 2022-11-17 17:01:31 +01:00
  • 3d6d5bfb9d Pull out generic interception logic Jesse de Wit 2022-11-17 16:23:27 +01:00
  • c738f817ac Move main method to seperate file Jesse de Wit 2022-11-17 15:38:33 +01:00
  • d6b30f1397 Move getChannel to LightningClient Jesse de Wit 2022-11-17 15:35:43 +01:00
  • ecfb878860 Move isConnected to LightningClient Jesse de Wit 2022-11-17 15:28:56 +01:00
  • 8b5f5f80b7 Make openChannel use LightningClient Jesse de Wit 2022-11-17 15:23:15 +01:00
  • 126754281e Start and stop methods for the server Jesse de Wit 2022-11-17 14:53:53 +01:00
  • 465faf8f2c use LndClient Jesse de Wit 2022-11-17 14:44:39 +01:00
  • b254f4d985 add LndClient implementation Jesse de Wit 2022-11-17 14:21:21 +01:00
  • 6f292003f9 add LightningClient interface Jesse de Wit 2022-11-17 14:19:07 +01:00
  • 02ceb92286 Fix insertChannel in the ON CONFLICT arm Yaacov Akiba Slama 2022-10-03 11:10:38 +03:00
  • 80032bed08 Fix logging in insertChannel Yaacov Akiba Slama 2022-10-03 11:09:49 +03:00
  • 4e7c6d9aff Use Anchors commitment transaction when opening a channel Yaacov Akiba Slama 2022-10-03 11:08:57 +03:00
  • ce08436d24 Use new zeroconf mechanism from lnd 15.1 Yaacov Akiba Slama 2022-09-22 21:17:06 +03:00
  • 7ceb5bf988 Add some logging in insertChannel Yaacov Akiba Slama 2022-09-21 12:18:37 +03:00
  • 3a4892ce8a Add data migrations Yaacov Akiba Slama 2022-09-19 22:32:19 +03:00
  • 6594e3de27 Convert between int64 (in postgresql) and uint64 (short channel id) Yaacov Akiba Slama 2022-09-19 20:47:21 +03:00
  • e16541c77d Use initial_chanid and confirmed_chanid to handle zerconf channels Yaacov Akiba Slama 2022-09-19 17:39:09 +03:00
  • 1d6e5ca99f Update lnd to 15.1 Yaacov Akiba Slama 2022-09-18 21:34:59 +03:00
  • 89212aa5ae Update lnd (and corresponding btcd) Yaacov Akiba Slama 2022-07-17 18:05:58 +03:00
  • aaeeac3008 Merge pull request #6 from nayuta-ueno/err-handle Yaacov Akiba Slama 2022-06-27 18:38:48 +03:00
  • 5457b04a1c interceptor fail ueno 2022-06-26 00:12:50 +09:00
  • bed7551652 go.mod: tidy ueno 2022-06-26 00:10:36 +09:00
  • 5941d9b0ef Recover from lnd failure Yaacov Akiba Slama 2022-05-16 11:51:50 +03:00
  • ad0595f3f9 Log the amount and the privacy flag of the channel Yaacov Akiba Slama 2022-04-29 08:04:49 +03:00
  • 91d8730097 Add MIT License Yaacov Akiba Slama 2022-03-04 07:57:53 +02:00
  • ad0da518ed Retrieve the channel amount and the channel privacy from the environment Yaacov Akiba Slama 2022-02-28 22:21:49 +02:00
  • 7291d535ee Add the ability to handle client with zero channel reserve Yaacov Akiba Slama 2021-07-12 11:13:08 +03:00
  • fda001f80a Increase the fees to 0.4% and set min fees to 2000 sats Yaacov Akiba Slama 2021-07-11 13:56:19 +03:00
  • b86a77ab69 Add channel creation minimum fees Yaacov Akiba Slama 2021-06-16 18:33:01 +03:00
  • 193e3639d9 Disable email sending when channel mismatch Yaacov Akiba Slama 2021-05-30 12:19:43 +03:00
  • ad31aa8921 Synchronize channels to DB after each block and check channels from DB Yaacov Akiba Slama 2021-05-24 12:24:54 +03:00
  • 133c87ec27 Don't fail when adding twice the same payment_hash Yaacov Akiba Slama 2021-05-09 21:07:23 +03:00
  • ee75d838a1 Add field last_update to channels Yaacov Akiba Slama 2021-04-05 18:31:02 +03:00
  • 8ca6ca87fd Synchronize private channels from lnd to the channels table every hour Yaacov Akiba Slama 2021-03-19 13:47:36 +02:00
  • 76f51e2ba7 Ensure that private and public channels have different capacity Yaacov Akiba Slama 2021-03-16 10:55:35 +02:00
  • 78b9f2fdc4 Use an unique amount Yaacov Akiba Slama 2021-03-15 20:06:55 +02:00
  • 36001958e2 Use a target of 6 blocks when opening a public channel Yaacov Akiba Slama 2021-03-14 16:05:03 +02:00
  • ab2be36642 Change OpenChannel endpoint to open public channels Yaacov Akiba Slama 2021-03-11 17:04:15 +02:00
  • d532a78143 Add new field maxInactiveDuration Yaacov Akiba Slama 2021-02-21 17:19:02 +02:00
  • ece77f65e1 Downgrade google.golang.org/grpc to 1.29.1 Yaacov Akiba Slama 2021-02-11 17:13:15 +02:00
  • f3a66cc6fb Fix typo in the field name Yaacov Akiba Slama 2021-02-05 10:10:10 +02:00
  • aca8c4f2c0 Add forwarding history sync from lnd to db Yaacov Akiba Slama 2021-02-05 07:11:53 +02:00
  • 22b2b365ed Returns the short channel id if the channel is already confirmed Yaacov Akiba Slama 2021-01-03 18:49:44 +02:00
  • 97fdf045e4 Initialize the the map before using it Yaacov Akiba Slama 2020-12-30 17:00:08 +02:00
  • ea54442821 Fix typo in logging Yaacov Akiba Slama 2020-12-29 16:32:21 +02:00
  • 11dc17ae2d Add checkChannels grpc function Yaacov Akiba Slama 2020-12-24 18:01:57 +02:00
  • aa0db5402c Add dynamic channel creation documentation Yaacov Akiba Slama 2020-11-16 12:14:37 +02:00
  • f407ec9e9c Handle interception probing payments Yaacov Akiba Slama 2020-11-08 17:46:26 +02:00
  • faff8f60a9 Fix migration file name Yaacov Akiba Slama 2020-11-08 17:34:09 +02:00
  • 34a38ba99c Decrease target conf to 6 Yaacov Akiba Slama 2020-10-01 17:04:15 +03:00
  • 980d2b40e5 Remove channel_fee_start_amount and add channel_fee_permyriad Yaacov Akiba Slama 2020-09-09 17:41:12 +03:00
  • 5e4f1a1aeb Check the amounts when using RegisterPayments Yaacov Akiba Slama 2020-08-31 16:03:39 +03:00
  • 630c6c3803 Send email notification (using aws ses) when a channel is created Yaacov Akiba Slama 2020-08-25 17:19:35 +03:00
  • a8d226abb8 Obtain node name and pubkey from the node itself if not found in env Yaacov Akiba Slama 2020-08-18 17:03:18 +03:00
  • a6c770462d Add postgresql migration files Yaacov Akiba Slama 2020-08-16 12:15:02 +03:00
  • 5ec237e4a4 Fix channelPoint to string Yaacov Akiba Slama 2020-08-11 19:26:48 +03:00
  • 987e6a1ff5 Wait for the new channel to be active before resuming the htlc Yaacov Akiba Slama 2020-08-11 17:16:04 +03:00
  • 26cd383aa9 Add intercept functionality to lspd to create channels on the fly. Yaacov Akiba Slama 2020-08-06 16:24:29 +03:00
  • 3d5d4a5283 Update certmagic Yaacov Akiba Slama 2020-08-02 14:50:54 +03:00
  • a5db418f43 Add RegisterPayment to lspd Yaacov Akiba Slama 2020-08-02 14:45:47 +03:00
  • 8dbb2f54ca Update lnd dependency Yaacov Akiba Slama 2019-11-04 16:50:53 +02:00
  • 795625ca3f Add optional support for Let's Encrypt certificate Yaacov Akiba Slama 2019-08-27 18:10:45 +03:00
  • 1d6aa3a328 Fix the PR link to customize the channel reserve Yaacov Akiba Slama 2019-08-26 19:19:57 +03:00
  • b08cc2b438 Add instructions for customizing the channel reserve Yaacov Akiba Slama 2019-08-18 11:37:56 +03:00
  • d897761c3c Use constants instead of hard coded values Yaacov Akiba Slama 2019-08-18 11:32:47 +03:00
  • aafdb5eee9 Add a way to generate a random token using openssl Yaacov Akiba Slama 2019-08-18 11:27:53 +03:00
  • dbaeb08002 Improve the description of the parameters related to forward fees Yaacov Akiba Slama 2019-08-18 11:27:16 +03:00
  • da159fe6fa Update README.md kingonly 2019-08-15 15:39:10 +03:00
  • afcfa34d9e Update README.md kingonly 2019-08-15 15:33:49 +03:00
  • 566e175acb Update README.md kingonly 2019-08-15 15:32:25 +03:00
  • 858a128209 Update README.md kingonly 2019-08-15 15:31:48 +03:00
  • 1e4a9bd96f Update README.md kingonly 2019-08-15 15:28:25 +03:00
  • ec39a26b5b Update README.md kingonly 2019-08-15 15:01:12 +03:00
  • 64c18c879b Update README.md kingonly 2019-08-15 14:59:12 +03:00
  • 35afbb5efa Update README.md kingonly 2019-08-15 14:58:32 +03:00
  • 55dc828b62 Add some documentation Yaacov Akiba Slama 2019-08-14 17:47:54 +03:00
  • 3eaae4d273 Create README.md Yaacov Akiba Slama 2019-08-14 16:54:08 +03:00
  • 254b2c9dfb Add lspd grpc documentation Yaacov Akiba Slama 2019-08-14 16:24:45 +03:00
  • a4ab8bf8fa Add authorization check using token Yaacov Akiba Slama 2019-07-22 16:42:23 +03:00
  • ab824d1565 Add output index to OpenChannelReply Yaacov Akiba Slama 2019-07-22 15:12:35 +03:00
  • 93eb57364c Format the proto file Yaacov Akiba Slama 2019-07-22 14:21:37 +03:00
  • 79d230fd6a Rename CanOpenChannel to ChannelInformation and add other info Yaacov Akiba Slama 2019-07-18 16:52:38 +03:00
  • 5e48f77ab3 Change rpc package name Yaacov Akiba Slama 2019-07-17 17:51:57 +03:00
  • 1cd9ecac5c Use full module name Yaacov Akiba Slama 2019-07-17 17:49:15 +03:00
  • 192135b224 First version Yaacov Akiba Slama 2019-07-17 17:32:47 +03:00