]> git.bitcoin.ninja Git - rust-lightning/commit
Correct `lightning-net-tokio` documentation, remove stale example
authorMatt Corallo <git@bluematt.me>
Thu, 9 Mar 2023 02:52:48 +0000 (02:52 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 31 Mar 2023 01:54:28 +0000 (01:54 +0000)
commit2fab8873f939242bcde16ee4b9a107d288e8c535
tree026d96bdd66ca8a360680574e179f0e9c0570f56
parent0e28bcb704446a376f0c9be449de03fbb22a431f
Correct `lightning-net-tokio` documentation, remove stale example

The `lightning-net-tokio` crate-level example contained a carryover
from when it was the primary notifier of the background processor
and now just shows an "example" of creating a method to call
another method with the same parameters and then do event
processing (which doesn't make sense, the BP should do that).

Instead, the examples are simply removed and the documentation is
tweaked to include recent changes.
lightning-net-tokio/src/lib.rs