gabrieldemian / vincenzo

A BitTorrent client with vim-like keybindings and a terminal based UI.
https://github.com/gabrieldemian/vincenzo
MIT License
136 stars 8 forks source link

Change the peer ID generation #16

Closed gabrieldemian closed 10 months ago

gabrieldemian commented 10 months ago

feedback from dgroshev on reddit:

"it's quite inconsiderate to send fully random peer IDs like this, most clients use stable prefixes like qB and trackers use that to figure out their userbase"

I think a solution is to prepend the peer ID with "vcz" and generate the rest of the ID randomly.