Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-v2.0] multi: Main module backports. #3315

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented May 24, 2024

@davecgh davecgh added this to the 2.0.1 milestone May 24, 2024
@davecgh davecgh changed the title [release-v2.0] netsync: Request new headers on rejected tip. [release-v2.0] multi: Main module backports. May 24, 2024
@davecgh davecgh marked this pull request as draft May 24, 2024 18:14
@davecgh davecgh marked this pull request as ready for review May 24, 2024 18:36
davecgh and others added 2 commits May 24, 2024 13:37
This modifies the sync manager to immediately request new headers from
all peers in the event the block associated with the best target header
is rejected.  This allows alternative blocks to be downloaded more
quickly without first having to wait for new blocks.

While here, it also allows a couple of blocks of leeway when returning
the manager to an unsynced state.
@davecgh davecgh force-pushed the rel20_netsync_req_hdrs_rej_best_block branch from aefdc03 to 59c80a4 Compare May 24, 2024 18:38
@davecgh davecgh merged commit 59c80a4 into decred:release-v2.0 May 24, 2024
2 checks passed
@davecgh davecgh deleted the rel20_netsync_req_hdrs_rej_best_block branch May 24, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants