Type alias ProtoPODGPCCircuitParams

ProtoPODGPCCircuitParams: {
    includeOwnerV3: boolean;
    includeOwnerV4: boolean;
    maxEntries: number;
    maxEntryInequalities: number;
    maxListElements: number;
    maxLists: number;
    maxNumericValues: number;
    maxObjects: number;
    maxTuples: number;
    merkleMaxDepth: number;
    tupleArity: number;
}

Configurable size parameters for a ProtoPODGPC circuit.

Type declaration

  • includeOwnerV3: boolean

    Boolean expressing whether a Semaphore V3 owner module should be included.

  • includeOwnerV4: boolean

    Boolean expressing whether a Semaphore V4 owner module should be included.

  • maxEntries: number

    Number of POD entries which can be included in a proof.

  • maxEntryInequalities: number

    Number of entry inequalities.

  • maxListElements: number

    Number of entries in each membership list to be included in proof.

  • maxLists: number

    Number of membership lists.

  • maxNumericValues: number

    Number of numeric values.

  • maxObjects: number

    Number of POD objects which can be included in a proof.

  • maxTuples: number

    Number of tuples which can be included in a proof.

  • merkleMaxDepth: number

    Max depth of POD merkle tree. Max entries in any object is 2^(depth-1).

  • tupleArity: number

    Arity (i.e. size or width) of tuples which can be included in a proof, e.g. tupleArity = 2 for pairs or tupleArity = 3 for triples.

Generated using TypeDoc