PrevUpHomeNext

RCLConsensus::getLCL

Get the last closed ledger (LCL) seen on the network.

Synopsis
uint256
getLCL(
    uint256 const& currentLedger,
    uint256 const& priorLedger,
    bool believedCorrect);
Description
Parameters

Name

Description

currentLedger

Current ledger used in consensus

priorLedger

Prior ledger used in consensus

believedCorrect

Whether consensus believes currentLedger is LCL

Return Value

The hash of the last closed network


PrevUpHomeNext