Rename unl_default to validators_file.

This commit is contained in:
Arthur Britto
2012-11-20 13:13:52 -08:00
parent ddf380c6e5
commit 3cb3b41cef
5 changed files with 154 additions and 8 deletions

View File

@@ -1576,15 +1576,15 @@ void UniqueNodeList::nodeBootstrap()
bool bLoaded = iDomains || iNodes;
// Always merge in the file specified in the config.
if (!theConfig.UNL_DEFAULT.empty())
if (!theConfig.VALIDATORS_FILE.empty())
{
cLog(lsINFO) << "Bootstrapping UNL: loading from unl_default.";
bLoaded = nodeLoad(theConfig.UNL_DEFAULT);
bLoaded = nodeLoad(theConfig.VALIDATORS_FILE);
}
// If never loaded anything try the current directory.
if (!bLoaded && theConfig.UNL_DEFAULT.empty())
if (!bLoaded && theConfig.VALIDATORS_FILE.empty())
{
cLog(lsINFO) << "Bootstrapping UNL: loading from '" VALIDATORS_FILE_NAME "'.";