go-ipfs floodsub1 requires ipfs daemon flag
Closed this issue · 2 comments
jbenet commented
@whyrusleeping asked me to say that: go-ipfs now (floodsub1) requires launching ipfs daemon
with a flag to enable pubsub, like this:
ipfs daemon --enable-pubsub-experiment
I looked and https://github.com/ipfs/js-ipfsd-ctl didn't let you add flags, so i wrote ipfs/js-ipfsd-ctl#107 to add flags. You should now be able to do:
node = new ipfsdctl()
node.init(...)
node.startDaemon(['--enable-pubsub-experiment'], cb)
That PR also fixes some bugs in ipfsd-ctl, so it may work better now. It will report errors better if it fails to boot up the ipfs node (which previously were totally silent failures)
haadcode commented
Excellent! I'll pull that in. Thanks for adding the gatewayAddr also 👍
haadcode commented
Fixed in branch pubsub
.