Add READEME.md for bloom package.
This commit is contained in:
parent
bf92067b65
commit
c78a40ab21
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue