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
Closes#1345. Closes#1346Closes#1350.
This PR stops discarding request errors from libp2p, and instead returns
them to the sender of the request. Also penalizes peers for sending
invalid responses or for not replying at all.
Making penalty configurable should be a follow-up PR, as there are other
penalties that should be configurable as well
TODO:
- [x] Make timeout configutable: Already seems to be case on master
branch
- [x] Add tests
- [x] Fix current tests that for some reason don't terminate
---------
Co-authored-by: xgreenx <[email protected]>
Part of:
#943
Blocked on: #1345
Peers should receive a penalty for not responding to requests.
The text was updated successfully, but these errors were encountered: