Add validator key revocations:

Allow manifest revoking validator keys to be stored in a separate
[validator_key_revocation] config field, so the validator can run
again with new keys and token.
This commit is contained in:
wilsonianb
2017-01-24 08:38:29 -08:00
committed by seelabs
parent a8cf5e0a5c
commit b4a16b165b
6 changed files with 149 additions and 38 deletions

View File

@@ -1135,7 +1135,8 @@ bool ApplicationImp::setup()
}
if (!validatorManifests_->load (
getWalletDB (), "ValidatorManifests", manifest))
getWalletDB (), "ValidatorManifests", manifest,
config().section (SECTION_VALIDATOR_KEY_REVOCATION).values ()))
{
JLOG(m_journal.fatal()) << "Invalid configured validator manifest.";
return false;