SelectionDataSet
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:13
Dataset with piece count, for provider selection.
Picks the fields that selectProviders() and findMatchingDataSets() need, plus activePieceCount which is fetched separately via multicall.
Core callers can spread a PdpDataSet directly: { ...ds, activePieceCount }.
SDK callers map from EnhancedDataSetInfo (different field names).
Properties
Section titled “Properties”activePieceCount
Section titled “activePieceCount”activePieceCount:
bigint
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:21
Number of active pieces in the dataset (0 = empty)
dataSetId
Section titled “dataSetId”dataSetId:
bigint
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:15
PDP Verifier data set ID
live:
boolean
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:25
Whether the data set is live in the PDP Verifier
managed
Section titled “managed”managed:
boolean
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:27
Whether the data set is managed by the current Warm Storage contract
metadata
Section titled “metadata”metadata:
MetadataObject
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:19
Data set metadata (key-value pairs)
pdpEndEpoch
Section titled “pdpEndEpoch”pdpEndEpoch:
bigint
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:23
End epoch for PDP service (0 = active)
providerId
Section titled “providerId”providerId:
bigint
Defined in: packages/synapse-core/src/warm-storage/location-types.ts:17
Provider that owns this data set