Skip to content

Improvements for the BSC stuck header sync#6653

Merged
AlexeyAkhunov merged 2 commits into
develfrom
bsc-debug
Jan 22, 2023
Merged

Improvements for the BSC stuck header sync#6653
AlexeyAkhunov merged 2 commits into
develfrom
bsc-debug

Conversation

@AlexeyAkhunov

@AlexeyAkhunov AlexeyAkhunov commented Jan 21, 2023

Copy link
Copy Markdown
Contributor

There are 3 changes:

  1. Replace anchorQueue with anchorTree to be able to always walk the anchors in the order of increasing blockHeights (not possible with the queue) to prioritise making progress on the lowest block heights
  2. Not increment nextRetryTime if the request was not sent
  3. Reduce the strides in skeleton from 8*192 to 192 to reduce reliance of the long series of requests to make progress

@AlexeyAkhunov AlexeyAkhunov merged commit 706a999 into devel Jan 22, 2023
@AlexeyAkhunov AlexeyAkhunov deleted the bsc-debug branch January 22, 2023 12:28
AlexeyAkhunov added a commit that referenced this pull request Jan 22, 2023
There are 3 changes:
1. Replace `anchorQueue` with `anchorTree` to be able to always walk the
anchors in the order of increasing blockHeights (not possible with the
queue) to prioritise making progress on the lowest block heights
2. Not increment `nextRetryTime` if the request was not sent
3. Reduce the strides in skeleton from `8*192` to `192` to reduce
reliance of the long series of requests to make progress

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
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