Skip to content

Commit

Permalink
f - Mention BackgroundProcessor in NetworkUpdateHandler docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkczyz committed Aug 19, 2021
1 parent 971e668 commit 788e591
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lightning/src/routing/network_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ impl_writeable_tlv_based_enum_upgradable!(NetworkUpdate,
/// Once `event_handler` has been decorated, use it with any implementation of [`EventsProvider`] as
/// usual.
///
/// # Note
///
/// [`BackgroundProcessor`] is configured to decorate the user-provided [`EventHandler`] with this
/// handler.
///
/// [`EventsProvider`]: crate::util::events::EventsProvider
/// [`BackgroundProcessor`]: ../../../lightning_background_processor/struct.BackgroundProcessor.html
pub struct NetworkUpdateHandler<G: Deref<Target=NetworkGraph>, L: Deref, E: EventHandler>
where L::Target: Logger {
secp_ctx: Secp256k1<secp256k1::VerifyOnly>,
Expand Down

0 comments on commit 788e591

Please sign in to comment.