Skip to main content

Interface: ShardingOptions

types.ShardingOptions

Hierarchy

Properties

rootCID

Optional rootCID: AnyLink

The root CID of the DAG contained in the shards. By default The last block is assumed to be the DAG root and becomes the CAR root CID for the last CAR output. Set this option to use this CID instead.

Defined in

node_modules/@web3-storage/upload-client/dist/src/types.d.ts:152


shardSize

Optional shardSize: number

The target shard size. Actual size of CAR output may be bigger due to CAR header and block encoding data.

Defined in

node_modules/@web3-storage/upload-client/dist/src/types.d.ts:146