Remove validation cookie support code

This commit is contained in:
Brad Chase
2018-05-04 11:59:33 -04:00
committed by Nikolaos D. Bougalis
parent 04f1388860
commit 6156ff3eb7
16 changed files with 9 additions and 171 deletions

View File

@@ -320,17 +320,9 @@ handleNewValidation(Application& app,
if(j.debug())
dmp(j.debug(), to_string(outcome));
auto const seq = val->getFieldU32(sfLedgerSequence);
if (outcome == ValStatus::badCookie && j.error())
{
dmp(j.error(),
"already received validation for seq " + to_string(seq) +
" with different cookie; are two validators running with "
"the same keys?");
}
if (outcome == ValStatus::badSeq && j.warn())
{
auto const seq = val->getFieldU32(sfLedgerSequence);
dmp(j.warn(),
"already validated sequence at or past " + to_string(seq));
}