lbcutil/gcs
Olaoluwa Osuntokun 0ecd90b8d6 gcs: update fp and modulus values based on recent optimality analysis
In this commit, we decrease the default fp rate to 19, or 1/2^19. We do
this as recent analysis by sipa on the bitcoin dev mailing list has
shown that optimally, we can use a value of 2^19 for the fp rate, while
use n=1.497137*2^P rather than n directly. As a result, we can shrink
the filter size by quite a bit, while still maintaining a sane false
positive value.
2018-07-06 17:32:55 -05:00
..
builder gcs: update fp and modulus values based on recent optimality analysis 2018-07-06 17:32:55 -05:00
doc.go gcs: fix slight typo in docs, 2^-n not 2^-1 2018-05-15 19:14:18 -07:00
gcs.go gcs: update fp and modulus values based on recent optimality analysis 2018-07-06 17:32:55 -05:00
gcs_test.go gcs: update fp and modulus values based on recent optimality analysis 2018-07-06 17:32:55 -05:00
gcsbench_test.go gcs: update fp and modulus values based on recent optimality analysis 2018-07-06 17:32:55 -05:00
README.md README.md fixes 2018-05-15 19:14:18 -07:00
uint64slice.go gcs: add some line spacing, wrap comments to 80 characters 2018-05-15 19:14:18 -07:00

gcs

[Build Status] (https://travis-ci.org/btcsuite/btcutil) ![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg) [GoDoc] (http://godoc.org/github.com/btcsuite/btcutil/gcs)

Package gcs provides an API for building and using a Golomb-coded set filter similar to that described here.

A comprehensive suite of tests is provided to ensure proper functionality.

Installation and Updating

$ go get -u github.com/btcsuite/btcutil/gcs

License

Package gcs is licensed under the copyfree ISC License.