// newTxFilter creates a new txFilter.
newTxFilter creates a new txFilter.
// newTxFilter creates a new txFilter .
func newTxFilter() *txFilter {
	return &txFilter{
		outpoints:           map[wire.OutPoint]struct{}{},
		pubKeyHashes:        map[[ripemd160.Size]byte]struct{}{},
		scriptHashes:        map[[ripemd160.Size]byte]struct{}{},
		compressedPubKeys:   map[[33]byte]struct{}{},
		uncompressedPubKeys: map[[65]byte]struct{}{},
		dataElements:        map[string]struct{}{},
		fallbacks:           map[string]struct{}{},
	}
}
func newTxFilter ( ) * txFilter { return & txFilter { outpoints : map [ wire . OutPoint ] struct { } { } , pubKeyHashes : map [ [ ripemd160 . Size ] byte ] struct { } { } , scriptHashes : map [ [ ripemd160 . Size ] byte ] struct { } { } , compressedPubKeys : map [ [ 33 ] byte ] struct { } { } , uncompressedPubKeys : map [ [ 65 ] byte ] struct { } { } , dataElements : map [ string ] struct { } { } , fallbacks : map [ string ] struct { } { } , } }
newTxFilter creates a new txFilter.
newTxFilter creates a new txFilter .