func ExampleNewFilter() {
	rand.Seed(time.Now().UnixNano())
	tweak := rand.Uint32()
	filter := bloom.NewFilter(10, tweak, 0.0001, wire.BloomUpdateNone)
	txHashStr := "fd611c56ca0d378cdcd16244b45c2ba9588da3adac367c4ef43e808b280b8a45"
	txHash, err := chainhash.NewHashFromStr(txHashStr)
	if err != nil {
		fmt.Println(err)
		return
	}
	filter.AddHash(txHash)
	matches := filter.Matches(txHash[:])
	fmt.Println("Filter Matches?:", matches)
}
This example demonstrates how to create a new bloom filter, add a transaction
hash to it, and check if the filter matches the transaction.
package bloom_test
import (
	"fmt"
	"math/rand"
	"time"
	"github.com/soteria-dag/soterd/chaincfg/chainhash"
	"github.com/soteria-dag/soterd/wire"
	"github.com/soteria-dag/soterd/soterutil/bloom"
)