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
Currently ban_peer_id bans a peer for the entire lifetime of the swarm unless unban_peer_id is called. It would be great to have another ban_peer_id_with_duration API that automatically unbans the peer after the specific duration.
Motivation
The peers being banned may "correct" their behavior and we would give them a chance to reconnect after a while so that we can re-evaluate them
Requirements
the API accepts an additional Duration parameter
automatically unban the peer after the specified duration
the API change should be backward compatible, requiring only patch version bump
Open questions
Are you planning to do it yourself in a pull request?
Maybe.
The text was updated successfully, but these errors were encountered:
Description
Currently
ban_peer_id
bans a peer for the entire lifetime of the swarm unlessunban_peer_id
is called. It would be great to have anotherban_peer_id_with_duration
API that automatically unbans the peer after the specific duration.Motivation
The peers being banned may "correct" their behavior and we would give them a chance to reconnect after a while so that we can re-evaluate them
Requirements
Duration
parameterOpen questions
Are you planning to do it yourself in a pull request?
Maybe.
The text was updated successfully, but these errors were encountered: