ZeroNetJS / zeronet-js

ZeroNet in JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lower the peers score by 20 every time an error response is returned

danimesq opened this issue · comments

Also, automatically change to another peer when a peer is sending the site with missing files.

Also, automatically change to another peer when a peer is sending the site with missing files.

This is already being done here

Automatically block peers that are returning 404

Instead we could use a peer score system and lower the peers score by 20 every time an error response is returned.
Peers with less then -100 points will be blocked then

But if the peer use the same Tor IP of others, then all users of a relay will be blocked?

But if the peer use the same Tor IP of others, then all users of a relay will be blocked?

You can't expose your ip via a tor exit node.
Additionally the client would only block the onion address not the relays in between.

Amazing.
I updated the title of this issue.

I will fix this during the rewrite of the discovery stuff, etc. See #91