Skip to content

fix(chain): Assume CF header is checked when in header only - #608

Merged
rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:26-10-22-cfheader-bug
Sep 22, 2026
Merged

rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:26-10-22-cfheader-bug

Conversation

@rustaceanrob

Copy link
Copy Markdown
Member

Headers-only sync caused a condition where, if more than 1 peer is used to sync, the CF headers would not have a commitment when doing a handshake with the second peer, causing the node to download all the CF headers from the checkpoint. Whenever assume_checked_to is called, the filter headers are also marked as checked here.

Headers-only sync caused a condition where, if more than 1 peer is
used to sync, the CF headers would not have a commitment when doing a
handshake with the second peer, causing the node to download all the CF
headers from the checkpoint. Whenever `assume_checked_to` is called, the
filter headers are also marked as checked here.
@rustaceanrob
rustaceanrob merged commit 241e52f into 2140-dev:master Sep 22, 2026
10 checks passed
@rustaceanrob
rustaceanrob deleted the 26-10-22-cfheader-bug branch September 22, 2026 20:51
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