Skip to content

Conversation

@dapplion
Copy link
Owner

WIP

pub fn heads(&self) -> Vec<(Hash256, Slot)> {
self.head_tracker.heads()
todo!();
// self.head_tracker.heads()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be replaced with direct calls into fork-choice

pub fn knows_head(&self, block_hash: &SignedBeaconBlockHash) -> bool {
self.head_tracker.contains_head((*block_hash).into())
todo!();
// self.head_tracker.contains_head((*block_hash).into())
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be replaced with direct calls into fork-choice

new_view.finalized_checkpoint,
self.head_tracker.clone(),
todo!(),
// self.head_tracker.clone(),
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dapplion
Copy link
Owner Author

To be implemented upstream with

@dapplion dapplion closed this Jan 24, 2025
@dapplion dapplion deleted the drop-head-tracker branch January 24, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants