Skip to content

Commit

Permalink
Merge pull request #78 from ourzora/enable-quic
Browse files Browse the repository at this point in the history
Enable quic
  • Loading branch information
ligustah authored Apr 29, 2024
2 parents 4f62f91 + 385af77 commit 236ba57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ impl SwarmController {
pub async fn run(&mut self, port: u64, listen_ip: String) -> eyre::Result<()> {
self.swarm
.listen_on(format!("/ip4/{listen_ip}/tcp/{port}").parse()?)?;
self.swarm
.listen_on(format!("/ip4/{listen_ip}/udp/{port}/quic-v1").parse()?)?;

let registry_topic = announce_topic();
self.swarm
Expand Down

0 comments on commit 236ba57

Please sign in to comment.