Skip to content

ETCM-843: Verify wrong genesis hash causes disconnection and blacklis…#998

Merged
AnastasiiaL merged 1 commit intodevelopfrom
ETCM-843
May 31, 2021
Merged

ETCM-843: Verify wrong genesis hash causes disconnection and blacklis…#998
AnastasiiaL merged 1 commit intodevelopfrom
ETCM-843

Conversation

@AnastasiiaL
Copy link
Copy Markdown
Contributor

Part of the handshake between peers is the exchange of genesis hash (in Status).
If the genesis hash is wrong we should disconnect and blacklist.
It appeared this functionality was already in place, so I just added missing tests.

@AnastasiiaL AnastasiiaL merged commit febbbfd into develop May 31, 2021
@AnastasiiaL AnastasiiaL deleted the ETCM-843 branch May 31, 2021 12:19
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