You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a peer doesn't reply with anything "useful", we don't adjust their performance score. This opens the door to an attack where some malicious peer is good and then only sends empty responses before the timeout (meaning that the node always makes a handful of requests to people that'll never give them something useful first).
We should instead penalize a peer for not giving us something interesting. We should only do this if the response is "empty" and not a response of data we no longer need (but asked for).
If a peer doesn't reply with anything "useful", we don't adjust their performance score. This opens the door to an attack where some malicious peer is good and then only sends empty responses before the timeout (meaning that the node always makes a handful of requests to people that'll never give them something useful first).
We should instead penalize a peer for not giving us something interesting. We should only do this if the response is "empty" and not a response of data we no longer need (but asked for).
Related:
monorepo/consensus/src/simplex/actors/resolver/actor.rs
Lines 586 to 600 in 1656a04
monorepo/consensus/src/threshold_simplex/actors/resolver/actor.rs
Lines 588 to 602 in 1656a04
The text was updated successfully, but these errors were encountered: