Versions in this module Expand all Collapse all v1 v1.1.2 Aug 13, 2020 v1.1.0 Jul 18, 2020 Changes in this version + const DefaultM + const DefaultP + func BuildBasicFilter(block *wire.MsgBlock, prevOutScripts [][]byte) (*gcs.Filter, error) + func DeriveKey(keyHash *chainhash.Hash) [gcs.KeySize]byte + func GetFilterHash(filter *gcs.Filter) (chainhash.Hash, error) + func MakeHeaderForFilter(filter *gcs.Filter, prevHeader chainhash.Hash) (chainhash.Hash, error) + func RandomKey() ([gcs.KeySize]byte, error) + type GCSBuilder struct + func WithKey(key [gcs.KeySize]byte) *GCSBuilder + func WithKeyHash(keyHash *chainhash.Hash) *GCSBuilder + func WithKeyHashPM(keyHash *chainhash.Hash, p uint8, m uint64) *GCSBuilder + func WithKeyHashPNM(keyHash *chainhash.Hash, p uint8, n uint32, m uint64) *GCSBuilder + func WithKeyPM(key [gcs.KeySize]byte, p uint8, m uint64) *GCSBuilder + func WithKeyPNM(key [gcs.KeySize]byte, p uint8, n uint32, m uint64) *GCSBuilder + func WithRandomKey() *GCSBuilder + func WithRandomKeyPM(p uint8, m uint64) *GCSBuilder + func WithRandomKeyPNM(p uint8, n uint32, m uint64) *GCSBuilder + func (b *GCSBuilder) AddEntries(data [][]byte) *GCSBuilder + func (b *GCSBuilder) AddEntry(data []byte) *GCSBuilder + func (b *GCSBuilder) AddHash(hash *chainhash.Hash) *GCSBuilder + func (b *GCSBuilder) AddWitness(witness wire.TxWitness) *GCSBuilder + func (b *GCSBuilder) Build() (*gcs.Filter, error) + func (b *GCSBuilder) Key() ([gcs.KeySize]byte, error) + func (b *GCSBuilder) Preallocate(n uint32) *GCSBuilder + func (b *GCSBuilder) SetKey(key [gcs.KeySize]byte) *GCSBuilder + func (b *GCSBuilder) SetKeyFromHash(keyHash *chainhash.Hash) *GCSBuilder + func (b *GCSBuilder) SetM(m uint64) *GCSBuilder + func (b *GCSBuilder) SetP(p uint8) *GCSBuilder