]> git.bitcoin.ninja Git - ldk-sample/log
ldk-sample
15 months agoManually accept inbound channels
Wilmer Paulino [Mon, 14 Aug 2023 15:57:45 +0000 (08:57 -0700)]
Manually accept inbound channels

Since we plan to add support for opening anchor outputs channels, we'll
need to support manually accepting inbound channels first to do so.

15 months agoMerge pull request #109 from valentinewallace/2023-07-detect-bgproc-exit
Jeffrey Czyz [Mon, 7 Aug 2023 19:35:09 +0000 (14:35 -0500)]
Merge pull request #109 from valentinewallace/2023-07-detect-bgproc-exit

Detect if the background processor exits early and shutdown if so

15 months agoMerge pull request #110 from tnull/2023-08-no-chrono-default-features
Matt Corallo [Mon, 7 Aug 2023 03:05:42 +0000 (03:05 +0000)]
Merge pull request #110 from tnull/2023-08-no-chrono-default-features

15 months agoDon't use `chrono` default features
Elias Rohrer [Sun, 6 Aug 2023 17:00:50 +0000 (19:00 +0200)]
Don't use `chrono` default features

The `chrono` crate has a dependency on an old version of `time` which
has a potential segfault. We therefore disable the default features.

15 months agoDetect if the background processor exits early and shutdown if so
Valentine Wallace [Thu, 3 Aug 2023 21:22:25 +0000 (14:22 -0700)]
Detect if the background processor exits early and shutdown if so

15 months agoMerge pull request #107 from tnull/2023-07-upgrade-to-0.0.116
Matt Corallo [Sun, 30 Jul 2023 22:34:59 +0000 (22:34 +0000)]
Merge pull request #107 from tnull/2023-07-upgrade-to-0.0.116

Upgrade to LDK 0.0.116

15 months agoUpgrade to LDK 0.0.116
Elias Rohrer [Fri, 7 Jul 2023 12:44:07 +0000 (14:44 +0200)]
Upgrade to LDK 0.0.116

15 months agoMerge pull request #104 from zoedberg/persist_payments
Matt Corallo [Tue, 25 Jul 2023 18:37:07 +0000 (18:37 +0000)]
Merge pull request #104 from zoedberg/persist_payments

persist payments info to disk

15 months agopersist payments info to disk
Zoe Faltibà [Wed, 10 May 2023 15:40:47 +0000 (17:40 +0200)]
persist payments info to disk

16 months agoMerge pull request #106 from tnull/2023-07-fix-github-actions
Matt Corallo [Fri, 14 Jul 2023 00:14:33 +0000 (00:14 +0000)]
Merge pull request #106 from tnull/2023-07-fix-github-actions

Update CI to remove deprecated actions

16 months agoMerge pull request #108 from domZippilli/2023-07-relax-peer-reconnect-tick-behavior
Matt Corallo [Wed, 12 Jul 2023 19:31:54 +0000 (19:31 +0000)]
Merge pull request #108 from domZippilli/2023-07-relax-peer-reconnect-tick-behavior

Switch missed tick behavior to delay instead of default burst

16 months agoswitch missed tick behavior to delay instead of default burst
Dom Zippilli [Wed, 12 Jul 2023 18:54:10 +0000 (11:54 -0700)]
switch missed tick behavior to delay instead of default burst

16 months agoUpdate CI to remove deprecated actions
Elias Rohrer [Thu, 6 Jul 2023 12:41:48 +0000 (14:41 +0200)]
Update CI to remove deprecated actions

18 months agoMerge pull request #103 from TheBlueMatt/main
Elias Rohrer [Fri, 19 May 2023 12:40:07 +0000 (14:40 +0200)]
Merge pull request #103 from TheBlueMatt/main

Make SpendableOutput claims more robust

18 months agoTry to sweep `SpendableOutputs` regularly, and in bulk
Matt Corallo [Sun, 7 May 2023 18:12:20 +0000 (18:12 +0000)]
Try to sweep `SpendableOutputs` regularly, and in bulk

Rather than trying to sweep `SpendableOutputs` every time we see
one, try to sweep them in bulk once an hour. Then, try to sweep
them repeatedly every hour forever, even after they're claimed.

Fixes #102.

18 months agoAnnounce node_announcemnet even without listen addresses
Matt Corallo [Sun, 7 May 2023 03:20:08 +0000 (03:20 +0000)]
Announce node_announcemnet even without listen addresses

Even if we don't have any listen addresses, it's still useful to
broadcast a node_announcement to get our node_features out there.

Here we do this and also improve the timing of our
node_announcement updates to be less spammy.

18 months agoMerge pull request #100 from TheBlueMatt/main
Elias Rohrer [Wed, 26 Apr 2023 09:25:39 +0000 (11:25 +0200)]
Merge pull request #100 from TheBlueMatt/main

Update to LDK 0.0.115

18 months agoDrop windows-latest stable rustc build as it now fails
Matt Corallo [Wed, 26 Apr 2023 00:56:58 +0000 (00:56 +0000)]
Drop windows-latest stable rustc build as it now fails

Needs a backport of the fixes in [1] to ntapi 0.3.

[1] https://github.com/MSxDOS/ntapi/issues/15

18 months agoUpdate Cargo.lock
Matt Corallo [Wed, 26 Apr 2023 00:25:20 +0000 (00:25 +0000)]
Update Cargo.lock

18 months agoLog ChannelPending events
Matt Corallo [Tue, 25 Apr 2023 05:57:00 +0000 (05:57 +0000)]
Log ChannelPending events

18 months agoPrint the ultimate payment failure reason on PaymentFailed events
Matt Corallo [Mon, 24 Apr 2023 15:52:24 +0000 (15:52 +0000)]
Print the ultimate payment failure reason on PaymentFailed events

18 months agoSwitch to using the async background processor
Matt Corallo [Mon, 24 Apr 2023 03:21:42 +0000 (03:21 +0000)]
Switch to using the async background processor

This drops a full thread from the sample node and better integrates
LDK into the tokio runtime. While we're at it we also push the
`Event` being processed by move into the event handler, which
doesn't matter much here but makes further modification in the
event handling somewhat simpler.

18 months agoUpdate to LDK 0.0.115
Matt Corallo [Sun, 23 Apr 2023 17:12:40 +0000 (17:12 +0000)]
Update to LDK 0.0.115

18 months agoDrop `futures` dependency with `tokio::select`
Matt Corallo [Sun, 23 Apr 2023 17:03:57 +0000 (17:03 +0000)]
Drop `futures` dependency with `tokio::select`

Manually poll'ing a future every 10ms rather than selecting across
it and a timer is less effecient, and certainly not worth taking a
dependency to do.

19 months agoMerge pull request #99 from TheBlueMatt/main
Elias Rohrer [Mon, 27 Mar 2023 11:56:07 +0000 (13:56 +0200)]
Merge pull request #99 from TheBlueMatt/main

Don't panic on tx broadcast failures

19 months agoDon't panic on tx broadcast failures
Matt Corallo [Thu, 23 Mar 2023 19:14:08 +0000 (19:14 +0000)]
Don't panic on tx broadcast failures

In general LDK will often broadcast transactions which aren't
actually able to get into the mempool. That's generally fine,
though could indicate a significant issue. Thus, we previously had
a panic in place for it to ensure developers are notified and we
can investigate.

However, now that people are trying to actually *use* ldk-sample,
we should just remove the panic and print something with more
details.

19 months agoPass a logger through into `BitcoindClient`
Matt Corallo [Fri, 24 Mar 2023 22:15:32 +0000 (22:15 +0000)]
Pass a logger through into `BitcoindClient`

20 months agoMerge pull request #97 from valentinewallace/2023-02-0.0.114
Matt Corallo [Tue, 7 Mar 2023 18:41:44 +0000 (18:41 +0000)]
Merge pull request #97 from valentinewallace/2023-02-0.0.114

Update to LDK version 0.0.114

20 months agoUpdate to LDK v0.0.114
Valentine Wallace [Tue, 7 Mar 2023 17:02:36 +0000 (12:02 -0500)]
Update to LDK v0.0.114

21 months agoMerge pull request #96 from TheBlueMatt/main
Elias Rohrer [Fri, 10 Feb 2023 14:22:23 +0000 (15:22 +0100)]
Merge pull request #96 from TheBlueMatt/main

Its 2023, its time to support v6

21 months agoIts 2023, its time to support v6
Matt Corallo [Wed, 8 Feb 2023 17:52:44 +0000 (17:52 +0000)]
Its 2023, its time to support v6

21 months agoMerge pull request #95 from freddiekrugerrand/01-22-startupargs
Elias Rohrer [Wed, 1 Feb 2023 21:50:41 +0000 (22:50 +0100)]
Merge pull request #95 from freddiekrugerrand/01-22-startupargs

Prompt user to provide at least 2 arguments rather than 3

21 months agoPrompt user to provide at least 2 arguments rather than 3
FreddieKrugerrand [Wed, 1 Feb 2023 20:23:00 +0000 (15:23 -0500)]
Prompt user to provide at least 2 arguments rather than 3

env::args returns the name of the binary, which isn't something
the end user would think about. So while we require at least 3
arguments, it makes sense to only ask for 2.

22 months agoMerge pull request #94 from TheBlueMatt/main
Elias Rohrer [Wed, 11 Jan 2023 19:15:53 +0000 (20:15 +0100)]
Merge pull request #94 from TheBlueMatt/main

Restore MSRV to 1.48

22 months agoRestore MSRV to 1.48
Matt Corallo [Wed, 11 Jan 2023 18:37:08 +0000 (18:37 +0000)]
Restore MSRV to 1.48

This reverts 810054ead2e022a771e902c26327313597947b96 and reverts
some `Cargo.lock` changes in fbb1f231ef0e1e8362d353e5d4e3aaecba42a

22 months agoMerge pull request #93 from tnull/2023-01-update-to-v0.0.113
Elias Rohrer [Wed, 11 Jan 2023 14:40:32 +0000 (15:40 +0100)]
Merge pull request #93 from tnull/2023-01-update-to-v0.0.113

Update to LDK release 0.0.113

22 months agoRaise MSRV to 1.49.0, following tokio
Elias Rohrer [Wed, 11 Jan 2023 11:45:13 +0000 (12:45 +0100)]
Raise MSRV to 1.49.0, following tokio

22 months agoUpdate for LDK release 0.0.113
Elias Rohrer [Wed, 11 Jan 2023 11:26:11 +0000 (12:26 +0100)]
Update for LDK release 0.0.113

22 months agoMerge pull request #89 from alecchendev/parse-env-followup
Matt Corallo [Thu, 5 Jan 2023 23:34:32 +0000 (23:34 +0000)]
Merge pull request #89 from alecchendev/parse-env-followup

Followup: Parse .cookie, .env, or environment variables for RPC auth details

22 months agoMerge pull request #85 from ch1ru/main
valentinewallace [Thu, 5 Jan 2023 17:14:43 +0000 (12:14 -0500)]
Merge pull request #85 from ch1ru/main

Add `disconnectpeer` subcommand

22 months agoChange order of where to find rpc auth
Alec Chen [Thu, 5 Jan 2023 01:41:41 +0000 (19:41 -0600)]
Change order of where to find rpc auth

22 months agoFix testnet datadir path
Alec Chen [Thu, 5 Jan 2023 01:36:13 +0000 (19:36 -0600)]
Fix testnet datadir path

22 months agoMerge pull request #87 from alecchendev/parse-env
Matt Corallo [Thu, 5 Jan 2023 00:49:06 +0000 (00:49 +0000)]
Merge pull request #87 from alecchendev/parse-env

Parse .cookie, .env, or environment variables for RPC auth details

22 months agoParse .cookie, .env, or environment variables for RPC auth details
Alec Chen [Tue, 20 Dec 2022 01:28:59 +0000 (19:28 -0600)]
Parse .cookie, .env, or environment variables for RPC auth details

2 years agoMerge pull request #78 from MaxFangX/fix-chanman-race-panic
Jeffrey Czyz [Wed, 2 Nov 2022 20:52:18 +0000 (15:52 -0500)]
Merge pull request #78 from MaxFangX/fix-chanman-race-panic

Fix channel manager race panic

2 years agoRemove `chain_tip`'s unneeded `Option`
Max Fang [Wed, 2 Nov 2022 20:15:50 +0000 (13:15 -0700)]
Remove `chain_tip`'s unneeded `Option`

2 years agoFix channel manager race panic
Max Fang [Tue, 18 Oct 2022 01:57:58 +0000 (18:57 -0700)]
Fix channel manager race panic

The race:
- (1) If a channel manager is starting for the first time, it gets its
  initial block hash by calling BlockSource::get_blockchain_info() and
  constructing a BestBlock out of that.
- (2) During the initial chain sync, if chain_tip.is_none() then the
  best chain_tip is retrieved using
  lightning_block_sync::init::validate_best_block_header() which
  similarly uses BlockSource::get_best_block()
- If blocks were mined between (1) and (2), the channel manager’s block
  hash will be at a lower height than that of the block hash contained
  inside the chain_tip fed to the SpvClient. Suppose that this results
  in the channel manager being at block 1 and the SpvClient being at
  block 2. Once block 3 comes in and the SpvClient detects it via
  poll_best_tip(), the SpvClient computes the ChainDifference between
  its saved chain_tip value and block 3, concluding that it just needs
  to connect block 3. However, when Listen::filtered_block_connected is
  called using the data in block 3, the channel manager panics with
  “Blocks must be connected in chain-order - the connected header must
  build on the last connected header” - because block 3’s prev block
  hash is block 2’s block hash, rather than block 1’s block hash which
  the channel manager expects

This commit fixes it by removing the fresh channel manager's query to
the block source, instead deriving its best block from the validated
block header using a new `.to_best_block()` method.

2 years agoMerge pull request #86 from MaxFangX/update-lock
Matt Corallo [Wed, 2 Nov 2022 19:40:04 +0000 (19:40 +0000)]
Merge pull request #86 from MaxFangX/update-lock

Update Cargo.lock to reflect new package name

2 years agoUpdate Cargo.lock to reflect new package name
Max Fang [Wed, 2 Nov 2022 18:46:08 +0000 (11:46 -0700)]
Update Cargo.lock to reflect new package name

2 years agoAdd `disconnectpeer` subcommand
Chiru [Tue, 1 Nov 2022 17:29:33 +0000 (17:29 +0000)]
Add `disconnectpeer` subcommand

Disconnect peer with `disconnectpeer <pubkey>`.
Checks all channels are closed before disconnecting.

2 years agoMerge pull request #82 from TheBlueMatt/main
valentinewallace [Tue, 1 Nov 2022 00:46:09 +0000 (20:46 -0400)]
Merge pull request #82 from TheBlueMatt/main

Update to LDK 0.0.112

2 years agoUpdate Cargo.lock
Matt Corallo [Mon, 31 Oct 2022 02:06:13 +0000 (02:06 +0000)]
Update Cargo.lock

2 years agoProvide an MSRV of 1.48
Matt Corallo [Mon, 31 Oct 2022 01:37:43 +0000 (01:37 +0000)]
Provide an MSRV of 1.48

2 years agoUpdate to LDK 0.0.112
Matt Corallo [Mon, 31 Oct 2022 00:03:46 +0000 (00:03 +0000)]
Update to LDK 0.0.112

2 years agoMerge pull request #84 from tnull/2022-10-update-package-name
Matt Corallo [Mon, 31 Oct 2022 16:21:52 +0000 (16:21 +0000)]
Merge pull request #84 from tnull/2022-10-update-package-name

2 years agoUpdate package name to `ldk-sample`
Elias Rohrer [Mon, 31 Oct 2022 15:31:58 +0000 (16:31 +0100)]
Update package name to `ldk-sample`

So far the name was `ldk-tutorial-node`, we now update this to align
with the repository.

2 years agoMerge pull request #83 from ch1ru/main
Elias Rohrer [Mon, 31 Oct 2022 15:30:27 +0000 (16:30 +0100)]
Merge pull request #83 from ch1ru/main

Semantically sort subheadings

2 years agoSemantically sort subheadings
Chiru [Mon, 31 Oct 2022 15:21:13 +0000 (15:21 +0000)]
Semantically sort subheadings

2 years agoMerge pull request #77 from tnull/2022-10-catch-ctrlc
Matt Corallo [Mon, 24 Oct 2022 21:10:39 +0000 (21:10 +0000)]
Merge pull request #77 from tnull/2022-10-catch-ctrlc

Catch Ctrl-C and enable Ctrl-D

2 years agoAdd CI jobs for `windows-latest` and `macos-latest`
Elias Rohrer [Tue, 18 Oct 2022 16:49:46 +0000 (18:49 +0200)]
Add CI jobs for `windows-latest` and `macos-latest`

2 years agoIgnore Ctrl-C and enable Ctrl-D
Elias Rohrer [Sun, 16 Oct 2022 06:23:29 +0000 (08:23 +0200)]
Ignore Ctrl-C and enable Ctrl-D

We ignore Ctrl-C/SIGINT via a dummy signal handler and enable the use of
Ctrl-D. For convenience, we introduce "exit" and "quit" cli commands.

2 years agoMerge pull request #79 from MaxFangX/fix-blocksource-impl
Jeffrey Czyz [Tue, 18 Oct 2022 14:35:12 +0000 (09:35 -0500)]
Merge pull request #79 from MaxFangX/fix-blocksource-impl

impl `BlockSource` on `BitcoindClient` instead of `&BitcoindClient`

2 years agoimpl `BlockSource` on `T`, instead of `&T`
Max Fang [Tue, 18 Oct 2022 02:29:52 +0000 (19:29 -0700)]
impl `BlockSource` on `T`, instead of `&T`

2 years agoMerge pull request #72 from MaxFangX/make-send-sync
Matt Corallo [Wed, 5 Oct 2022 18:21:58 +0000 (18:21 +0000)]
Merge pull request #72 from MaxFangX/make-send-sync

Make `ldk-sample` `Send` + `Sync`

2 years agoMake `ldk-sample` `Send` + `Sync`
Max Fang [Wed, 5 Oct 2022 02:53:09 +0000 (19:53 -0700)]
Make `ldk-sample` `Send` + `Sync`

This makes it possible to run ldk-sample in a tokio task, e.g.

```rust
pub async fn main() {
    tokio::spawn(async move {
        start_ldk().await;
    })
        .await
        .expect("LDK panicked")
}
```

2 years agoMerge pull request #70 from valentinewallace/2022-09-ldk-0.0.111
Matt Corallo [Thu, 15 Sep 2022 20:06:32 +0000 (20:06 +0000)]
Merge pull request #70 from valentinewallace/2022-09-ldk-0.0.111

Update to LDK 0.0.111

2 years agoMerge pull request #71 from tnull/2022-09-improve-hex-utils
Matt Corallo [Thu, 15 Sep 2022 20:02:12 +0000 (20:02 +0000)]
Merge pull request #71 from tnull/2022-09-improve-hex-utils

Small improvements of `hex_utils`

2 years agoSmall improvements of `hex_utils`
Elias Rohrer [Wed, 14 Sep 2022 10:52:19 +0000 (12:52 +0200)]
Small improvements of `hex_utils`

2 years agoUpdate to LDK 0.0.111 and add command for sending an empty onion message
Valentine Wallace [Tue, 13 Sep 2022 21:07:48 +0000 (17:07 -0400)]
Update to LDK 0.0.111 and add command for sending an empty onion message

2 years agoMerge pull request #65 from standardsats/main
Matt Corallo [Mon, 5 Sep 2022 16:06:31 +0000 (16:06 +0000)]
Merge pull request #65 from standardsats/main

Update README.md

2 years agoMerge pull request #68 from tnull/2022-09-05-dont-double-check-addr
Matt Corallo [Mon, 5 Sep 2022 16:05:42 +0000 (16:05 +0000)]
Merge pull request #68 from tnull/2022-09-05-dont-double-check-addr

Remove redundant `is_none()` check

2 years agoRemove redundant `is_none()` check
Elias Rohrer [Mon, 5 Sep 2022 10:18:30 +0000 (12:18 +0200)]
Remove redundant `is_none()` check

We don't need to check the same iterator twice. And, as at this point
pubkey will always be `Some(..)`, we don't need to check it either.
We therefore can just remove the first part of the condition.

2 years agoMerge pull request #67 from catenocrypt/main
Matt Corallo [Sat, 20 Aug 2022 21:55:08 +0000 (21:55 +0000)]
Merge pull request #67 from catenocrypt/main

Add --public option to openchannel command help

2 years agoAdd --public option to openchannel command help
catenocrypt [Sat, 20 Aug 2022 20:08:37 +0000 (22:08 +0200)]
Add --public option to openchannel command help

2 years agoUpdate README.md
Ilya Evdokimov [Sun, 31 Jul 2022 10:15:40 +0000 (12:15 +0200)]
Update README.md

2 years agoMerge pull request #66 from tnull/2022-07-update-to-0.0.110
Matt Corallo [Thu, 28 Jul 2022 17:38:50 +0000 (17:38 +0000)]
Merge pull request #66 from tnull/2022-07-update-to-0.0.110

Update to LDK v0.0.110

2 years agoUpdate to v0.0.110
Elias Rohrer [Wed, 27 Jul 2022 07:24:13 +0000 (09:24 +0200)]
Update to v0.0.110

2 years agoMerge pull request #64 from TheBlueMatt/main
Matt Corallo [Mon, 18 Jul 2022 20:53:50 +0000 (20:53 +0000)]
Merge pull request #64 from TheBlueMatt/main

2 years agoCorrect logging on forwarded HTLCs
Matt Corallo [Sat, 16 Jul 2022 15:48:39 +0000 (15:48 +0000)]
Correct logging on forwarded HTLCs

Instead of "forwarded from A from B" it should read "forwarded
from A to B".

2 years agoMerge pull request #62 from TheBlueMatt/main
Jeffrey Czyz [Sat, 9 Jul 2022 01:01:37 +0000 (20:01 -0500)]
Merge pull request #62 from TheBlueMatt/main

Update to LDK 0.0.109

2 years agoUpdate Cargo.lock with tokio 1.14.1, matching our MSRV
Matt Corallo [Thu, 7 Jul 2022 14:41:42 +0000 (14:41 +0000)]
Update Cargo.lock with tokio 1.14.1, matching our MSRV

2 years agoUpdate code and Cargo.toml to LDK 0.0.109
Matt Corallo [Thu, 7 Jul 2022 14:41:14 +0000 (14:41 +0000)]
Update code and Cargo.toml to LDK 0.0.109

2 years agoMerge pull request #59 from jkczyz/2022-06-ldk-108
Matt Corallo [Sat, 11 Jun 2022 08:14:50 +0000 (01:14 -0700)]
Merge pull request #59 from jkczyz/2022-06-ldk-108

2 years agoUpdate Cargo.lock
Jeffrey Czyz [Fri, 10 Jun 2022 22:00:29 +0000 (17:00 -0500)]
Update Cargo.lock

2 years agoUpdate to LDK 0.0.108
Jeffrey Czyz [Fri, 10 Jun 2022 21:55:53 +0000 (16:55 -0500)]
Update to LDK 0.0.108

2 years agoMerge pull request #58 from jkczyz/2022-05-ldk-107
Matt Corallo [Thu, 9 Jun 2022 22:19:19 +0000 (15:19 -0700)]
Merge pull request #58 from jkczyz/2022-05-ldk-107

Update to LDK 0.0.107

2 years agoUpdate Cargo.lock
Jeffrey Czyz [Thu, 9 Jun 2022 00:48:40 +0000 (19:48 -0500)]
Update Cargo.lock

2 years agoUse a 10-second timeout for InvoicePayer
Jeffrey Czyz [Thu, 9 Jun 2022 16:14:53 +0000 (11:14 -0500)]
Use a 10-second timeout for InvoicePayer

2 years agoAvoid cloning Arcs when handling each event
Jeffrey Czyz [Thu, 19 May 2022 02:47:04 +0000 (21:47 -0500)]
Avoid cloning Arcs when handling each event

2 years agoPrint next and previous nodes for PaymentForwarded
Jeffrey Czyz [Thu, 19 May 2022 02:36:56 +0000 (21:36 -0500)]
Print next and previous nodes for PaymentForwarded

2 years agoUpdate to LDK 0.0.107
Jeffrey Czyz [Wed, 18 May 2022 19:21:44 +0000 (14:21 -0500)]
Update to LDK 0.0.107

2 years agoMerge pull request #57 from meryacine/main
Matt Corallo [Sun, 17 Apr 2022 18:27:44 +0000 (18:27 +0000)]
Merge pull request #57 from meryacine/main

Add a help message for the `keysend` command

2 years agoAdd a help message for the `keysend` command
meryacine [Sun, 17 Apr 2022 10:30:03 +0000 (12:30 +0200)]
Add a help message for the `keysend` command

2 years agoMerge pull request #56 from TheBlueMatt/main
Jeffrey Czyz [Tue, 5 Apr 2022 18:37:39 +0000 (11:37 -0700)]
Merge pull request #56 from TheBlueMatt/main

Stop connecting outbound on shutdown in addition to stopping listen

2 years agoStop connecting outbound on shutdown in addition to stopping listen
Matt Corallo [Sun, 3 Apr 2022 02:26:07 +0000 (02:26 +0000)]
Stop connecting outbound on shutdown in addition to stopping listen

Now that we persist the network graph on shutdown, there is a
nontrivial amount of time spent between when we start shutdown and
when we complete. Thus, and to be somewhat more pedantic as a
sample implementation, we should really stop making new outbound
connections once shutdown starts, and not only focus on new inbound
connections.

2 years agoMerge pull request #51 from jkczyz/2022-03-ldk-106
Matt Corallo [Mon, 4 Apr 2022 20:09:44 +0000 (20:09 +0000)]
Merge pull request #51 from jkczyz/2022-03-ldk-106

Update to LDK 0.0.106

2 years agoUpdate Cargo.lock
Jeffrey Czyz [Wed, 23 Mar 2022 18:01:14 +0000 (13:01 -0500)]
Update Cargo.lock

2 years agoUpdate to LDK 0.0.106
Jeffrey Czyz [Wed, 23 Mar 2022 18:01:05 +0000 (13:01 -0500)]
Update to LDK 0.0.106

2 years agoMerge pull request #55 from TheBlueMatt/2022-03-node-alias
Matt Corallo [Tue, 29 Mar 2022 23:13:30 +0000 (23:13 +0000)]
Merge pull request #55 from TheBlueMatt/2022-03-node-alias

2 years agoMerge pull request #54 from TheBlueMatt/main
Matt Corallo [Tue, 29 Mar 2022 23:13:17 +0000 (23:13 +0000)]
Merge pull request #54 from TheBlueMatt/main