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)); } }
public override bool Matches(ref BloomStructRef bloom) { for (int i = 0; i < _subexpressions.Length; i++) { if (_subexpressions[i].Matches(ref bloom)) { return(true); } } return(false); }
public bool Matches(ref BloomStructRef bloom) { bool result = true; for (int i = 0; i < _expressions.Length; i++) { result = _expressions[i].Matches(ref bloom); if (!result) { break; } } return(result); }
public bool Matches(ref BloomStructRef bloom) => AddressFilter.Matches(ref bloom) && TopicsFilter.Matches(ref bloom);
public override bool Matches(ref BloomStructRef bloom) => true;
public void Accumulate(BloomStructRef bloom) { Bytes.Or(bloom.Bytes); }
public bool Equals(BloomStructRef other) { return(Nethermind.Core.Extensions.Bytes.AreEqual(Bytes, other.Bytes)); }
public override bool Matches(ref BloomStructRef bloom) => bloom.Matches(BloomExtract);
public abstract bool Matches(ref BloomStructRef bloom);