Skip to content

Commit

Permalink
rm localhost and mdns
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jul 8, 2024
1 parent 0aba5ee commit 54a518a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/network/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { circuitRelayTransport } from "@libp2p/circuit-relay-v2";
import { dcutr } from "@libp2p/dcutr";
import { identify } from "@libp2p/identify";
import { EventHandler, PubSub, Stream, StreamHandler } from "@libp2p/interface";
import { mdns } from "@libp2p/mdns";
import { pubsubPeerDiscovery } from "@libp2p/pubsub-peer-discovery";
import { webRTC, webRTCDirect } from "@libp2p/webrtc";
import { webSockets } from "@libp2p/websockets";
Expand Down Expand Up @@ -44,16 +43,12 @@ export class TopologyNetworkNode {
},
},
peerDiscovery: [
mdns({
interval: 10_000,
}),
pubsubPeerDiscovery({
interval: 10_000,
topics: ["topology::discovery"],
}),
bootstrap({
list: [
"/ip4/127.0.0.1/tcp/50000/ws/p2p/Qma3GsJmB47xYuyahPZPSadh1avvxfyYQwk8R3UnFrQ6aP",
"/dns4/relay.droak.sh/tcp/443/wss/p2p/Qma3GsJmB47xYuyahPZPSadh1avvxfyYQwk8R3UnFrQ6aP",
],
}),
Expand Down

0 comments on commit 54a518a

Please sign in to comment.