Module: caf_bloom/proxy_bloom

Proxy to a Bloom filter shared by all CAs.

Source:

Extends

Methods

add(key)

Adds a key to the set.

Parameters:
Name Type Description
key string

The string key to add.

Source:

clear()

Clears the filter.

Source:

has(key, cb0)

Checks that a key is in the set.

It uses a Bloom filter that can introduce false positives, but no false negatives.

Parameters:
Name Type Description
key string

The key to check.

cb0 caf.cb

A standard node.js callback that returns whether it is in the set, or an error.

Source: