Add READEME.md for bloom package.

This commit is contained in:
Dave Collins 2014-07-09 20:41:22 -05:00
parent bf92067b65
commit c78a40ab21

View file

@ -13,8 +13,8 @@ import (
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )
// This example creates a new bloom filter, adds a transaction hash to it, and // This example demonstrates how to create a new bloom filter, add a transaction
// shows how to check if the filter matches the transaction. // hash to it, and check if the filter matches the transaction.
func ExampleNewFilter() { func ExampleNewFilter() {
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
tweak := rand.Uint32() tweak := rand.Uint32()