Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Skybuck on December 01, 2011, 02:21:59 PM



Title: Client string
Post by: Skybuck on December 01, 2011, 02:21:59 PM
Hello,

It could be interesting to include a "client string" in the protocol, which could be used to identified alternative clients.

Like bittorrent does ;)

Bye,
  Skybuck =D


Title: Re: Client string
Post by: blueadept on December 01, 2011, 08:49:37 PM
The sub_version_num field (https://en.bitcoin.it/wiki/Protocol_specification#version) looks like it allows that.

BitcoinJ (http://code.google.com/p/bitcoinj/source/browse/src/com/google/bitcoin/core/VersionMessage.java) appears to use it.