From 72ceec1319e769bebf609b993a6be3a8a70291df Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Sun, 28 Oct 2018 12:02:44 +0000 Subject: [PATCH] feat: add dht experimental flag --- src/ipfsd-in-proc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ipfsd-in-proc.js b/src/ipfsd-in-proc.js index a24059e5..dfde7ea1 100644 --- a/src/ipfsd-in-proc.js +++ b/src/ipfsd-in-proc.js @@ -55,6 +55,8 @@ class InProc extends EventEmitter { this.opts.EXPERIMENTAL.sharding = true } else if (arg === '--enable-namesys-pubsub') { this.opts.EXPERIMENTAL.ipnsPubsub = true + } else if (arg === '--enable-dht-experiment') { + this.opts.EXPERIMENTAL.dht = true } else if (arg.startsWith('--pass')) { this.opts.pass = arg.split(' ').slice(1).join(' ') } else {