Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Add an UNKNOWN DisconnectReason #359

Merged
merged 2 commits into from
Dec 4, 2018

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented Dec 3, 2018

PR description

As an alternative to #354, this PR handles wire disconnect messages with no explicit reason by adding a new UNKNOWN DisconnectReason value. It also includes the following changes:

  • Add tests for parsing and constructing DisconnectMessage's
  • Send an empty reason when we disconnect from blacklisted peers

@mbaxter mbaxter merged commit 2171267 into PegaSysEng:master Dec 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants