summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/peer.rs
Commit message (Collapse)AuthorAgeFilesLines
* proto: Use constructor for PeerInfo instead of BuilderDavid Goulet2026-02-191-3/+6
| | | | Signed-off-by: David Goulet <[email protected]>
* proto: Remove Default of PeerInfo/Addr and use const insteadDavid Goulet2026-02-191-20/+14
| | | | Signed-off-by: David Goulet <[email protected]>
* proto: Add PeerInfo and PeerAddr in src/peer.rsDavid Goulet2026-02-191-0/+160
The plan is to create PeerInfo when we do a transport connect() which indicates the exact values that are being used for to connect to the peer. We'll then put this struct in the Channel so we can use it when picking the best channel in the ChanMgr. Unfortunately, the OwnedChanTarget has a confusing and even possibly wrong API from which we can't have guarantees. Signed-off-by: David Goulet <[email protected]>