@cryptotaxi247 / kubo / commits / c3e3da4a5

Revised

License: MIT Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>

Dominic Della Valle committed Apr 9, 2018 at 15:45 UTC c3e3da4a5417042414496cd9c576764812eac1de
1 file changed +1 -1
docs/config.md
+1 -1
@@ -146,7 +146,7 @@ A number representing the size in bytes of the blockstore's [bloom filter](https
146 This site generates useful graphs for various bloom filter values: <https://hur.st/bloomfilter/?n=1e6&p=0.01&m=&k=7>
147 You may use it to find a preferred optimal value, where `m` is `BloomFilterSize` in bits. Remember to convert the value `m` from bits, into bytes for use as `BloomFilterSize` in the config file.
148 For example, for 1,000,000 blocks, expecting a 1% false positive rate, you'd end up with a filter size of 9592955 bits, so for `BloomFilterSize` we'd want to use 1199120 bytes.
149 -[Currently](https://github.com/ipfs/go-ipfs/blob/9c194aa7e2febeab0cbd895067d7d90d82b137f9/blocks/blockstore/caching.go), 7 hash functions are used by default, so the constant `k` is 7 in the formula.
149 +As of writing, [7 hash functions](https://github.com/ipfs/go-ipfs-blockstore/blob/547442836ade055cc114b562a3cc193d4e57c884/caching.go#L22) are used, so the constant `k` is 7 in the formula.
150
151
152 Default: `0`