Skip to content

Commit

Permalink
Revert "fix/disable-ipfs-circuit-relay: disabled ipfs circuit relay t…
Browse files Browse the repository at this point in the history
…rensport…" (#485)

This reverts commit 8146495.
  • Loading branch information
BEdev24 authored Dec 4, 2024
1 parent 8146495 commit 75c6b1e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ipfs-service/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const libp2pOptions = {
],
},
transports: [
circuitRelayTransport({ discoverRelays: 1 }),
tcp(),
webSockets(),
],
Expand All @@ -79,13 +80,21 @@ const libp2pOptions = {
createDelegatedRoutingV1HttpApiClient('https://delegated-ipfs.dev'),
dht: kadDHT({
clientMode: false,
initialQuerySelfInterval: 1000,
kBucketSize: 20,
protocol: '/ipfs/kad/1.0.0',
maxInboundStreams: 32,
maxOutboundStreams: 64,
validators: { ipns: ipnsValidator },
selectors: { ipns: ipnsSelector },
}),
identify: identify(),
keychain: keychain(),
ping: ping(),
relay: circuitRelayServer({
advertise: true,
hopTimeout: 60000,
}),
upnp: uPnPNAT(),
},
};
Expand Down

0 comments on commit 75c6b1e

Please sign in to comment.