public bool Matches(ref BloomStructRef bloom)
        {
            if (Addresses != null)
            {
                bool result  = true;
                var  indexes = AddressesBloomExtracts;
                for (var i = 0; i < indexes.Length; i++)
                {
                    var index = indexes[i];
                    result = bloom.Matches(ref index);
                    if (result)
                    {
                        break;
                    }
                }

                return(result);
            }
            else if (Address == null)
            {
                return(true);
            }
            else
            {
                return(bloom.Matches(AddressBloomExtract));
            }
        }
Exemple #2
0
 public override bool Matches(ref BloomStructRef bloom) => bloom.Matches(BloomExtract);