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

Commit 3f5e6ef

Browse files
committed
docs: adding circuit docs
1 parent 1c35510 commit 3f5e6ef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
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: {

0 commit comments

Comments
 (0)