libp2p
    Preparing search index...

    Function createBloomFilter

    • Create a BloomFilter with the smallest bits and hashes value for the specified item count and error rate.

      Parameters

      • itemCount: number
      • errorRate: number = 0.005

      Returns Filter