Branch: refs/heads/master
Home: https://github.com/conformal/btcutil
Commit: 9e3269e67ca85885b06528ac5bdfad8f7f0b7620
https://github.com/conformal/btcutil/commit/9e3269e67ca85885b06528ac5bdfad8f7f0b7620
Author: David Hill <[email protected]>
Date: 2014-07-09 (Wed, 09 Jul 2014)
Changed paths:
A bloomfilter/cov_report.sh
A bloomfilter/filter.go
A bloomfilter/filter_test.go
A bloomfilter/merkleblock.go
A bloomfilter/merkleblock_test.go
A bloomfilter/murmurhash3.go
A bloomfilter/murmurhash3_test.go
A bloomfilter/test_coverage.txt
Log Message:
-----------
Initial work towards BIP0037 bloom filtering API.
Commit: ad004c05349a446e68bee921335455d5e3e7693a
https://github.com/conformal/btcutil/commit/ad004c05349a446e68bee921335455d5e3e7693a
Author: Dave Collins <[email protected]>
Date: 2014-07-09 (Wed, 09 Jul 2014)
Changed paths:
A bloom/cov_report.sh
A bloom/filter.go
A bloom/filter_test.go
A bloom/merkleblock.go
A bloom/merkleblock_test.go
A bloom/murmurhash3.go
A bloom/murmurhash3_test.go
A bloom/test_coverage.txt
R bloomfilter/cov_report.sh
R bloomfilter/filter.go
R bloomfilter/filter_test.go
R bloomfilter/merkleblock.go
R bloomfilter/merkleblock_test.go
R bloomfilter/murmurhash3.go
R bloomfilter/murmurhash3_test.go
R bloomfilter/test_coverage.txt
Log Message:
-----------
Cleanup and finish BIP0037 bloom filter API.
This commit finishes the work started by @dajohi on bloom filters.
- Rename the package from bloomfilter to bloom
- Rename New function to NewFiler
- Rename Load function to LoadFilter
- Rename BloomFilter type to Filter
- Rename Contains to Matches
- Correct tx match handling to match all inputs and outputs instead of
only the first one
- Optimize murmur hash function by using constants
- Optimize the merkle block creation and reduce num of memory allocations
required
- Make MsgFilterLoad concurrent safe as intended
- Update various code consistency issues
- Add a lot of comments
- Improve tests
- Make the code golint clean
Compare:
https://github.com/conformal/btcutil/compare/e0adcd5f70cc...ad004c05349a