Skip to content

wip/sync: Force peers into ancestry search when blocks are not locally known#11917

Open
lexnv wants to merge 2 commits intomasterfrom
lexnv/sync-foce-anc
Open

wip/sync: Force peers into ancestry search when blocks are not locally known#11917
lexnv wants to merge 2 commits intomasterfrom
lexnv/sync-foce-anc

Conversation

@lexnv
Copy link
Copy Markdown
Contributor

@lexnv lexnv commented Apr 28, 2026

This PR ensures peers are forced into ancestry search regardless if the announcement is the peer's current best.
This is because peers can reannounce their current best and we might continue on a different fork entirely.
Eventually, this will catchup to importing a block with an unkown parent.

Part of: #11916
Prior work: #11085

Next Steps

  • Validate on version

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv lexnv self-assigned this Apr 28, 2026
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Copy link
Copy Markdown
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

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

Please provide a test case.

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