copath
copath(
leafIndex,numLeaves):number[]
Defined in: packages/core/src/beekem/tree-math.ts:235
Copath: siblings of the leaf and nodes on the direct path (excluding root). These are the nodes whose public keys are needed to encrypt path updates.
Parameters
Section titled “Parameters”leafIndex
Section titled “leafIndex”number
numLeaves
Section titled “numLeaves”number
Returns
Section titled “Returns”number[]