Hey all! I have a question about the add command, and specifically if there is any way to specify the number of links per node? As far as I’m aware, there’s no command option to pass to enable this behavior. Why am I asking about this?
Singularity is being used in my data onboarding pipeline so my downstream components rely on the CIDs generated with Singularity. I’m unable to generate the same CID for files larger than 174mb when running:
ipfs add -n --chunker size-1048576 --cid-version 1 </path/to/file>
This checks out because Singularity has set the max number of links per node to 1024 while for Kubo it’s set to 174 when navigating through the add.go imports. Clearly there is a reason for setting this value per the notes in helper.go but I believe this value should be exposed as a parameter when adding content to IPFS. This ensures that CID’s can be consistently recreated across different tooling in the IPFS ecosystem.
While I could fork the Kubo repo and make the adjustment myself, I wanted to get some insight from the community before heading down that path. Maybe I can use Helia in lieu of the IPFS cli?