comment change according to review

This commit is contained in:
Simon Wicky
2024-03-11 14:55:39 +01:00
committed by Simon Wicky
parent 2e12c20327
commit 3846d3c9b5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ pub enum GatewayConversionError {
pub struct Node {
pub owner: String,
pub host: NetworkAddress,
// we're keeping this as separate resolved field since we do not want to be resolving the potential
// hostname every time we want to construct a path via this node
// we're keeping all resolved IPs as a separate field since we do not want to be resolving the potential
// hostname every time we want to construct a path via this node. When we need one, we default to the first one
pub mix_hosts: Vec<SocketAddr>,
// #[serde(alias = "clients_port")]
+2 -2
View File
@@ -34,8 +34,8 @@ pub struct Node {
pub mix_id: MixId,
pub owner: String,
pub host: NetworkAddress,
// we're keeping this as separate resolved field since we do not want to be resolving the potential
// hostname every time we want to construct a path via this node
// we're keeping all resolved IPs as a separate field since we do not want to be resolving the potential
// hostname every time we want to construct a path via this node. When we need one, we default to the first one
pub mix_hosts: Vec<SocketAddr>,
pub identity_key: identity::PublicKey,
pub sphinx_key: encryption::PublicKey, // TODO: or nymsphinx::PublicKey? both are x25519