Crate lightning_background_processor

Source
Expand description

Utilities that take care of tasks that (1) need to happen periodically to keep Rust-Lightning running properly, and (2) either can or should be run in the background. See docs for BackgroundProcessor for more details.

Structs§

BackgroundProcessorstd
BackgroundProcessor takes care of tasks that (1) need to happen periodically to keep Rust-Lightning running properly, and (2) either can or should be run in the background. Its responsibilities are:

Enums§

GossipSync
Either P2PGossipSync or RapidGossipSync.

Functions§

process_events_asyncfutures
Processes background events in a future.