From cce1e10dc86186e99f135777c137a4cc61f63e33 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Rupp Date: Mon, 8 Sep 2014 17:17:24 +0100 Subject: Changed left angles for HTML entity --- bip-0037.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip-0037.mediawiki b/bip-0037.mediawiki index 8179393..f1561be 100644 --- a/bip-0037.mediawiki +++ b/bip-0037.mediawiki @@ -195,7 +195,7 @@ When loading a filter with the filterload 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 (-1 / pow(log(2), 2) * N * log(P)) / 8. 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 (-1 / pow(log(2), 2) * N * log(P)) / 8. 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 S * 8 / N * log(2). -- cgit v1.2.3