Previously, we might ban a node if we're having trouble connecting to it, but this could be due to internet connectivity issues. We introduce a penalty score for nodes, that increases if there are connection issues or the node misbehaves, and decreases on successful connections. When connected to new nodes, we sort them so that low-penalty nodes are attempted first. |
||
|---|---|---|
| .. | ||
| gossip | ||
| filter.rs | ||
| gossip.rs | ||
| io.rs | ||
| limitter.rs | ||
| message.rs | ||
| session.rs | ||