ScalableBloomParams
Defined in: packages/distillate/src/scalable/scalable.ts:62
Settings for a ScalableBloomFilter.
Properties
Section titled “Properties”epsilon
Section titled “epsilon”epsilon:
number
Defined in: packages/distillate/src/scalable/scalable.ts:66
Target false-positive rate for the whole chain, e.g. 0.01 for 1%.
growth?
Section titled “growth?”
optionalgrowth?:number
Defined in: packages/distillate/src/scalable/scalable.ts:68
Capacity multiplier from one stage to the next; defaults to 2.
n:
number
Defined in: packages/distillate/src/scalable/scalable.ts:64
Keys the first stage holds before the next one opens.
optionalseed?:number
Defined in: packages/distillate/src/scalable/scalable.ts:76
Hash seed; defaults to 0.
tightening?
Section titled “tightening?”
optionaltightening?:number
Defined in: packages/distillate/src/scalable/scalable.ts:74
Multiplier on each stage’s false-positive target relative to the one
before; defaults to 0.85. Lower spends more bits per stage to open
fewer of them.