PrevUpHomeNext

RCLValidationsAdaptor

RCLValidationsAdaptor::Ledger
RCLValidationsAdaptor::Mutex
RCLValidationsAdaptor::RCLValidationsAdaptor
RCLValidationsAdaptor::Validation
RCLValidationsAdaptor::acquire
RCLValidationsAdaptor::app_
RCLValidationsAdaptor::doStaleWrite
RCLValidationsAdaptor::flush
RCLValidationsAdaptor::j_
RCLValidationsAdaptor::journal
RCLValidationsAdaptor::now
RCLValidationsAdaptor::onStale
RCLValidationsAdaptor::staleLock_
RCLValidationsAdaptor::staleValidations_
RCLValidationsAdaptor::staleWriting_

Generic validations adaptor classs for RCL.

Synopsis
class RCLValidationsAdaptor
Types

Name

Description

Ledger

Mutex

Validation

Member Functions

Name

Description

RCLValidationsAdaptor

acquire

Attempt to acquire the ledger with given id from the network.

flush

Flush current validations to disk before shutdown.

journal

now

Current time used to determine if validations are stale.

onStale

Handle a newly stale validation.

Description

Manages storing and writing stale RCLValidations to the sqlite DB and acquiring validated ledgers from the network.

Header

#include <ripple/app/consensus/RCLValidations.h>


PrevUpHomeNext