Compare commits

...

1 Commits

Author SHA1 Message Date
Bogdan-Ștefan Neacşu bff53a0598 Use custom topology 2024-10-24 19:33:31 +03:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ use nym_config::serde_helpers::de_maybe_port;
use nym_gateway::node::LocalAuthenticatorOpts;
use serde::{Deserialize, Serialize};
use std::net::SocketAddr;
use std::path::Path;
use std::time::Duration;
use std::{path::Path, str::FromStr};
use super::helpers::{base_client_config, EphemeralConfig};
use super::LocalWireguardOpts;
@@ -182,7 +182,7 @@ pub fn ephemeral_entry_gateway_config(
private_network_prefix: config.wireguard.private_network_prefix,
storage_paths: config.wireguard.storage_paths.clone(),
},
custom_mixnet_path: None,
custom_mixnet_path: std::path::PathBuf::from_str("/tmp/topology2").ok(),
};
let gateway = ephemeral_gateway_config(config, mnemonic)?;
+2 -2
View File
@@ -11,7 +11,7 @@ use nym_gateway::node::{
LocalAuthenticatorOpts, LocalIpPacketRouterOpts, LocalNetworkRequesterOpts,
};
use serde::{Deserialize, Serialize};
use std::path::Path;
use std::{path::Path, str::FromStr};
use url::Url;
use super::{
@@ -236,7 +236,7 @@ pub fn ephemeral_exit_gateway_config(
logging: config.logging,
},
custom_mixnet_path: None,
custom_mixnet_path: std::path::PathBuf::from_str("/tmp/topology2").ok(),
};
if ipr_opts.config.ip_packet_router.disable_poisson_rate {