diff --git a/zakurad/src/components/sync.rs b/zakurad/src/components/sync.rs
index 26bb8232e..4a77977b6 100644
--- a/zakurad/src/components/sync.rs
+++ b/zakurad/src/components/sync.rs
@@ -1297,8 +1297,9 @@ where
);
let tip_network = self.tip_network.clone();
+ let state = self.state.clone();
let tips = std::mem::take(&mut self.prospective_tips);
- extend = Some(Box::pin(Self::build_extend(tip_network, tips)));
+ extend = Some(Box::pin(Self::build_extend(tip_network, state, tips)));
}
// Dispatch from the reserve while we're below the lookahead limit.
@@ -1493,6 +1494,101 @@ where
Ok(())
}
+ async fn first_unknown_in_find_blocks_response(
+ &mut self,
+ hashes: &[block::Hash],
+ ) -> Result