Skip to content

[WIP] Drop HeadTracker#8

Closed
dapplion wants to merge 1 commit into
unstablefrom
drop-head-tracker
Closed

[WIP] Drop HeadTracker#8
dapplion wants to merge 1 commit into
unstablefrom
drop-head-tracker

Conversation

@dapplion

Copy link
Copy Markdown
Owner

WIP

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

1 participant