Streamlined UNL/validator list:

The new code removes the ability to specify domain names
in the [validators] configuration block, and no longer
supports the [validators_site] option.

More details on the supported configurations are available
under doc/rippled-example.cfg.
This commit is contained in:
Nik Bougalis
2015-11-11 00:55:09 -08:00
parent 0a96f3a249
commit e0af6ec567
41 changed files with 971 additions and 2902 deletions

View File

@@ -24,7 +24,7 @@
#include <ripple/app/ledger/LedgerTiming.h>
#include <ripple/app/main/Application.h>
#include <ripple/app/misc/NetworkOPs.h>
#include <ripple/app/misc/UniqueNodeList.h>
#include <ripple/app/misc/ValidatorList.h>
#include <ripple/basics/Log.h>
#include <ripple/basics/StringUtilities.h>
#include <ripple/basics/chrono.h>
@@ -89,7 +89,7 @@ private:
RippleAddress signer = val->getSignerPublic ();
bool isCurrent = current (val);
if (! val->isTrusted() && app_.getUNL().nodeInUNL (signer))
if (!val->isTrusted() && app_.validators().trusted (signer))
val->setTrusted();
if (!val->isTrusted ())