Branch: refs/heads/master
Home: https://github.com/conformal/btcwire
Commit: 620cbdeb8e8d91f1977699b928d75f5f2d312f30
https://github.com/conformal/btcwire/commit/620cbdeb8e8d91f1977699b928d75f5f2d312f30
Author: Javed Khan <[email protected]>
Date: 2014-04-21 (Mon, 21 Apr 2014)
Changed paths:
M README.md
M doc.go
M message_test.go
M msgversion.go
M msgversion_test.go
Log Message:
-----------
Implemented BIP 0014 format for user agent
the new function AddUserAgent adds the user agent to the stack
and formats it as per BIP 0014
e.g: "/btcwire:0.1.4/myclient:1.2.3(optional; comments)/"
the validation on UserAgent has been moved to a new function
validateUserAgent