Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ FormatVersion
Function
FormatVersion
src/clientversion.cpp:51–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
#endif
50
51
static std::string FormatVersion(int nVersion)
52
{
53
return strprintf(
"%d.%d.%d"
, nVersion / 10000, (nVersion / 100) % 100, nVersion % 100);
54
}
55
56
std::string FormatFullVersion()
57
{
Callers
1
FormatSubVersion
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected