PrevUpHomeNext

RCLConsensus::Adaptor::onAccept

Process the accepted ledger.

Synopsis
void
onAccept(
    Result const& result,
    RCLCxLedger const& prevLedger,
    NetClock::duration const& closeResolution,
    ConsensusCloseTimes const& rawCloseTimes,
    ConsensusMode const& mode,
    Json::Value&& consensusJson);
Description
Parameters

Name

Description

result

The result of consensus

prevLedger

The closed ledger consensus worked from

closeResolution

The resolution used in agreeing on an effective closeTime

rawCloseTimes

The unrounded closetimes of ourself and our peers

mode

Our participating mode at the time consensus was declared

consensusJson

Json representation of consensus state


PrevUpHomeNext