Function subscribe_blocks

Source
pub(crate) async fn subscribe_blocks(
    explorer: Arc<Explorerd>,
    endpoint: Url,
    executor: Arc<Executor<'static>>,
    reset: bool,
) -> Result<(Option<StoppableTaskPtr>, Option<StoppableTaskPtr>)>
Expand description

Subscribes to new blocks from the darkfid daemon, returning optional stoppable tasks for the subscriber and listener.