-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
InetAddr: Use onion addresses instead of public keys
Define new Tor enum inner types for the `InetAddr` `PartialSocketAddr`, and `InetSocketAddr` types. Replace the usage of the `TorPublicKeyV3` with `OnionAddressV3`. While the two types are interchangeable, `OnionAddressV3` is the human-readable format. Additionally, adds port numbers to the `PartialSocketAddr` and `InetSocketAddr` tor variants. This allows users to specify a specific port on which an onion address is listening.
- Loading branch information
1 parent
d271c7e
commit f646f26
Showing
2 changed files
with
220 additions
and
67 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
Oops, something went wrong.