|
rippled
|

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. | |
| Logs & | logs () override |
| Config & | config () override |
| CollectorManager & | getCollectorManager () override |
| Family & | getNodeFamily () override |
| TimeKeeper & | timeKeeper () override |
| JobQueue & | getJobQueue () override |
| std::pair< PublicKey, SecretKey > const & | nodeIdentity () override |
| std::optional< PublicKey const > | getValidationPublicKey () const override |
| NetworkOPs & | getOPs () override |
| virtual ServerHandler & | getServerHandler () override |
| boost::asio::io_context & | getIOContext () override |
| std::chrono::milliseconds | getIOLatency () override |
| LedgerMaster & | getLedgerMaster () override |
| LedgerCleaner & | getLedgerCleaner () override |
| LedgerReplayer & | getLedgerReplayer () override |
| InboundLedgers & | getInboundLedgers () override |
| InboundTransactions & | getInboundTransactions () override |
| TaggedCache< uint256, AcceptedLedger > & | getAcceptedLedgerCache () override |
| void | gotTXSet (std::shared_ptr< SHAMap > const &set, bool fromAcquire) |
| TransactionMaster & | getMasterTransaction () override |
| perf::PerfLog & | getPerfLog () override |
| NodeCache & | getTempNodeCache () override |
| NodeStore::Database & | getNodeStore () override |
| Application::MutexType & | getMasterMutex () override |
| LoadManager & | getLoadManager () override |
| Resource::Manager & | getResourceManager () override |
| OrderBookDB & | getOrderBookDB () override |
| PathRequests & | getPathRequests () override |
| CachedSLEs & | cachedSLEs () override |
| AmendmentTable & | getAmendmentTable () override |
| LoadFeeTrack & | getFeeTrack () override |
| HashRouter & | getHashRouter () override |
| RCLValidations & | getValidations () override |
| ValidatorList & | validators () override |
| ValidatorSite & | validatorSites () override |
| ManifestCache & | validatorManifests () override |
| ManifestCache & | publisherManifests () override |
| Cluster & | cluster () override |
| PeerReservationTable & | peerReservations () override |
| SHAMapStore & | getSHAMapStore () override |
| PendingSaves & | pendingSaves () override |
| OpenLedger & | openLedger () override |
| OpenLedger const & | openLedger () const override |
| Overlay & | overlay () override |
| TxQ & | getTxQ () override |
| RelationalDatabase & | getRelationalDatabase () override |
| DatabaseCon & | getWalletDB () 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. | |
| Source * | find_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) |
Private Member Functions | |
| void | startGenesisLedger () |
| std::shared_ptr< Ledger > | getLastFullLedger () |
| std::shared_ptr< Ledger > | loadLedgerFromFile (std::string const &ledgerID) |
| bool | loadOldLedger (std::string const &ledgerID, bool replay, bool isFilename, std::optional< uint256 > trapTxID) |
| void | setMaxDisallowedLedger () |
| Application & | app () override |
Private Attributes | |
| std::atomic< LedgerIndex > | maxDisallowedLedger_ {0} |
| std::string const | m_name |
| std::recursive_mutex | lock_ |
| Item | item_ |
| Source * | parent_ |
| List< Item > | children_ |
| std::optional< boost::asio::executor_work_guard< boost::asio::io_context::executor_type > > | work_ |
| std::vector< std::thread > | threads_ |
| boost::asio::io_context | io_context_ |
Definition at line 75 of file Application.cpp.
|
inherited |
Definition at line 108 of file Application.h.
| xrpl::ApplicationImp::ApplicationImp | ( | std::unique_ptr< Config > | config, |
| std::unique_ptr< Logs > | logs, | ||
| std::unique_ptr< TimeKeeper > | timeKeeper | ||
| ) |
Definition at line 237 of file Application.cpp.
|
static |
Definition at line 214 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1036 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1365 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1390 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1481 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1495 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1501 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 1507 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1513 of file Application.cpp.
|
overridevirtual |
Returns a 64-bit instance identifier, generated at startup.
Implements xrpl::Application.
Definition at line 441 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 447 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 453 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 459 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 465 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 471 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 477 of file Application.cpp.
Implements xrpl::Application.
Definition at line 483 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 492 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 501 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 507 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 517 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 523 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 529 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 535 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 541 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 547 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 553 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 559 of file Application.cpp.
| void xrpl::ApplicationImp::gotTXSet | ( | std::shared_ptr< SHAMap > const & | set, |
| bool | fromAcquire | ||
| ) |
Definition at line 565 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 572 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 578 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 584 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 590 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 596 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 602 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 608 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 614 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 620 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 626 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 632 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 638 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 644 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 650 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 656 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 662 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 668 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 674 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 680 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 686 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 692 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 698 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 704 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 710 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 716 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 723 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 730 of file Application.cpp.
|
overridevirtual |
Retrieve the "wallet database".
Implements xrpl::ServiceRegistry.
Definition at line 740 of file Application.cpp.
|
overridevirtual |
Implements xrpl::Application.
Definition at line 1930 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 1978 of file Application.cpp.
| bool xrpl::ApplicationImp::initRelationalDatabase | ( | ) |
Definition at line 755 of file Application.cpp.
| bool xrpl::ApplicationImp::initNodeStore | ( | ) |
Definition at line 782 of file Application.cpp.
|
overridevirtual |
Subclass override.
The default version does nothing.
Reimplemented from beast::PropertyStream::Source.
Definition at line 816 of file Application.cpp.
| void xrpl::ApplicationImp::setSweepTimer | ( | ) |
Definition at line 823 of file Application.cpp.
| void xrpl::ApplicationImp::setEntropyTimer | ( | ) |
Definition at line 848 of file Application.cpp.
| void xrpl::ApplicationImp::doSweep | ( | ) |
Definition at line 873 of file Application.cpp.
|
overridevirtual |
Ensure that a newly-started validator does not sign proposals older than the last ledger it persisted.
Implements xrpl::Application.
Definition at line 994 of file Application.cpp.
|
overridevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 1000 of file Application.cpp.
|
private |
Definition at line 1538 of file Application.cpp.
|
private |
Definition at line 1559 of file Application.cpp.
|
private |
Definition at line 1602 of file Application.cpp.
|
private |
Definition at line 1734 of file Application.cpp.
|
private |
Definition at line 1984 of file Application.cpp.
|
overrideprivatevirtual |
Implements xrpl::ServiceRegistry.
Definition at line 1026 of file Application.cpp.
|
inherited |
Returns the name of this source.
Definition at line 167 of file beast_PropertyStream.cpp.
|
inherited |
Add a child source.
Definition at line 173 of file beast_PropertyStream.cpp.
|
inherited |
Add a child source by pointer.
The source pointer is returned so it can be used in ctor-initializers.
Definition at line 338 of file PropertyStream.h.
|
inherited |
Remove a child source from this Source.
Definition at line 185 of file beast_PropertyStream.cpp.
|
inherited |
Remove all child sources from this Source.
Definition at line 197 of file beast_PropertyStream.cpp.
|
inherited |
Write only this Source to the stream.
Definition at line 210 of file beast_PropertyStream.cpp.
|
inherited |
write this source and all its children recursively to the stream.
Definition at line 217 of file beast_PropertyStream.cpp.
|
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 229 of file beast_PropertyStream.cpp.
|
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 descendent "parent.grandchild." starts at the parent and prints down to grandchild "parent.grandchild.*" starts at parent, print through grandchild children
Definition at line 243 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 310 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 327 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 345 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 263 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 274 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 290 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 22 of file BasicApp.h.
| std::unique_ptr<Config> xrpl::ApplicationImp::config_ |
Definition at line 139 of file Application.cpp.
| std::unique_ptr<Logs> xrpl::ApplicationImp::logs_ |
Definition at line 140 of file Application.cpp.
| std::unique_ptr<TimeKeeper> xrpl::ApplicationImp::timeKeeper_ |
Definition at line 141 of file Application.cpp.
| std::uint64_t const xrpl::ApplicationImp::instanceCookie_ |
Definition at line 143 of file Application.cpp.
| beast::Journal xrpl::ApplicationImp::m_journal |
Definition at line 145 of file Application.cpp.
| std::unique_ptr<perf::PerfLog> xrpl::ApplicationImp::perfLog_ |
Definition at line 146 of file Application.cpp.
| Application::MutexType xrpl::ApplicationImp::m_masterMutex |
Definition at line 147 of file Application.cpp.
| TransactionMaster xrpl::ApplicationImp::m_txMaster |
Definition at line 150 of file Application.cpp.
| std::unique_ptr<CollectorManager> xrpl::ApplicationImp::m_collectorManager |
Definition at line 152 of file Application.cpp.
| std::unique_ptr<JobQueue> xrpl::ApplicationImp::m_jobQueue |
Definition at line 153 of file Application.cpp.
| NodeStoreScheduler xrpl::ApplicationImp::m_nodeStoreScheduler |
Definition at line 154 of file Application.cpp.
| std::unique_ptr<SHAMapStore> xrpl::ApplicationImp::m_shaMapStore |
Definition at line 155 of file Application.cpp.
| PendingSaves xrpl::ApplicationImp::pendingSaves_ |
Definition at line 156 of file Application.cpp.
| std::optional<OpenLedger> xrpl::ApplicationImp::openLedger_ |
Definition at line 157 of file Application.cpp.
| NodeCache xrpl::ApplicationImp::m_tempNodeCache |
Definition at line 159 of file Application.cpp.
| CachedSLEs xrpl::ApplicationImp::cachedSLEs_ |
Definition at line 160 of file Application.cpp.
| std::optional<std::pair<PublicKey, SecretKey> > xrpl::ApplicationImp::nodeIdentity_ |
Definition at line 161 of file Application.cpp.
| ValidatorKeys const xrpl::ApplicationImp::validatorKeys_ |
Definition at line 162 of file Application.cpp.
| std::unique_ptr<Resource::Manager> xrpl::ApplicationImp::m_resourceManager |
Definition at line 164 of file Application.cpp.
| std::unique_ptr<NodeStore::Database> xrpl::ApplicationImp::m_nodeStore |
Definition at line 166 of file Application.cpp.
| NodeFamily xrpl::ApplicationImp::nodeFamily_ |
Definition at line 167 of file Application.cpp.
| std::unique_ptr<OrderBookDB> xrpl::ApplicationImp::m_orderBookDB |
Definition at line 168 of file Application.cpp.
| std::unique_ptr<PathRequests> xrpl::ApplicationImp::m_pathRequests |
Definition at line 169 of file Application.cpp.
| std::unique_ptr<LedgerMaster> xrpl::ApplicationImp::m_ledgerMaster |
Definition at line 170 of file Application.cpp.
| std::unique_ptr<LedgerCleaner> xrpl::ApplicationImp::ledgerCleaner_ |
Definition at line 171 of file Application.cpp.
| std::unique_ptr<InboundLedgers> xrpl::ApplicationImp::m_inboundLedgers |
Definition at line 172 of file Application.cpp.
| std::unique_ptr<InboundTransactions> xrpl::ApplicationImp::m_inboundTransactions |
Definition at line 173 of file Application.cpp.
| std::unique_ptr<LedgerReplayer> xrpl::ApplicationImp::m_ledgerReplayer |
Definition at line 174 of file Application.cpp.
| TaggedCache<uint256, AcceptedLedger> xrpl::ApplicationImp::m_acceptedLedgerCache |
Definition at line 175 of file Application.cpp.
| std::unique_ptr<NetworkOPs> xrpl::ApplicationImp::m_networkOPs |
Definition at line 176 of file Application.cpp.
| std::unique_ptr<Cluster> xrpl::ApplicationImp::cluster_ |
Definition at line 177 of file Application.cpp.
| std::unique_ptr<PeerReservationTable> xrpl::ApplicationImp::peerReservations_ |
Definition at line 178 of file Application.cpp.
| std::unique_ptr<ManifestCache> xrpl::ApplicationImp::validatorManifests_ |
Definition at line 179 of file Application.cpp.
| std::unique_ptr<ManifestCache> xrpl::ApplicationImp::publisherManifests_ |
Definition at line 180 of file Application.cpp.
| std::unique_ptr<ValidatorList> xrpl::ApplicationImp::validators_ |
Definition at line 181 of file Application.cpp.
| std::unique_ptr<ValidatorSite> xrpl::ApplicationImp::validatorSites_ |
Definition at line 182 of file Application.cpp.
| std::unique_ptr<ServerHandler> xrpl::ApplicationImp::serverHandler_ |
Definition at line 183 of file Application.cpp.
| std::unique_ptr<AmendmentTable> xrpl::ApplicationImp::m_amendmentTable |
Definition at line 184 of file Application.cpp.
| std::unique_ptr<LoadFeeTrack> xrpl::ApplicationImp::mFeeTrack |
Definition at line 185 of file Application.cpp.
| std::unique_ptr<HashRouter> xrpl::ApplicationImp::hashRouter_ |
Definition at line 186 of file Application.cpp.
| RCLValidations xrpl::ApplicationImp::mValidations |
Definition at line 187 of file Application.cpp.
| std::unique_ptr<LoadManager> xrpl::ApplicationImp::m_loadManager |
Definition at line 188 of file Application.cpp.
| std::unique_ptr<TxQ> xrpl::ApplicationImp::txQ_ |
Definition at line 189 of file Application.cpp.
| ClosureCounter<void, boost::system::error_code const&> xrpl::ApplicationImp::waitHandlerCounter_ |
Definition at line 190 of file Application.cpp.
| boost::asio::steady_timer xrpl::ApplicationImp::sweepTimer_ |
Definition at line 191 of file Application.cpp.
| boost::asio::steady_timer xrpl::ApplicationImp::entropyTimer_ |
Definition at line 192 of file Application.cpp.
| std::optional<SQLiteDatabase> xrpl::ApplicationImp::relationalDatabase_ |
Definition at line 194 of file Application.cpp.
| std::unique_ptr<DatabaseCon> xrpl::ApplicationImp::mWalletDB |
Definition at line 195 of file Application.cpp.
| std::unique_ptr<Overlay> xrpl::ApplicationImp::overlay_ |
Definition at line 196 of file Application.cpp.
| std::optional<uint256> xrpl::ApplicationImp::trapTxID_ |
Definition at line 197 of file Application.cpp.
| boost::asio::signal_set xrpl::ApplicationImp::m_signals |
Definition at line 199 of file Application.cpp.
| std::atomic_flag xrpl::ApplicationImp::isTimeToStop |
Definition at line 201 of file Application.cpp.
| std::atomic<bool> xrpl::ApplicationImp::checkSigs_ |
Definition at line 203 of file Application.cpp.
| std::unique_ptr<ResolverAsio> xrpl::ApplicationImp::m_resolver |
Definition at line 205 of file Application.cpp.
| io_latency_sampler xrpl::ApplicationImp::m_io_latency_sampler |
Definition at line 207 of file Application.cpp.
| std::unique_ptr<GRPCServer> xrpl::ApplicationImp::grpcServer_ |
Definition at line 209 of file Application.cpp.
|
private |
Definition at line 1008 of file Application.cpp.
|
privateinherited |
Definition at line 311 of file PropertyStream.h.
|
privateinherited |
Definition at line 312 of file PropertyStream.h.
|
privateinherited |
Definition at line 313 of file PropertyStream.h.
|
privateinherited |
Definition at line 314 of file PropertyStream.h.
|
privateinherited |
Definition at line 315 of file PropertyStream.h.
|
privateinherited |
Definition at line 13 of file BasicApp.h.
|
privateinherited |
Definition at line 14 of file BasicApp.h.
|
privateinherited |
Definition at line 15 of file BasicApp.h.