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

fix(sync): ban peer if sending invalid prev_header #3955

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Mar 24, 2022

Description

  • bans peer for ChainLinkBroken error

Motivation and Context

Node should not continue syncing from a peer that does not properly link headers

How Has This Been Tested?

Manually, my node banned peers that sent an incorrect prev header

@stringhandler stringhandler merged commit 384ab0c into tari-project:development Mar 24, 2022
@sdbondi sdbondi deleted the core-prev-header-hash-correct-version branch March 24, 2022 12:09
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