Peer Count Version

Jul 23, 2009 at 10:04 PM

I was looking through the source code and noticed something that I thought was interesting about the version.

The version number that is sent from the client to the server is the full version from the Assembly Info, which is curently set to 2.1.0.*. The server takes all of this as the version number, and then only shows peers in the peer count that match the exact version number, and channel, that you gave when registering with the server.

So anybody building their own client will not be able to see any other peers.

The easiest way to avoid this is probably to just use the first three numbers of the version instead of the whole thing. It makes sense to have some restrictions on peers and versions, but I don't know how strict it needs to be.

What do you guys think?