// AddDataElement adds a new data element to the filter.
AddDataElement adds a new data element to the filter.
// AddDataElement adds a new data element to the filter .
func (f *txFilter) AddDataElement(dataElement []byte) {
	if len(dataElement) > txscript.MaxScriptElementSize {
		return
	}
	f.dataElements[hex.EncodeToString(dataElement)] = struct{}{}
}
func ( f * txFilter ) AddDataElement ( dataElement [ ] byte ) { if len ( dataElement ) > txscript . MaxScriptElementSize { return } f . dataElements [ hex . EncodeToString ( dataElement ) ] = struct { } { } }
AddDataElement adds a new data element to the filter.
AddDataElement adds a new data element to the filter .