You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And probably a client do not even guess what's going inside there methods. How about switching to an interface providing builders for each version etc?
The text was updated successfully, but these errors were encountered:
We still use CIDv0 by default for dag-pb to avoid changing the hashes.
And probably a client do not even guess what's going inside there methods. How about switching to an interface providing builders for each version etc?
I'm not sure what you're asking. You can switch to a CIDv1 builder by calling n.SetCidBuilder(&cid.V1Builder{Codec: cid.DatProtobuf, mh.SHA2_256, MhLength: -1}).
Now there is a CID V0 used by default in CidBuilders. But why not to use V1 one?
go-merkledag/node.go
Lines 66 to 83 in d532cda
And probably a client do not even guess what's going inside there methods. How about switching to an interface providing builders for each version etc?
The text was updated successfully, but these errors were encountered: