mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
Add version and build information to server_info response.
This commit is contained in:
committed by
Vinnie Falco
parent
c6fe72f666
commit
1a2c87b3a8
@@ -1345,6 +1345,9 @@ Json::Value NetworkOPs::getServerInfo (bool human, bool admin)
|
||||
{
|
||||
Json::Value info = Json::objectValue;
|
||||
|
||||
info ["build_version"] = BuildVersion::getBuildVersion ();
|
||||
info ["client_version"] = BuildVersion::getClientVersion ();
|
||||
|
||||
if (theConfig.TESTNET)
|
||||
info["testnet"] = theConfig.TESTNET;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user