libp2p
    Preparing search index...

    Class BloomFilter

    Implements

    Index
    bits: number
    buffer: Uint8Array
    seeds: number[]
    • Test if the filter has an item. If it returns false it definitely does not have the item. If it returns true, it probably has the item but there's an errorRate chance it doesn't.

      Parameters

      Returns boolean