fork of indigo with slightly nicer lexgen
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 1d4af1a2cf74f3b2a2644fcfba6c1df7e441eb1b 12 lines 248 B view raw
1package util 2 3import ( 4 cbor "github.com/ipfs/go-ipld-cbor" 5 mh "github.com/multiformats/go-multihash" 6) 7 8func CborStore(bs cbor.IpldBlockstore) *cbor.BasicIpldStore { 9 cst := cbor.NewCborStore(bs) 10 cst.DefaultMultihash = mh.SHA2_256 11 return cst 12}