Skip to content

calculateAdditionalLockupRequired

calculateAdditionalLockupRequired(params): OutputType

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:47

Compute how much additional lockup this upload requires.

Handles floor-to-floor transitions correctly: when both the current dataset size and the new total size are below the floor threshold, the rate delta is 0.

ParameterTypeDescription
paramsParamsTypecalculateAdditionalLockupRequired.ParamsType

OutputType

calculateAdditionalLockupRequired.OutputType