Rewrite build version and protocol version interface

This commit is contained in:
Vinnie Falco
2013-07-30 17:29:23 -07:00
parent f5488a2219
commit 5959c4e312
11 changed files with 482 additions and 111 deletions

View File

@@ -1391,8 +1391,8 @@ Json::Value NetworkOPs::getServerInfo (bool human, bool admin)
{
Json::Value info = Json::objectValue;
info ["build_version"] = BuildVersion::getBuildVersion ();
info ["client_version"] = BuildVersion::getClientVersion ();
info ["build_version"] = BuildInfo::getBuildVersion ();
info ["client_version"] = BuildInfo::getClientVersion ();
if (getConfig ().TESTNET)
info["testnet"] = getConfig ().TESTNET;