-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iroh-net): Clean up peer_map, node_map and endpoint names (#…
…2060) ## Description This cleans up a bunch of naming: - It documents how we decided to use NodeId in #1388. - It fixes up a few more of those PublicKey uses to use NodeId. - It renames the peer_map module to node_map, the primary data structure in there is the NodeMap as we migrated away from naming things peer a while ago as well. - It tries to carve out the "Endpoint" naming for a synonym of a "Node". - As part of that it uses "Path" as meaning "one way of connecting to a node". Either via a direct IP address or via a derper. ## Notes & open questions Contains no functional changes. ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant.
- Loading branch information
Showing
8 changed files
with
106 additions
and
85 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
File renamed without changes.
Oops, something went wrong.