Switch to using the async background processor
authorMatt Corallo <git@bluematt.me>
Mon, 24 Apr 2023 03:21:42 +0000 (03:21 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 25 Apr 2023 06:25:42 +0000 (06:25 +0000)
commit5f6bfd3fb2f6f91d7af323cacf807a26c41895eb
tree428ef1d8135e03ef9af3c916637bf873205116b5
parentbdc27445f9125c1c46d8a8b5d6b28dc290434492
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.
Cargo.toml
src/main.rs