Versions in this module Expand all Collapse all v3 deprecated v3.0.1 Jun 10, 2023 v3.0.0 Nov 22, 2021 Changes in this version + const ErrBTooBig + const ErrMisserialized + const ErrNTooBig + const ErrPTooBig + const KeySize + func MakeHeaderForFilter(filter *FilterV1, prevHeader *chainhash.Hash) chainhash.Hash + type Error struct + Description string + Err error + func (e Error) Error() string + func (e Error) Unwrap() error + type ErrorKind string + func (e ErrorKind) Error() string + type FilterV1 struct + func FromBytesV1(P uint8, d []byte) (*FilterV1, error) + func NewFilterV1(P uint8, key [KeySize]byte, data [][]byte) (*FilterV1, error) + func (f *FilterV1) Bytes() []byte + func (f *FilterV1) Hash() chainhash.Hash + func (f *FilterV1) Match(key [KeySize]byte, data []byte) bool + func (f *FilterV1) MatchAny(key [KeySize]byte, data [][]byte) bool + func (f *FilterV1) N() uint32 + func (f *FilterV1) P() uint8 + type FilterV2 struct + func FromBytesV2(B uint8, M uint64, d []byte) (*FilterV2, error) + func NewFilterV2(B uint8, M uint64, key [KeySize]byte, data [][]byte) (*FilterV2, error) + func (f *FilterV2) B() uint8 + func (f *FilterV2) Bytes() []byte + func (f *FilterV2) Hash() chainhash.Hash + func (f *FilterV2) Match(key [KeySize]byte, data []byte) bool + func (f *FilterV2) MatchAny(key [KeySize]byte, data [][]byte) bool + func (f *FilterV2) N() uint32 Other modules containing this package github.com/decred/dcrd/gcs github.com/decred/dcrd/gcs/v2 github.com/decred/dcrd/gcs/v4