Skip to content

Check block ancestor is in chain before propagation #1451

@AgeManning

Description

@AgeManning

Description

Check the finalized_checkpoint is an ancestor of a gossiped block before gossiping.

Specifically this from the network specs:

The current finalized_checkpoint is an ancestor of block -- i.e. get_ancestor(store, block.parent_root, compute_start_slot_at_epoch(store.finalized_checkpoint.epoch)) == store.finalized_checkpoint.root 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions