After adding some files through this API I notice that the MULTICODEC inside returned CIDs are different. Sometimes it’s dag-pb somtimes it’s raw, and seems when the file size is smaller than the chuner size it will be raw, other wise it is dag-pb. So I am wondering if there is a way we can tell IPFS to always use dag-pb as MULTICODEC? I am using Kubo 0.15.0.
Which multicodec is used depends on chunker internals, you shouldn’t care about that because any good unixfs implementation supports both raw and dag-pb.