mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
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:
@@ -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 ())
|
||||
|
||||
Reference in New Issue
Block a user