ChainSafe / discv5

A Typescript implementation of the Discv5 protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add IP filter in bucket and table

dapplion opened this issue · comments

Prevent too many IPs from the same subnet to fill buckets or tables. See as reference https://github.com/sigp/discv5/blob/9009ad99b915ff973f61cd5bad8a486c4ea2ea2a/src/kbucket/filter.rs#L33