Skip to content

Commit

Permalink
Merge pull request #174 from subspace/remove-quic-udp-artifacts
Browse files Browse the repository at this point in the history
Remove QUIC/UDP artifacts
  • Loading branch information
nazar-pc committed Mar 29, 2024
2 parents 29035b4 + 77e6d5a commit 81bbb0d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
6 changes: 0 additions & 6 deletions src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,12 +854,6 @@ async fn create_networking_stack(
keypair: network_keypair.clone(),
bootstrap_nodes,
listen_on: vec![
Multiaddr::from(IpAddr::V4(Ipv4Addr::UNSPECIFIED))
.with(Protocol::Udp(config.network.subspace_port))
.with(Protocol::QuicV1),
Multiaddr::from(IpAddr::V6(Ipv6Addr::UNSPECIFIED))
.with(Protocol::Udp(config.network.subspace_port))
.with(Protocol::QuicV1),
Multiaddr::from(IpAddr::V4(Ipv4Addr::UNSPECIFIED))
.with(Protocol::Tcp(config.network.subspace_port)),
Multiaddr::from(IpAddr::V6(Ipv6Addr::UNSPECIFIED))
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl Component for ConfigurationView {
set_spacing: 10,

gtk::Label {
set_label: "Substrate (blockchain) P2P port (TCP/UDP):"
set_label: "Substrate (blockchain) P2P port (TCP):"
},
gtk::SpinButton {
connect_value_changed[sender] => move |entry| {
Expand Down Expand Up @@ -311,7 +311,7 @@ impl Component for ConfigurationView {
set_spacing: 10,

gtk::Label {
set_label: "Subspace (DSN) P2P port (TCP/UDP):"
set_label: "Subspace (DSN) P2P port (TCP):"
},
gtk::SpinButton {
connect_value_changed[sender] => move |entry| {
Expand Down
5 changes: 0 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1119,10 +1119,5 @@ impl Cli {
}

fn main() -> ExitCode {
// TODO: This is a hack to work around https://github.com/quinn-rs/quinn/issues/1750, should be
// removed once fixed upstream
if env::var("RUST_LOG").is_err() {
env::set_var("RUST_LOG", "info,quinn_udp=error");
}
Cli::parse().run()
}

0 comments on commit 81bbb0d

Please sign in to comment.