Skip to content

sync: fix some sync issues caused by prune-block.#2466

Merged
zzzckck merged 2 commits intobnb-chain:developfrom
galaio:fix_sync_issues
May 16, 2024
Merged

sync: fix some sync issues caused by prune-block.#2466
zzzckck merged 2 commits intobnb-chain:developfrom
galaio:fix_sync_issues

Conversation

@galaio
Copy link
Copy Markdown
Contributor

@galaio galaio commented May 16, 2024

Description

When user prunes block too much, the node will not sync again. This PR reset the sync floor, and fixed the ancient query bug.

Changes

Notable changes:

  • freezer: fix offset issues when query ancient;
  • sync: opt pruned node sync logic;

@galaio galaio requested review from buddh0 and zzzckck May 16, 2024 03:41
@zzzckck zzzckck merged commit 6b8cbbe into bnb-chain:develop May 16, 2024
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.

3 participants