Formats a BIP14-style user agent subversion string.
Declared in <clientversion.h>
std::string
FormatSubVersion(
std::string const& name,
int nClientVersion,
std::vector<std::string> const& comments);
The formatted subversion string.
| Name | Description |
|---|---|
| name | The client name to embed in the user agent. |
| nClientVersion | The numeric client version to embed. |
| comments | Optional comments appended in parentheses. |