HelloZeroNet / ZeroTalk

ZeroTalk
GNU General Public License v2.0
59 stars 48 forks source link

Share tracker between users #73

Closed HelloZeroNet closed 6 years ago

HelloZeroNet commented 6 years ago

Why?

To make the network more decentralized and avoid easy blocking of trackers.

What?

Allow the users to automatically share tracker list with each other.

How?

At the startup and once every hour the client asks 5 peers for new trackers.

New API command:

The trackers are saved in data/trackers.json:

{"shared": {
    "zero://any.address:port": {
        "time_added": 123891237832,
        "time_found": 39827138921,
        "time_success": 1231231232,
        "latency": 0.34
    }
}}

If the user has the Bootstrapper plugin enabled and opened port, then it's automatically adds the client's public ip to the shared trackers list.

HelloZeroNet commented 6 years ago

Wrong project