-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove derp meshing (#2079)
## Description Since the advent of the `DerpUrl`, we no longer use any meshing. We are currently on a mission to remove unused and unnecessary code, so the derper meshing has to go! closes #2074 ## Notes We have removed three message types from the protocol: `PeerPresent`, `ClosePeer`, and `WatchConns` These messages were only used to communicate between meshed derpers. Now, if a server recieves on of those messages from a client, the server will error on that connection. This also removes the `PacketForwarder` trait, since derp nodes will no longer act as packet forwarders for each other, they will only ever relay packets between clients. ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant. - [x] Tests if relevant.
- Loading branch information
Showing
14 changed files
with
74 additions
and
1,810 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
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
Oops, something went wrong.