Commit 04a6ddc1 authored by Marcin Sobczyk's avatar Marcin Sobczyk
Browse files

Add info about chain-id in about method:

parent 0b692030
......@@ -348,6 +348,7 @@ public:
result["hive_revision_age"] = fc::get_approximate_relative_time_string( fc::time_point_sec( hive::utilities::git_revision_unix_timestamp ) );
result["fc_revision"] = fc::git_revision_sha;
result["fc_revision_age"] = fc::get_approximate_relative_time_string( fc::time_point_sec( fc::git_revision_unix_timestamp ) );
result["chain_id"] = _hive_chain_id;
result["compile_date"] = "compiled on " __DATE__ " at " __TIME__;
result["boost_version"] = boost::replace_all_copy(std::string(BOOST_LIB_VERSION), "_", ".");
result["openssl_version"] = OPENSSL_VERSION_TEXT;
......@@ -371,6 +372,7 @@ public:
result["server_blockchain_version"] = v.blockchain_version;
result["server_hive_revision"] = v.hive_revision;
result["server_fc_revision"] = v.fc_revision;
result["server_chain_id"] = v.chain_id;
}
catch( fc::exception& )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment