Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit f7eaa43

Browse files
dryajovdaviddias
authored andcommitted
feat: Circuit Relay (#1063)
1 parent 9694925 commit f7eaa43

File tree

19 files changed

+1018
-6
lines changed

19 files changed

+1018
-6
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,13 @@ const node = new IPFS({
205205
EXPERIMENTAL: { // enable experimental features
206206
pubsub: true,
207207
sharding: true, // enable dir sharding
208-
dht: true // enable KadDHT, currently not interopable with go-ipfs
208+
dht: true, // enable KadDHT, currently not interopable with go-ipfs
209+
relay: {
210+
enabled: true, // enable circuit relay dialer and listener
211+
hop: {
212+
enabled: true // enable circuit relay HOP (make this node a relay)
213+
}
214+
}
209215
},
210216
config: { // overload the default IPFS node config, find defaults at https://github.com/ipfs/js-ipfs/tree/master/src/core/runtime
211217
Addresses: {

examples/circuit-relaying/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
.vscode/

examples/circuit-relaying/README.md

Lines changed: 349 additions & 0 deletions
Large diffs are not rendered by default.
294 KB
Loading
467 KB
Loading
426 KB
Loading
454 KB
Loading
513 KB
Loading
567 KB
Loading
591 KB
Loading

0 commit comments

Comments
 (0)