Module: kadence/churnfilter


(require("kadence/churnfilter"))( [options])

Registers a module:kadence/contentaddress~ChurnFilterPlugin with a KademliaNode
Parameters:
Name Type Argument Description
options object <optional>
Properties
Name Type Argument Default Description
cooldownMultiplier number <optional>
2 Multiply cooldown time by this number after every offense
cooldownResetTime string <optional>
"60M" Human time string for resetting the cooldown multiplier after no block added for a given peer fingerprint
cooldownBaseTimeout string <optional>
"5M" Human time string for starting timeout, multiplied by two every time the cooldown is reset and broken again
Source:

Classes

ChurnFilterPlugin