PrevUpHomeNext

Validations::getNodesAfter

Count the number of current trusted validators working on a ledger after the specified one.

Synopsis
std::size_t
getNodesAfter(
    Ledger const& ledger,
    ID const& ledgerID);
Description
Parameters

Name

Description

ledger

The working ledger

ledgerID

The preferred ledger

Return Value

The number of current trusted validators working on a descendent of the preferred ledger

Remarks

If ledger.id() != ledgerID, only counts immediate child ledgers of ledgerID


PrevUpHomeNext