-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Split
ConnectionStatus
into Internal
and Transfer
The `Transfer` variant is sent over the wire. The `Internal` variant is used for internal error or success codes. Commit 5559043 expanded `ConnectionStatus` but only for internal bookkeeping. However, as this object was sent over the wire to other peers, peers running the old software did not recognize the new encoding. This commit fixes that error. Concretely, the encoding of `TransferConnectionStatus` is identical to that of `ConnectionStatus` before the offending commit.
- Loading branch information
1 parent
69c4f46
commit d791c4c
Showing
3 changed files
with
78 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters