rippled
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ripple::ApplicationImp Class Reference
Inheritance diagram for ripple::ApplicationImp:
Inheritance graph
[legend]

Classes

class  io_latency_sampler
 

Public Types

using MutexType = std::recursive_mutex
 

Public Member Functions

 ApplicationImp (std::unique_ptr< Config > config, std::unique_ptr< Logs > logs, std::unique_ptr< TimeKeeper > timeKeeper)
 
bool setup (boost::program_options::variables_map const &cmdline) override
 
void start (bool withTimers) override
 
void run () override
 
void signalStop (std::string msg) override
 
bool checkSigs () const override
 
void checkSigs (bool) override
 
bool isStopping () const override
 
int fdRequired () const override
 
std::uint64_t instanceID () const override
 Returns a 64-bit instance identifier, generated at startup.
 
Logslogs () override
 
Configconfig () override
 
CollectorManagergetCollectorManager () override
 
FamilygetNodeFamily () override
 
TimeKeepertimeKeeper () override
 
JobQueuegetJobQueue () override
 
std::pair< PublicKey, SecretKey > const & nodeIdentity () override
 
std::optional< PublicKey const > getValidationPublicKey () const override
 
NetworkOPsgetOPs () override
 
virtual ServerHandlergetServerHandler () override
 
boost::asio::io_context & getIOContext () override
 
std::chrono::milliseconds getIOLatency () override
 
LedgerMastergetLedgerMaster () override
 
LedgerCleanergetLedgerCleaner () override
 
LedgerReplayergetLedgerReplayer () override
 
InboundLedgersgetInboundLedgers () override
 
InboundTransactionsgetInboundTransactions () override
 
TaggedCache< uint256, AcceptedLedger > & getAcceptedLedgerCache () override
 
void gotTXSet (std::shared_ptr< SHAMap > const &set, bool fromAcquire)
 
TransactionMastergetMasterTransaction () override
 
perf::PerfLoggetPerfLog () override
 
NodeCachegetTempNodeCache () override
 
NodeStore::DatabasegetNodeStore () override
 
Application::MutexTypegetMasterMutex () override
 
LoadManagergetLoadManager () override
 
Resource::ManagergetResourceManager () override
 
OrderBookDBgetOrderBookDB () override
 
PathRequestsgetPathRequests () override
 
CachedSLEscachedSLEs () override
 
AmendmentTablegetAmendmentTable () override
 
LoadFeeTrackgetFeeTrack () override
 
HashRoutergetHashRouter () override
 
RCLValidationsgetValidations () override
 
ValidatorListvalidators () override
 
ValidatorSitevalidatorSites () override
 
ManifestCachevalidatorManifests () override
 
ManifestCachepublisherManifests () override
 
Clustercluster () override
 
PeerReservationTablepeerReservations () override
 
SHAMapStoregetSHAMapStore () override
 
PendingSavespendingSaves () override
 
OpenLedgeropenLedger () override
 
OpenLedger const & openLedger () const override
 
Overlayoverlay () override
 
TxQgetTxQ () override
 
RelationalDatabasegetRelationalDatabase () override
 
DatabaseCongetWalletDB () override
 Retrieve the "wallet database".
 
bool serverOkay (std::string &reason) override
 
beast::Journal journal (std::string const &name) override
 
bool initRelationalDatabase ()
 
bool initNodeStore ()
 
void onWrite (beast::PropertyStream::Map &stream) override
 Subclass override.
 
void setSweepTimer ()
 
void setEntropyTimer ()
 
void doSweep ()
 
LedgerIndex getMaxDisallowedLedger () override
 Ensure that a newly-started validator does not sign proposals older than the last ledger it persisted.
 
virtual std::optional< uint256 > const & trapTxID () const override
 
std::string const & name () const
 Returns the name of this source.
 
void add (Source &source)
 Add a child source.
 
template<class Derived >
Derived * add (Derived *child)
 Add a child source by pointer.
 
void remove (Source &child)
 Remove a child source from this Source.
 
void removeAll ()
 Remove all child sources from this Source.
 
void write_one (PropertyStream &stream)
 Write only this Source to the stream.
 
void write (PropertyStream &stream)
 write this source and all its children recursively to the stream.
 
void write (PropertyStream &stream, std::string const &path)
 Parse the path and write the corresponding Source and optional children.
 
std::pair< Source *, bool > find (std::string path)
 Parse the dot-delimited Source path and return the result.
 
Sourcefind_one_deep (std::string const &name)
 
PropertyStream::Source * find_path (std::string path)
 
PropertyStream::Source * find_one (std::string const &name)
 
boost::asio::io_context & get_io_context ()
 

Static Public Member Functions

static std::size_t numberOfThreads (Config const &config)
 
static bool peel_leading_slash (std::string *path)
 
static bool peel_trailing_slashstar (std::string *path)
 
static std::string peel_name (std::string *path)
 

Public Attributes

std::unique_ptr< Configconfig_
 
std::unique_ptr< Logslogs_
 
std::unique_ptr< TimeKeepertimeKeeper_
 
std::uint64_t const instanceCookie_
 
beast::Journal m_journal
 
std::unique_ptr< perf::PerfLogperfLog_
 
Application::MutexType m_masterMutex
 
TransactionMaster m_txMaster
 
std::unique_ptr< CollectorManagerm_collectorManager
 
std::unique_ptr< JobQueuem_jobQueue
 
NodeStoreScheduler m_nodeStoreScheduler
 
std::unique_ptr< SHAMapStorem_shaMapStore
 
PendingSaves pendingSaves_
 
std::optional< OpenLedgeropenLedger_
 
NodeCache m_tempNodeCache
 
CachedSLEs cachedSLEs_
 
std::optional< std::pair< PublicKey, SecretKey > > nodeIdentity_
 
ValidatorKeys const validatorKeys_
 
std::unique_ptr< Resource::Managerm_resourceManager
 
std::unique_ptr< NodeStore::Databasem_nodeStore
 
NodeFamily nodeFamily_
 
OrderBookDB m_orderBookDB
 
std::unique_ptr< PathRequestsm_pathRequests
 
std::unique_ptr< LedgerMasterm_ledgerMaster
 
std::unique_ptr< LedgerCleanerledgerCleaner_
 
std::unique_ptr< InboundLedgersm_inboundLedgers
 
std::unique_ptr< InboundTransactionsm_inboundTransactions
 
std::unique_ptr< LedgerReplayerm_ledgerReplayer
 
TaggedCache< uint256, AcceptedLedgerm_acceptedLedgerCache
 
std::unique_ptr< NetworkOPsm_networkOPs
 
std::unique_ptr< Clustercluster_
 
std::unique_ptr< PeerReservationTablepeerReservations_
 
std::unique_ptr< ManifestCachevalidatorManifests_
 
std::unique_ptr< ManifestCachepublisherManifests_
 
std::unique_ptr< ValidatorListvalidators_
 
std::unique_ptr< ValidatorSitevalidatorSites_
 
std::unique_ptr< ServerHandlerserverHandler_
 
std::unique_ptr< AmendmentTablem_amendmentTable
 
std::unique_ptr< LoadFeeTrackmFeeTrack
 
std::unique_ptr< HashRouterhashRouter_
 
RCLValidations mValidations
 
std::unique_ptr< LoadManagerm_loadManager
 
std::unique_ptr< TxQtxQ_
 
ClosureCounter< void, boost::system::error_code const & > waitHandlerCounter_
 
boost::asio::steady_timer sweepTimer_
 
boost::asio::steady_timer entropyTimer_
 
std::unique_ptr< RelationalDatabasemRelationalDatabase
 
std::unique_ptr< DatabaseConmWalletDB
 
std::unique_ptr< Overlayoverlay_
 
std::optional< uint256trapTxID_
 
boost::asio::signal_set m_signals
 
std::condition_variable stoppingCondition_
 
std::mutex stoppingMutex_
 
std::atomic< bool > isTimeToStop = false
 
std::atomic< bool > checkSigs_
 
std::unique_ptr< ResolverAsiom_resolver
 
io_latency_sampler m_io_latency_sampler
 
std::unique_ptr< GRPCServergrpcServer_
 

Private Member Functions

void startGenesisLedger ()
 
std::shared_ptr< LedgergetLastFullLedger ()
 
std::shared_ptr< LedgerloadLedgerFromFile (std::string const &ledgerID)
 
bool loadOldLedger (std::string const &ledgerID, bool replay, bool isFilename, std::optional< uint256 > trapTxID)
 
void setMaxDisallowedLedger ()
 

Private Attributes

std::atomic< LedgerIndexmaxDisallowedLedger_ {0}
 
std::string const m_name
 
std::recursive_mutex lock_
 
Item item_
 
Sourceparent_
 
List< Item > children_
 
std::optional< boost::asio::executor_work_guard< boost::asio::io_context::executor_type > > work_
 
std::vector< std::threadthreads_
 
boost::asio::io_context io_context_
 

Detailed Description

Definition at line 94 of file Application.cpp.

Member Typedef Documentation

◆ MutexType

Definition at line 127 of file Application.h.

Constructor & Destructor Documentation

◆ ApplicationImp()

ripple::ApplicationImp::ApplicationImp ( std::unique_ptr< Config config,
std::unique_ptr< Logs logs,
std::unique_ptr< TimeKeeper timeKeeper 
)

Definition at line 265 of file Application.cpp.

Member Function Documentation

◆ numberOfThreads()

static std::size_t ripple::ApplicationImp::numberOfThreads ( Config const &  config)
static

Definition at line 242 of file Application.cpp.

◆ setup()

bool ripple::ApplicationImp::setup ( boost::program_options::variables_map const &  cmdline)
overridevirtual

Implements ripple::Application.

Definition at line 1173 of file Application.cpp.

◆ start()

void ripple::ApplicationImp::start ( bool  withTimers)
overridevirtual

Implements ripple::Application.

Definition at line 1524 of file Application.cpp.

◆ run()

void ripple::ApplicationImp::run ( )
overridevirtual

Implements ripple::Application.

Definition at line 1551 of file Application.cpp.

◆ signalStop()

void ripple::ApplicationImp::signalStop ( std::string  msg)
overridevirtual

Implements ripple::Application.

Definition at line 1650 of file Application.cpp.

◆ checkSigs() [1/2]

bool ripple::ApplicationImp::checkSigs ( ) const
overridevirtual

Implements ripple::Application.

Definition at line 1664 of file Application.cpp.

◆ checkSigs() [2/2]

void ripple::ApplicationImp::checkSigs ( bool  check)
overridevirtual

Implements ripple::Application.

Definition at line 1670 of file Application.cpp.

◆ isStopping()

bool ripple::ApplicationImp::isStopping ( ) const
overridevirtual

Implements ripple::Application.

Definition at line 1676 of file Application.cpp.

◆ fdRequired()

int ripple::ApplicationImp::fdRequired ( ) const
overridevirtual

Implements ripple::Application.

Definition at line 1682 of file Application.cpp.

◆ instanceID()

std::uint64_t ripple::ApplicationImp::instanceID ( ) const
overridevirtual

Returns a 64-bit instance identifier, generated at startup.

Implements ripple::Application.

Definition at line 520 of file Application.cpp.

◆ logs()

Logs & ripple::ApplicationImp::logs ( )
overridevirtual

Implements ripple::Application.

Definition at line 526 of file Application.cpp.

◆ config()

Config & ripple::ApplicationImp::config ( )
overridevirtual

Implements ripple::Application.

Definition at line 532 of file Application.cpp.

◆ getCollectorManager()

CollectorManager & ripple::ApplicationImp::getCollectorManager ( )
overridevirtual

Implements ripple::Application.

Definition at line 538 of file Application.cpp.

◆ getNodeFamily()

Family & ripple::ApplicationImp::getNodeFamily ( )
overridevirtual

Implements ripple::Application.

Definition at line 544 of file Application.cpp.

◆ timeKeeper()

TimeKeeper & ripple::ApplicationImp::timeKeeper ( )
overridevirtual

Implements ripple::Application.

Definition at line 550 of file Application.cpp.

◆ getJobQueue()

JobQueue & ripple::ApplicationImp::getJobQueue ( )
overridevirtual

Implements ripple::Application.

Definition at line 556 of file Application.cpp.

◆ nodeIdentity()

std::pair< PublicKey, SecretKey > const & ripple::ApplicationImp::nodeIdentity ( )
overridevirtual

Implements ripple::Application.

Definition at line 562 of file Application.cpp.

◆ getValidationPublicKey()

std::optional< PublicKey const > ripple::ApplicationImp::getValidationPublicKey ( ) const
overridevirtual

Implements ripple::Application.

Definition at line 572 of file Application.cpp.

◆ getOPs()

NetworkOPs & ripple::ApplicationImp::getOPs ( )
overridevirtual

Implements ripple::Application.

Definition at line 581 of file Application.cpp.

◆ getServerHandler()

virtual ServerHandler & ripple::ApplicationImp::getServerHandler ( )
overridevirtual

Implements ripple::Application.

Definition at line 587 of file Application.cpp.

◆ getIOContext()

boost::asio::io_context & ripple::ApplicationImp::getIOContext ( )
overridevirtual

Implements ripple::Application.

Definition at line 597 of file Application.cpp.

◆ getIOLatency()

std::chrono::milliseconds ripple::ApplicationImp::getIOLatency ( )
overridevirtual

Implements ripple::Application.

Definition at line 603 of file Application.cpp.

◆ getLedgerMaster()

LedgerMaster & ripple::ApplicationImp::getLedgerMaster ( )
overridevirtual

Implements ripple::Application.

Definition at line 609 of file Application.cpp.

◆ getLedgerCleaner()

LedgerCleaner & ripple::ApplicationImp::getLedgerCleaner ( )
overridevirtual

Implements ripple::Application.

Definition at line 615 of file Application.cpp.

◆ getLedgerReplayer()

LedgerReplayer & ripple::ApplicationImp::getLedgerReplayer ( )
overridevirtual

Implements ripple::Application.

Definition at line 621 of file Application.cpp.

◆ getInboundLedgers()

InboundLedgers & ripple::ApplicationImp::getInboundLedgers ( )
overridevirtual

Implements ripple::Application.

Definition at line 627 of file Application.cpp.

◆ getInboundTransactions()

InboundTransactions & ripple::ApplicationImp::getInboundTransactions ( )
overridevirtual

Implements ripple::Application.

Definition at line 633 of file Application.cpp.

◆ getAcceptedLedgerCache()

TaggedCache< uint256, AcceptedLedger > & ripple::ApplicationImp::getAcceptedLedgerCache ( )
overridevirtual

Implements ripple::Application.

Definition at line 639 of file Application.cpp.

◆ gotTXSet()

void ripple::ApplicationImp::gotTXSet ( std::shared_ptr< SHAMap > const &  set,
bool  fromAcquire 
)

Definition at line 645 of file Application.cpp.

◆ getMasterTransaction()

TransactionMaster & ripple::ApplicationImp::getMasterTransaction ( )
overridevirtual

Implements ripple::Application.

Definition at line 652 of file Application.cpp.

◆ getPerfLog()

perf::PerfLog & ripple::ApplicationImp::getPerfLog ( )
overridevirtual

Implements ripple::Application.

Definition at line 658 of file Application.cpp.

◆ getTempNodeCache()

NodeCache & ripple::ApplicationImp::getTempNodeCache ( )
overridevirtual

Implements ripple::Application.

Definition at line 664 of file Application.cpp.

◆ getNodeStore()

NodeStore::Database & ripple::ApplicationImp::getNodeStore ( )
overridevirtual

Implements ripple::Application.

Definition at line 670 of file Application.cpp.

◆ getMasterMutex()

Application::MutexType & ripple::ApplicationImp::getMasterMutex ( )
overridevirtual

Implements ripple::Application.

Definition at line 676 of file Application.cpp.

◆ getLoadManager()

LoadManager & ripple::ApplicationImp::getLoadManager ( )
overridevirtual

Implements ripple::Application.

Definition at line 682 of file Application.cpp.

◆ getResourceManager()

Resource::Manager & ripple::ApplicationImp::getResourceManager ( )
overridevirtual

Implements ripple::Application.

Definition at line 688 of file Application.cpp.

◆ getOrderBookDB()

OrderBookDB & ripple::ApplicationImp::getOrderBookDB ( )
overridevirtual

Implements ripple::Application.

Definition at line 694 of file Application.cpp.

◆ getPathRequests()

PathRequests & ripple::ApplicationImp::getPathRequests ( )
overridevirtual

Implements ripple::Application.

Definition at line 700 of file Application.cpp.

◆ cachedSLEs()

CachedSLEs & ripple::ApplicationImp::cachedSLEs ( )
overridevirtual

Implements ripple::Application.

Definition at line 706 of file Application.cpp.

◆ getAmendmentTable()

AmendmentTable & ripple::ApplicationImp::getAmendmentTable ( )
overridevirtual

Implements ripple::Application.

Definition at line 712 of file Application.cpp.

◆ getFeeTrack()

LoadFeeTrack & ripple::ApplicationImp::getFeeTrack ( )
overridevirtual

Implements ripple::Application.

Definition at line 718 of file Application.cpp.

◆ getHashRouter()

HashRouter & ripple::ApplicationImp::getHashRouter ( )
overridevirtual

Implements ripple::Application.

Definition at line 724 of file Application.cpp.

◆ getValidations()

RCLValidations & ripple::ApplicationImp::getValidations ( )
overridevirtual

Implements ripple::Application.

Definition at line 730 of file Application.cpp.

◆ validators()

ValidatorList & ripple::ApplicationImp::validators ( )
overridevirtual

Implements ripple::Application.

Definition at line 736 of file Application.cpp.

◆ validatorSites()

ValidatorSite & ripple::ApplicationImp::validatorSites ( )
overridevirtual

Implements ripple::Application.

Definition at line 742 of file Application.cpp.

◆ validatorManifests()

ManifestCache & ripple::ApplicationImp::validatorManifests ( )
overridevirtual

Implements ripple::Application.

Definition at line 748 of file Application.cpp.

◆ publisherManifests()

ManifestCache & ripple::ApplicationImp::publisherManifests ( )
overridevirtual

Implements ripple::Application.

Definition at line 754 of file Application.cpp.

◆ cluster()

Cluster & ripple::ApplicationImp::cluster ( )
overridevirtual

Implements ripple::Application.

Definition at line 760 of file Application.cpp.

◆ peerReservations()

PeerReservationTable & ripple::ApplicationImp::peerReservations ( )
overridevirtual

Implements ripple::Application.

Definition at line 766 of file Application.cpp.

◆ getSHAMapStore()

SHAMapStore & ripple::ApplicationImp::getSHAMapStore ( )
overridevirtual

Implements ripple::Application.

Definition at line 772 of file Application.cpp.

◆ pendingSaves()

PendingSaves & ripple::ApplicationImp::pendingSaves ( )
overridevirtual

Implements ripple::Application.

Definition at line 778 of file Application.cpp.

◆ openLedger() [1/2]

OpenLedger & ripple::ApplicationImp::openLedger ( )
overridevirtual

Implements ripple::Application.

Definition at line 784 of file Application.cpp.

◆ openLedger() [2/2]

OpenLedger const & ripple::ApplicationImp::openLedger ( ) const
overridevirtual

Implements ripple::Application.

Definition at line 790 of file Application.cpp.

◆ overlay()

Overlay & ripple::ApplicationImp::overlay ( )
overridevirtual

Implements ripple::Application.

Definition at line 796 of file Application.cpp.

◆ getTxQ()

TxQ & ripple::ApplicationImp::getTxQ ( )
overridevirtual

Implements ripple::Application.

Definition at line 804 of file Application.cpp.

◆ getRelationalDatabase()

RelationalDatabase & ripple::ApplicationImp::getRelationalDatabase ( )
overridevirtual

Implements ripple::Application.

Definition at line 813 of file Application.cpp.

◆ getWalletDB()

DatabaseCon & ripple::ApplicationImp::getWalletDB ( )
overridevirtual

Retrieve the "wallet database".

Implements ripple::Application.

Definition at line 823 of file Application.cpp.

◆ serverOkay()

bool ripple::ApplicationImp::serverOkay ( std::string reason)
overridevirtual

Implements ripple::Application.

Definition at line 2126 of file Application.cpp.

◆ journal()

beast::Journal ripple::ApplicationImp::journal ( std::string const &  name)
overridevirtual

Implements ripple::Application.

Definition at line 2174 of file Application.cpp.

◆ initRelationalDatabase()

bool ripple::ApplicationImp::initRelationalDatabase ( )

Definition at line 840 of file Application.cpp.

◆ initNodeStore()

bool ripple::ApplicationImp::initNodeStore ( )

Definition at line 869 of file Application.cpp.

◆ onWrite()

void ripple::ApplicationImp::onWrite ( beast::PropertyStream::Map )
overridevirtual

Subclass override.

The default version does nothing.

Reimplemented from beast::PropertyStream::Source.

Definition at line 907 of file Application.cpp.

◆ setSweepTimer()

void ripple::ApplicationImp::setSweepTimer ( )

Definition at line 914 of file Application.cpp.

◆ setEntropyTimer()

void ripple::ApplicationImp::setEntropyTimer ( )

Definition at line 944 of file Application.cpp.

◆ doSweep()

void ripple::ApplicationImp::doSweep ( )

Definition at line 973 of file Application.cpp.

◆ getMaxDisallowedLedger()

LedgerIndex ripple::ApplicationImp::getMaxDisallowedLedger ( )
overridevirtual

Ensure that a newly-started validator does not sign proposals older than the last ledger it persisted.

Implements ripple::Application.

Definition at line 1133 of file Application.cpp.

◆ trapTxID()

virtual std::optional< uint256 > const & ripple::ApplicationImp::trapTxID ( ) const
overridevirtual

Implements ripple::Application.

Definition at line 1139 of file Application.cpp.

◆ startGenesisLedger()

void ripple::ApplicationImp::startGenesisLedger ( )
private

Definition at line 1707 of file Application.cpp.

◆ getLastFullLedger()

std::shared_ptr< Ledger > ripple::ApplicationImp::getLastFullLedger ( )
private

Definition at line 1731 of file Application.cpp.

◆ loadLedgerFromFile()

std::shared_ptr< Ledger > ripple::ApplicationImp::loadLedgerFromFile ( std::string const &  ledgerID)
private

Definition at line 1775 of file Application.cpp.

◆ loadOldLedger()

bool ripple::ApplicationImp::loadOldLedger ( std::string const &  ledgerID,
bool  replay,
bool  isFilename,
std::optional< uint256 trapTxID 
)
private

Definition at line 1914 of file Application.cpp.

◆ setMaxDisallowedLedger()

void ripple::ApplicationImp::setMaxDisallowedLedger ( )
private

Definition at line 2180 of file Application.cpp.

◆ name()

std::string const & beast::PropertyStream::Source::name ( ) const
inherited

Returns the name of this source.

Definition at line 193 of file beast_PropertyStream.cpp.

◆ add() [1/2]

void beast::PropertyStream::Source::add ( Source source)
inherited

Add a child source.

Definition at line 199 of file beast_PropertyStream.cpp.

◆ add() [2/2]

template<class Derived >
Derived * beast::PropertyStream::Source::add ( Derived *  child)
inherited

Add a child source by pointer.

The source pointer is returned so it can be used in ctor-initializers.

Definition at line 358 of file PropertyStream.h.

◆ remove()

void beast::PropertyStream::Source::remove ( Source child)
inherited

Remove a child source from this Source.

Definition at line 213 of file beast_PropertyStream.cpp.

◆ removeAll()

void beast::PropertyStream::Source::removeAll ( )
inherited

Remove all child sources from this Source.

Definition at line 227 of file beast_PropertyStream.cpp.

◆ write_one()

void beast::PropertyStream::Source::write_one ( PropertyStream stream)
inherited

Write only this Source to the stream.

Definition at line 240 of file beast_PropertyStream.cpp.

◆ write() [1/2]

void beast::PropertyStream::Source::write ( PropertyStream stream)
inherited

write this source and all its children recursively to the stream.

Definition at line 247 of file beast_PropertyStream.cpp.

◆ write() [2/2]

void beast::PropertyStream::Source::write ( PropertyStream stream,
std::string const &  path 
)
inherited

Parse the path and write the corresponding Source and optional children.

If the source is found, it is written. If the wildcard character '*' exists as the last character in the path, then all the children are written recursively.

Definition at line 259 of file beast_PropertyStream.cpp.

◆ find()

std::pair< PropertyStream::Source *, bool > beast::PropertyStream::Source::find ( std::string  path)
inherited

Parse the dot-delimited Source path and return the result.

The first value will be a pointer to the Source object corresponding to the given path. If no Source object exists, then the first value will be nullptr and the second value will be undefined. The second value is a boolean indicating whether or not the path string specifies the wildcard character '*' as the last character.

print statement examples "parent.child" prints child and all of its children "parent.child." start at the parent and print down to child "parent.grandchild" prints nothing- grandchild not direct discendent "parent.grandchild." starts at the parent and prints down to grandchild "parent.grandchild.*" starts at parent, print through grandchild children

Definition at line 273 of file beast_PropertyStream.cpp.

◆ find_one_deep()

PropertyStream::Source * beast::PropertyStream::Source::find_one_deep ( std::string const &  name)
inherited

Definition at line 340 of file beast_PropertyStream.cpp.

◆ find_path()

PropertyStream::Source * beast::PropertyStream::Source::find_path ( std::string  path)
inherited

Definition at line 357 of file beast_PropertyStream.cpp.

◆ find_one()

PropertyStream::Source * beast::PropertyStream::Source::find_one ( std::string const &  name)
inherited

Definition at line 375 of file beast_PropertyStream.cpp.

◆ peel_leading_slash()

bool beast::PropertyStream::Source::peel_leading_slash ( std::string path)
staticinherited

Definition at line 293 of file beast_PropertyStream.cpp.

◆ peel_trailing_slashstar()

bool beast::PropertyStream::Source::peel_trailing_slashstar ( std::string path)
staticinherited

Definition at line 304 of file beast_PropertyStream.cpp.

◆ peel_name()

std::string beast::PropertyStream::Source::peel_name ( std::string path)
staticinherited

Definition at line 320 of file beast_PropertyStream.cpp.

◆ get_io_context()

boost::asio::io_context & BasicApp::get_io_context ( )
inherited

Definition at line 44 of file BasicApp.h.

Member Data Documentation

◆ config_

std::unique_ptr<Config> ripple::ApplicationImp::config_

Definition at line 162 of file Application.cpp.

◆ logs_

std::unique_ptr<Logs> ripple::ApplicationImp::logs_

Definition at line 163 of file Application.cpp.

◆ timeKeeper_

std::unique_ptr<TimeKeeper> ripple::ApplicationImp::timeKeeper_

Definition at line 164 of file Application.cpp.

◆ instanceCookie_

std::uint64_t const ripple::ApplicationImp::instanceCookie_

Definition at line 166 of file Application.cpp.

◆ m_journal

beast::Journal ripple::ApplicationImp::m_journal

Definition at line 168 of file Application.cpp.

◆ perfLog_

std::unique_ptr<perf::PerfLog> ripple::ApplicationImp::perfLog_

Definition at line 169 of file Application.cpp.

◆ m_masterMutex

Application::MutexType ripple::ApplicationImp::m_masterMutex

Definition at line 170 of file Application.cpp.

◆ m_txMaster

TransactionMaster ripple::ApplicationImp::m_txMaster

Definition at line 173 of file Application.cpp.

◆ m_collectorManager

std::unique_ptr<CollectorManager> ripple::ApplicationImp::m_collectorManager

Definition at line 175 of file Application.cpp.

◆ m_jobQueue

std::unique_ptr<JobQueue> ripple::ApplicationImp::m_jobQueue

Definition at line 176 of file Application.cpp.

◆ m_nodeStoreScheduler

NodeStoreScheduler ripple::ApplicationImp::m_nodeStoreScheduler

Definition at line 177 of file Application.cpp.

◆ m_shaMapStore

std::unique_ptr<SHAMapStore> ripple::ApplicationImp::m_shaMapStore

Definition at line 178 of file Application.cpp.

◆ pendingSaves_

PendingSaves ripple::ApplicationImp::pendingSaves_

Definition at line 179 of file Application.cpp.

◆ openLedger_

std::optional<OpenLedger> ripple::ApplicationImp::openLedger_

Definition at line 180 of file Application.cpp.

◆ m_tempNodeCache

NodeCache ripple::ApplicationImp::m_tempNodeCache

Definition at line 182 of file Application.cpp.

◆ cachedSLEs_

CachedSLEs ripple::ApplicationImp::cachedSLEs_

Definition at line 183 of file Application.cpp.

◆ nodeIdentity_

std::optional<std::pair<PublicKey, SecretKey> > ripple::ApplicationImp::nodeIdentity_

Definition at line 184 of file Application.cpp.

◆ validatorKeys_

ValidatorKeys const ripple::ApplicationImp::validatorKeys_

Definition at line 185 of file Application.cpp.

◆ m_resourceManager

std::unique_ptr<Resource::Manager> ripple::ApplicationImp::m_resourceManager

Definition at line 187 of file Application.cpp.

◆ m_nodeStore

std::unique_ptr<NodeStore::Database> ripple::ApplicationImp::m_nodeStore

Definition at line 189 of file Application.cpp.

◆ nodeFamily_

NodeFamily ripple::ApplicationImp::nodeFamily_

Definition at line 190 of file Application.cpp.

◆ m_orderBookDB

OrderBookDB ripple::ApplicationImp::m_orderBookDB

Definition at line 192 of file Application.cpp.

◆ m_pathRequests

std::unique_ptr<PathRequests> ripple::ApplicationImp::m_pathRequests

Definition at line 193 of file Application.cpp.

◆ m_ledgerMaster

std::unique_ptr<LedgerMaster> ripple::ApplicationImp::m_ledgerMaster

Definition at line 194 of file Application.cpp.

◆ ledgerCleaner_

std::unique_ptr<LedgerCleaner> ripple::ApplicationImp::ledgerCleaner_

Definition at line 195 of file Application.cpp.

◆ m_inboundLedgers

std::unique_ptr<InboundLedgers> ripple::ApplicationImp::m_inboundLedgers

Definition at line 196 of file Application.cpp.

◆ m_inboundTransactions

std::unique_ptr<InboundTransactions> ripple::ApplicationImp::m_inboundTransactions

Definition at line 197 of file Application.cpp.

◆ m_ledgerReplayer

std::unique_ptr<LedgerReplayer> ripple::ApplicationImp::m_ledgerReplayer

Definition at line 198 of file Application.cpp.

◆ m_acceptedLedgerCache

TaggedCache<uint256, AcceptedLedger> ripple::ApplicationImp::m_acceptedLedgerCache

Definition at line 199 of file Application.cpp.

◆ m_networkOPs

std::unique_ptr<NetworkOPs> ripple::ApplicationImp::m_networkOPs

Definition at line 200 of file Application.cpp.

◆ cluster_

std::unique_ptr<Cluster> ripple::ApplicationImp::cluster_

Definition at line 201 of file Application.cpp.

◆ peerReservations_

std::unique_ptr<PeerReservationTable> ripple::ApplicationImp::peerReservations_

Definition at line 202 of file Application.cpp.

◆ validatorManifests_

std::unique_ptr<ManifestCache> ripple::ApplicationImp::validatorManifests_

Definition at line 203 of file Application.cpp.

◆ publisherManifests_

std::unique_ptr<ManifestCache> ripple::ApplicationImp::publisherManifests_

Definition at line 204 of file Application.cpp.

◆ validators_

std::unique_ptr<ValidatorList> ripple::ApplicationImp::validators_

Definition at line 205 of file Application.cpp.

◆ validatorSites_

std::unique_ptr<ValidatorSite> ripple::ApplicationImp::validatorSites_

Definition at line 206 of file Application.cpp.

◆ serverHandler_

std::unique_ptr<ServerHandler> ripple::ApplicationImp::serverHandler_

Definition at line 207 of file Application.cpp.

◆ m_amendmentTable

std::unique_ptr<AmendmentTable> ripple::ApplicationImp::m_amendmentTable

Definition at line 208 of file Application.cpp.

◆ mFeeTrack

std::unique_ptr<LoadFeeTrack> ripple::ApplicationImp::mFeeTrack

Definition at line 209 of file Application.cpp.

◆ hashRouter_

std::unique_ptr<HashRouter> ripple::ApplicationImp::hashRouter_

Definition at line 210 of file Application.cpp.

◆ mValidations

RCLValidations ripple::ApplicationImp::mValidations

Definition at line 211 of file Application.cpp.

◆ m_loadManager

std::unique_ptr<LoadManager> ripple::ApplicationImp::m_loadManager

Definition at line 212 of file Application.cpp.

◆ txQ_

std::unique_ptr<TxQ> ripple::ApplicationImp::txQ_

Definition at line 213 of file Application.cpp.

◆ waitHandlerCounter_

ClosureCounter<void, boost::system::error_code const&> ripple::ApplicationImp::waitHandlerCounter_

Definition at line 214 of file Application.cpp.

◆ sweepTimer_

boost::asio::steady_timer ripple::ApplicationImp::sweepTimer_

Definition at line 215 of file Application.cpp.

◆ entropyTimer_

boost::asio::steady_timer ripple::ApplicationImp::entropyTimer_

Definition at line 216 of file Application.cpp.

◆ mRelationalDatabase

std::unique_ptr<RelationalDatabase> ripple::ApplicationImp::mRelationalDatabase

Definition at line 218 of file Application.cpp.

◆ mWalletDB

std::unique_ptr<DatabaseCon> ripple::ApplicationImp::mWalletDB

Definition at line 219 of file Application.cpp.

◆ overlay_

std::unique_ptr<Overlay> ripple::ApplicationImp::overlay_

Definition at line 220 of file Application.cpp.

◆ trapTxID_

std::optional<uint256> ripple::ApplicationImp::trapTxID_

Definition at line 221 of file Application.cpp.

◆ m_signals

boost::asio::signal_set ripple::ApplicationImp::m_signals

Definition at line 223 of file Application.cpp.

◆ stoppingCondition_

std::condition_variable ripple::ApplicationImp::stoppingCondition_

Definition at line 227 of file Application.cpp.

◆ stoppingMutex_

std::mutex ripple::ApplicationImp::stoppingMutex_
mutable

Definition at line 228 of file Application.cpp.

◆ isTimeToStop

std::atomic<bool> ripple::ApplicationImp::isTimeToStop = false

Definition at line 229 of file Application.cpp.

◆ checkSigs_

std::atomic<bool> ripple::ApplicationImp::checkSigs_

Definition at line 231 of file Application.cpp.

◆ m_resolver

std::unique_ptr<ResolverAsio> ripple::ApplicationImp::m_resolver

Definition at line 233 of file Application.cpp.

◆ m_io_latency_sampler

io_latency_sampler ripple::ApplicationImp::m_io_latency_sampler

Definition at line 235 of file Application.cpp.

◆ grpcServer_

std::unique_ptr<GRPCServer> ripple::ApplicationImp::grpcServer_

Definition at line 237 of file Application.cpp.

◆ maxDisallowedLedger_

std::atomic<LedgerIndex> ripple::ApplicationImp::maxDisallowedLedger_ {0}
private

Definition at line 1147 of file Application.cpp.

◆ m_name

std::string const beast::PropertyStream::Source::m_name
privateinherited

Definition at line 331 of file PropertyStream.h.

◆ lock_

std::recursive_mutex beast::PropertyStream::Source::lock_
privateinherited

Definition at line 332 of file PropertyStream.h.

◆ item_

Item beast::PropertyStream::Source::item_
privateinherited

Definition at line 333 of file PropertyStream.h.

◆ parent_

Source* beast::PropertyStream::Source::parent_
privateinherited

Definition at line 334 of file PropertyStream.h.

◆ children_

List<Item> beast::PropertyStream::Source::children_
privateinherited

Definition at line 335 of file PropertyStream.h.

◆ work_

std::optional<boost::asio::executor_work_guard< boost::asio::io_context::executor_type> > BasicApp::work_
privateinherited

Definition at line 35 of file BasicApp.h.

◆ threads_

std::vector<std::thread> BasicApp::threads_
privateinherited

Definition at line 36 of file BasicApp.h.

◆ io_context_

boost::asio::io_context BasicApp::io_context_
privateinherited

Definition at line 37 of file BasicApp.h.