ParamsType
ParamsType =
object
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:8
Properties
Section titled “Properties”dataSetLeafCount
Section titled “dataSetLeafCount”dataSetLeafCount:
bigint
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:12
Aggregate leaf count reported by PDP Verifier. 0n for new data sets.
epochsPerMonth?
Section titled “epochsPerMonth?”
optionalepochsPerMonth?:bigint
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:16
Epochs per month. Defaults to EPOCHS_PER_MONTH (86400).
isNewDataSet
Section titled “isNewDataSet”isNewDataSet:
boolean
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:20
Whether a new dataset is being created (vs adding to existing).
lockupEpochs?
Section titled “lockupEpochs?”
optionallockupEpochs?:bigint
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:18
Lockup period in epochs. Defaults to priceList.lockups.defaultLockupPeriod.
pieceSizes
Section titled “pieceSizes”pieceSizes: readonly
bigint[]
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:10
Exact raw payload size of every piece added by this operation, in bytes.
priceList
Section titled “priceList”priceList:
OutputType
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:14
Canonical warm storage price list.
withCDN
Section titled “withCDN”withCDN:
boolean
Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:22
Whether CDN is enabled for this dataset.