lbcutil/gcs
Alex dabaf053db gcs: update modulo algorithm to fast range per gmaxwell's suggestion
The BIP will now specify that the fast range described at the URL
below is used instead of modulo:

https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
2018-05-15 19:14:18 -07:00
..
builder gcs/builder: an empty filter has a zero-hash 2018-05-15 19:14:18 -07: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 modulo algorithm to fast range per gmaxwell's suggestion 2018-05-15 19:14:18 -07:00
gcs_test.go gcs: add some line spacing, wrap comments to 80 characters 2018-05-15 19:14:18 -07:00
gcsbench_test.go gcs: update benchmarks to use correct import 2018-05-15 19:14:18 -07: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.