lbcutil/bloom
Dave Collins 22c91fa80a Update for recent chainhash-related API changes. (#78)
This updates all code in the main package and subpackages to make use of
the new chainhash package since the old wire.ShaHash type and functions
have been removed in favor of the abstracted package.

Also, since this required API changes anyways and the hash algorithm is
no longer tied specifically to SHA, all other functions throughout the
code base which had "Sha" in their name have been changed to Hash so
they are not incorrectly implying the hash algorithm.

The following is an overview of the changes:

- Update all references to wire.ShaHash to the new chainhash.Hash type
- Rename the following functions and update all references:
  - Block.Sha -> Hash
  - Block.TxSha -> TxHash
  - Tx.Sha -> Hash
  - bloom.Filter.AddShaHash -> AddHash
- Rename all variables that included sha in their name to include hash
  instead
- Add license headers to coinset package files
2016-08-08 12:38:16 -05:00
..
cov_report.sh Cleanup and finish BIP0037 bloom filter API. 2014-07-09 13:28:58 -05:00
example_test.go Update for recent chainhash-related API changes. (#78) 2016-08-08 12:38:16 -05:00
filter.go Update for recent chainhash-related API changes. (#78) 2016-08-08 12:38:16 -05:00
filter_test.go Update for recent chainhash-related API changes. (#78) 2016-08-08 12:38:16 -05:00
merkleblock.go Update for recent chainhash-related API changes. (#78) 2016-08-08 12:38:16 -05:00
merkleblock_test.go Update for recent chainhash-related API changes. (#78) 2016-08-08 12:38:16 -05:00
murmurhash3.go Relicense to the btcsuite developers. 2015-05-01 12:41:58 -05:00
murmurhash3_test.go Relicense to the btcsuite developers. 2015-05-01 12:41:58 -05:00
README.md docs: Make various README.md files consistent. 2015-10-23 17:17:38 -05:00
test_coverage.txt Update test coverage report. 2014-09-01 21:16:08 -05:00

bloom

[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/bloom)

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 report.

Installation and Updating

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

Examples

License

Package bloom is licensed under the copyfree ISC License.