Skip to main content

Function: approximateOverheadForRedundancyLevel()

approximateOverheadForRedundancyLevel(chunks, level, encrypted): number

Defined in: bee-js/src/utils/redundancy.ts:48

Returns an approximate multiplier for the overhead of a given redundancy level. Redundancy level is a tradeoff between storage overhead and fault tolerance. Use this number to estimate the amount of chunks that will be stored for a given redundancy level.

Parameters

chunks

number

level

RedundancyLevel

encrypted

boolean

Returns

number

💬 Get Help