pub async fn bootstrap_from_stream<S>(
    blockchain: Blockchain,
    branch: Tip,
    stream: S,
    cancellation_token: CancellationToken
) -> Result<Option<Arc<Ref>>, Error>where
    S: Stream<Item = Result<Block, Error>> + Unpin,