code: func (f *Filter) blockLogs(ctx context.Context, header *types.Header) (logs []*types.Log, err error) {
  	if bloomFilter(header.Bloom, f.addresses, f.topics) {
  		found, err := f.checkMatches(ctx, header)
  		if err != nil {
  			return logs, err
  		}
  		logs = append(logs, found...)
  	}
  	return logs, nil
  }
docs: // blockLogs returns the logs matching the filter criteria within a single block.