mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Report server versions when crawling the overlay network
This commit is contained in:
committed by
Tom Ritchford
parent
a8db5650a5
commit
bc48d299b6
@@ -197,6 +197,15 @@ PeerImp::crawl() const
|
||||
return beast::ci_equal(iter->second, "public");
|
||||
}
|
||||
|
||||
std::string
|
||||
PeerImp::getVersion() const
|
||||
{
|
||||
if (hello_.has_fullversion ())
|
||||
return hello_.fullversion ();
|
||||
|
||||
return std::string ();
|
||||
}
|
||||
|
||||
Json::Value
|
||||
PeerImp::json()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user