PrevUpHomeNext
Validations::getPreferred (2 of 2 overloads)

Get the ID of the preferred working ledger that exceeds a minimum valid ledger sequence number.

Synopsis
ID
getPreferred(
    Ledger const& currLedger,
    Seq minValidSeq);
Description
Parameters

Name

Description

currLedger

Current working ledger

minValidSeq

Minimum allowed sequence number

Return Value

ID Of the preferred ledger, or currLedger if the preferred ledger is not valid


PrevUpHomeNext