Skip to content

@lelantos-org/sdk / internal / maxChunksFor

Function: maxChunksFor() ​

ts
function maxChunksFor(treeDepth): number;

Defined in: @lelantos-org/sdk/dist/sync/chunk-feed.d.ts:15

Upper bound on chunks in either feed: the tree holds 4^depth leaves and a nullifier exists only for a spent leaf. Bounds paging against a server that always reports isComplete.

Parameters ​

ParameterType
treeDepthnumber

Returns ​

number