mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add HTTPMessage::toString and family
This commit is contained in:
@@ -87,7 +87,7 @@ Config::Config ()
|
||||
|
||||
ACCOUNT_PROBE_MAX = 10;
|
||||
|
||||
VALIDATORS_SITE = DEFAULT_VALIDATORS_SITE;
|
||||
VALIDATORS_SITE = "";
|
||||
|
||||
SSL_VERIFY = true;
|
||||
|
||||
@@ -722,6 +722,17 @@ File Config::getDatabaseDir () const
|
||||
return File (String (DATA_DIR.native ().c_str ()));
|
||||
}
|
||||
|
||||
File Config::getValidatorsFile () const
|
||||
{
|
||||
return getConfigDir().getChildFile (String (VALIDATORS_FILE.native().c_str()));
|
||||
}
|
||||
|
||||
UniformResourceLocator Config::getValidatorsURL () const
|
||||
{
|
||||
String s = "https://" + VALIDATORS_SITE + VALIDATORS_URI;
|
||||
return ParsedURL (s).url ();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
void Config::setRpcIpAndOptionalPort (std::string const& newAddress)
|
||||
|
||||
Reference in New Issue
Block a user