gabrieldemian / vincenzo

A BitTorrent client with vim-like keybindings and a terminal based UI.

Home Page:https://github.com/gabrieldemian/vincenzo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change the peer ID generation

gabrieldemian opened this issue · comments

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.