2014-07-10 03:43:24 +02:00
|
|
|
bloom
|
|
|
|
=====
|
|
|
|
|
2017-05-25 19:56:27 +02:00
|
|
|
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
|
2014-07-10 03:47:04 +02:00
|
|
|
|
2014-07-10 03:43:24 +02:00
|
|
|
Package bloom provides an API for dealing with bitcoin-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
|
2015-10-24 00:10:35 +02:00
|
|
|
report.
|
2014-07-10 03:43:24 +02:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2021-09-10 22:30:39 +02:00
|
|
|
* [NewFilter Example](http://godoc.org/github.com/lbryio/lbcutil/bloom#example-NewFilter)
|
2014-07-10 03:43:24 +02:00
|
|
|
Demonstrates how to create a new bloom filter, add a transaction hash to it,
|
2021-09-10 22:30:39 +02:00
|
|
|
and check if the filter matches the transaction.
|