Contains the following upstream commits: - |
||
|---|---|---|
| .. | ||
| cov_report.sh | ||
| example_test.go | ||
| filter_test.go | ||
| filter.go | ||
| merkleblock_test.go | ||
| merkleblock.go | ||
| murmurhash3_test.go | ||
| murmurhash3.go | ||
| README.md | ||
| test_coverage.txt | ||
bloom
[]
(https://travis-ci.org/decred/dcrutil) ![ISC License]
(http://img.shields.io/badge/license-ISC-blue.svg)
[
]
(http://godoc.org/github.com/decred/dcrutil/bloom)
Package bloom provides an API for dealing with decred-specific bloom filters.
A comprehensive suite of tests is provided to ensure proper functionality. See
test_coverage.txt for the gocov coverage report. Alternatively, if you are
running a POSIX OS, you can run the cov_report.sh script for a real-time
report.
Installation and Updating
$ go get -u github.com/decred/dcrutil/bloom
Examples
- [NewFilter Example] (http://godoc.org/github.com/decred/dcrutil/bloom#example-NewFilter) Demonstrates how to create a new bloom filter, add a transaction hash to it, and check if the filter matches the transaction.
License
Package bloom is licensed under the copyfree ISC License.