How can I configure IPFS node to use SHA3?

From @biljanaLukovic on Wed May 18 2016 15:45:25 GMT+0000 (UTC)

If node was configured with SHA3 will SHA3 be used for encoding? There are indication that SHA2 was hard-coded in the current version.


Copied from original issue: How can I configure IPFS node to use SHA3? 路 Issue #124 路 ipfs-inactive/faq 路 GitHub

From @whyrusleeping on Wed May 18 2016 16:44:18 GMT+0000 (UTC)

@biljanaLukovic yes, it is currently hard coded. but you can change the value here: https://github.com/ipfs/go-ipfs-util/blob/master/util.go#L20

and then update that dependency in go-ipfs (or, in go-ipfs run gx-go rewrite --undo go-ipfs-utilfor testing it out real quick).