mirror of
https://github.com/bitcoin/bips.git
synced 2025-01-19 05:45:07 +01:00
Changed left angles for HTML entity
This commit is contained in:
parent
4b2d40ad12
commit
cce1e10dc8
@ -195,7 +195,7 @@ When loading a filter with the <code>filterload</code> command, there are two pa
|
||||
|
||||
Let N be the number of elements you wish to insert into the set and P be the probability of a false positive, where 1.0 is "match everything" and zero is unachievable.
|
||||
|
||||
The size S of the filter in bytes is given by <code>(-1 / pow(log(2), 2) * N * log(P)) / 8</code>. Of course you must ensure it does not go over the maximum size (36,000: selected as it represents a filter of 20,000 items with false positive rate of < 0.1% or 10,000 items and a false positive rate of < 0.0001%).
|
||||
The size S of the filter in bytes is given by <code>(-1 / pow(log(2), 2) * N * log(P)) / 8</code>. Of course you must ensure it does not go over the maximum size (36,000: selected as it represents a filter of 20,000 items with false positive rate of < 0.1% or 10,000 items and a false positive rate of < 0.0001%).
|
||||
|
||||
The number of hash functions required is given by <code>S * 8 / N * log(2)</code>.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user