filedrive-team / go-graphsplit

A tool for splitting the large datasets into graph slices fit for making deals in the Filecoin Network.
MIT License
43 stars 30 forks source link

Is padding added to the car file? #35

Open pyropy opened 2 years ago

pyropy commented 2 years ago

When chunking file into car files, is the padding added to the car file?

qianhh commented 2 years ago

Isn’t. In the latest main branch, the rename parameter can be enabled to generate the CAR file with commP CID, and also need to enable the calc-commp parameter.

beeleelee commented 2 years ago

Noop, padding doesn't added to the car file. Even in the latest main branch, then rename parameter can enable use piececid instead of the car root cid for the name of the car file

pyropy commented 2 years ago

Would that be a good feature to add? I'm looking to prepare CAR file for add piece.

beeleelee commented 2 years ago

Sounds good!