Versions in this module Expand all Collapse all v0 v0.11.2 Mar 18, 2021 v0.11.1 Mar 18, 2021 Changes in this version + var ErrFilterNotFound = fmt.Errorf("unable to find filter") + type FilterDatabase interface + FetchFilter func(*chainhash.Hash, FilterType) (*gcs.Filter, error) + PurgeFilters func(FilterType) error + PutFilter func(*chainhash.Hash, *gcs.Filter, FilterType) error + type FilterStore struct + func New(db walletdb.DB, params chaincfg.Params) (*FilterStore, error) + func (f *FilterStore) FetchFilter(blockHash *chainhash.Hash, filterType FilterType) (*gcs.Filter, error) + func (f *FilterStore) PurgeFilters(fType FilterType) error + func (f *FilterStore) PutFilter(hash *chainhash.Hash, filter *gcs.Filter, fType FilterType) error + type FilterType uint8 + const RegularFilter