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

@@ -463,7 +463,10 @@ OverlayImpl::setupValidatorKeyManifests (BasicConfig const& config,
s = beast::base64_decode(s);
if (auto mo = make_Manifest (std::move (s)))
{
manifestCache_.configManifest (std::move (*mo), app_.getUNL (), journal_);
manifestCache_.configManifest (
std::move (*mo),
app_.validators(),
journal_);
}
else
{
@@ -476,7 +479,10 @@ OverlayImpl::setupValidatorKeyManifests (BasicConfig const& config,
journal_.warning << "No [validation_manifest] section in config";
}
manifestCache_.load (db, app_.getUNL(), journal_);
manifestCache_.load (
db,
app_.validators(),
journal_);
}
void
@@ -685,8 +691,10 @@ OverlayImpl::onManifests (
continue;
auto const serialized = mo->serialized;
auto const result =
manifestCache_.applyManifest (std::move(*mo), app_.getUNL(), journal);
auto const result = manifestCache_.applyManifest (
std::move(*mo),
app_.validators(),
journal);
if (result == ManifestDisposition::accepted)
{