Function filterFingerprint

  • Creates a fingerprint for this filter

    This a deterministic association of the filters used in a filters. When the combination of filters makes it possible to group them, the fingerprint is used to group them.

    The different filters in the array are differentiated so that filters can only be grouped with other filters that have the same signature

    The calculated group ID uses a + prefix to avoid grouping subscriptions that intend to close immediately after EOSE and those that are probably going to be kept open.

    Parameters

    Returns NDKFilterFingerprint | undefined

    The fingerprint, or undefined if the filters are not groupable.