The previous banning implementation didn't work, since it included port numbers in the address value. Here, we keep a separate table with (node, ip) pairs and update this table when a node connects or is banned. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
The previous banning implementation didn't work, since it included port numbers in the address value. Here, we keep a separate table with (node, ip) pairs and update this table when a node connects or is banned. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||