Skip to content

MAX_BEEKEM_TREE_LEAVES

const MAX_BEEKEM_TREE_LEAVES: number

Defined in: packages/core/src/beekem/types.ts:129

BeeKEM tree leaf bound.

The conservative limit bounds tree traversal and per-update structural work. BeeKEM.addMember() rejects growth past it before mutating state, and the PathUpdate and Welcome wire codecs reject trees that exceed it. Transport senders separately enforce the document protocol’s frame limit on the complete signed and framed request.