PrevUpHomeNext

Validations::getPreferred

Return the sequence number and ID of the preferred working ledger.

std::pair< Seq, ID >
getPreferred(
    Ledger const& currLedger);

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

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

PrevUpHomeNext