Skip to content

PathUpdateV2

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

Parent-bound, ordered update used by the BeeKEM PathUpdate v2 protocol. The full public snapshot commits to the resulting tree, while parentTreeHash prevents a higher-generation stale fork from replacing the receiver’s current membership state.

generation: number

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


nodes: PathNodeUpdateV2[]

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


numLeaves: number

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


parentTreeHash: Uint8Array

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

Hash of the exact generation immediately preceding this update.


senderLeafIndex: number

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


senderLeafPublicKey: Uint8Array

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


treeHash: Uint8Array

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


treeNodePublicKeys: WelcomeNodePublicKey[]

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


version: 2

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