@me2em/pact
    Preparing search index...

    Interface Threshold

    Quorum threshold (PACTS §4). k is meaningful for k-of-active only (integer ≥ 1); the requirement at verification time is min(k, active mass) (B-5).

    const th: Threshold = { m: 'k-of-active', k: 2 };
    
    interface Threshold {
        m: ThresholdMode;
        k?: number;
    }
    Index
    m k?
    k?: number