PrevUpHomeNext

RCLConsensus::validate

Validate the given ledger and share with peers as necessary.

Synopsis
void
validate(
    RCLCxLedger const& ledger,
    NetClock::time_point now,
    bool proposing);
Description
Parameters

Name

Description

ledger

The ledger to validate

now

Current network adjusted time

proposing

Whether we were proposing transactions while generating this ledger. If we are not proposing, a validation can still be sent to inform peers that we know we aren't fully participating in consensus but are still around and trying to catch up.


PrevUpHomeNext