orbitdb-archive / orbit

A distributed, serverless, peer-to-peer chat application on IPFS
MIT License
1.64k stars 116 forks source link

go-ipfs floodsub1 requires ipfs daemon flag #110

Closed jbenet closed 7 years ago

jbenet commented 7 years ago

@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 https://github.com/ipfs/js-ipfsd-ctl/pull/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 7 years ago

Excellent! I'll pull that in. Thanks for adding the gatewayAddr also :+1:

haadcode commented 7 years ago

Fixed in branch pubsub.