|
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 () |
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.
| ripple::ApplicationImp::ApplicationImp | ( | std::unique_ptr< Config > | config, |
| std::unique_ptr< Logs > | logs, | ||
| std::unique_ptr< TimeKeeper > | timeKeeper | ||
| ) |
Definition at line 246 of file Application.cpp.
|
static |
Definition at line 223 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1154 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1505 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1532 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1631 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1645 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1651 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1657 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1663 of file Application.cpp.
|
overridevirtual |
Returns a 64-bit instance identifier, generated at startup.
Implements ripple::Application.
Definition at line 501 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 507 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 513 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 519 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 525 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 531 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 537 of file Application.cpp.
Implements ripple::Application.
Definition at line 543 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 553 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 562 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 568 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 578 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 584 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 590 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 596 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 602 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 608 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 614 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 620 of file Application.cpp.
| void ripple::ApplicationImp::gotTXSet | ( | std::shared_ptr< SHAMap > const & | set, |
| bool | fromAcquire | ||
| ) |
Definition at line 626 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 633 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 639 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 645 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 651 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 657 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 663 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 669 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 675 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 681 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 687 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 693 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 699 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 705 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 711 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 717 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 723 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 729 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 735 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 741 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 747 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 753 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 759 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 765 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 771 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 777 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 785 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 794 of file Application.cpp.
|
overridevirtual |
Retrieve the "wallet database".
Implements ripple::Application.
Definition at line 804 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 2107 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 2155 of file Application.cpp.
| bool ripple::ApplicationImp::initRelationalDatabase | ( | ) |
Definition at line 821 of file Application.cpp.
| bool ripple::ApplicationImp::initNodeStore | ( | ) |
Definition at line 850 of file Application.cpp.
|
overridevirtual |
Subclass override.
The default version does nothing.
Reimplemented from beast::PropertyStream::Source.
Definition at line 888 of file Application.cpp.
| void ripple::ApplicationImp::setSweepTimer | ( | ) |
Definition at line 895 of file Application.cpp.
| void ripple::ApplicationImp::setEntropyTimer | ( | ) |
Definition at line 925 of file Application.cpp.
| void ripple::ApplicationImp::doSweep | ( | ) |
Definition at line 954 of file Application.cpp.
|
overridevirtual |
Ensure that a newly-started validator does not sign proposals older than the last ledger it persisted.
Implements ripple::Application.
Definition at line 1114 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1120 of file Application.cpp.
|
private |
Definition at line 1688 of file Application.cpp.
|
private |
Definition at line 1712 of file Application.cpp.
|
private |
Definition at line 1756 of file Application.cpp.
|
private |
Definition at line 1895 of file Application.cpp.
|
private |
Definition at line 2161 of file Application.cpp.
|
inherited |
Returns the name of this source.
Definition at line 174 of file beast_PropertyStream.cpp.
|
inherited |
Add a child source.
Definition at line 180 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 339 of file PropertyStream.h.
|
inherited |
Remove a child source from this Source.
Definition at line 194 of file beast_PropertyStream.cpp.
|
inherited |
Remove all child sources from this Source.
Definition at line 208 of file beast_PropertyStream.cpp.
|
inherited |
Write only this Source to the stream.
Definition at line 221 of file beast_PropertyStream.cpp.
|
inherited |
write this source and all its children recursively to the stream.
Definition at line 228 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 240 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 discendent "parent.grandchild." starts at the parent and prints down to grandchild "parent.grandchild.*" starts at parent, print through grandchild children
Definition at line 254 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 321 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 338 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 356 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 274 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 285 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 301 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 25 of file BasicApp.h.
| std::unique_ptr<Config> ripple::ApplicationImp::config_ |
Definition at line 143 of file Application.cpp.
| std::unique_ptr<Logs> ripple::ApplicationImp::logs_ |
Definition at line 144 of file Application.cpp.
| std::unique_ptr<TimeKeeper> ripple::ApplicationImp::timeKeeper_ |
Definition at line 145 of file Application.cpp.
| std::uint64_t const ripple::ApplicationImp::instanceCookie_ |
Definition at line 147 of file Application.cpp.
| beast::Journal ripple::ApplicationImp::m_journal |
Definition at line 149 of file Application.cpp.
| std::unique_ptr<perf::PerfLog> ripple::ApplicationImp::perfLog_ |
Definition at line 150 of file Application.cpp.
| Application::MutexType ripple::ApplicationImp::m_masterMutex |
Definition at line 151 of file Application.cpp.
| TransactionMaster ripple::ApplicationImp::m_txMaster |
Definition at line 154 of file Application.cpp.
| std::unique_ptr<CollectorManager> ripple::ApplicationImp::m_collectorManager |
Definition at line 156 of file Application.cpp.
| std::unique_ptr<JobQueue> ripple::ApplicationImp::m_jobQueue |
Definition at line 157 of file Application.cpp.
| NodeStoreScheduler ripple::ApplicationImp::m_nodeStoreScheduler |
Definition at line 158 of file Application.cpp.
| std::unique_ptr<SHAMapStore> ripple::ApplicationImp::m_shaMapStore |
Definition at line 159 of file Application.cpp.
| PendingSaves ripple::ApplicationImp::pendingSaves_ |
Definition at line 160 of file Application.cpp.
| std::optional<OpenLedger> ripple::ApplicationImp::openLedger_ |
Definition at line 161 of file Application.cpp.
| NodeCache ripple::ApplicationImp::m_tempNodeCache |
Definition at line 163 of file Application.cpp.
| CachedSLEs ripple::ApplicationImp::cachedSLEs_ |
Definition at line 164 of file Application.cpp.
| std::optional<std::pair<PublicKey, SecretKey> > ripple::ApplicationImp::nodeIdentity_ |
Definition at line 165 of file Application.cpp.
| ValidatorKeys const ripple::ApplicationImp::validatorKeys_ |
Definition at line 166 of file Application.cpp.
| std::unique_ptr<Resource::Manager> ripple::ApplicationImp::m_resourceManager |
Definition at line 168 of file Application.cpp.
| std::unique_ptr<NodeStore::Database> ripple::ApplicationImp::m_nodeStore |
Definition at line 170 of file Application.cpp.
| NodeFamily ripple::ApplicationImp::nodeFamily_ |
Definition at line 171 of file Application.cpp.
| OrderBookDB ripple::ApplicationImp::m_orderBookDB |
Definition at line 173 of file Application.cpp.
| std::unique_ptr<PathRequests> ripple::ApplicationImp::m_pathRequests |
Definition at line 174 of file Application.cpp.
| std::unique_ptr<LedgerMaster> ripple::ApplicationImp::m_ledgerMaster |
Definition at line 175 of file Application.cpp.
| std::unique_ptr<LedgerCleaner> ripple::ApplicationImp::ledgerCleaner_ |
Definition at line 176 of file Application.cpp.
| std::unique_ptr<InboundLedgers> ripple::ApplicationImp::m_inboundLedgers |
Definition at line 177 of file Application.cpp.
| std::unique_ptr<InboundTransactions> ripple::ApplicationImp::m_inboundTransactions |
Definition at line 178 of file Application.cpp.
| std::unique_ptr<LedgerReplayer> ripple::ApplicationImp::m_ledgerReplayer |
Definition at line 179 of file Application.cpp.
| TaggedCache<uint256, AcceptedLedger> ripple::ApplicationImp::m_acceptedLedgerCache |
Definition at line 180 of file Application.cpp.
| std::unique_ptr<NetworkOPs> ripple::ApplicationImp::m_networkOPs |
Definition at line 181 of file Application.cpp.
| std::unique_ptr<Cluster> ripple::ApplicationImp::cluster_ |
Definition at line 182 of file Application.cpp.
| std::unique_ptr<PeerReservationTable> ripple::ApplicationImp::peerReservations_ |
Definition at line 183 of file Application.cpp.
| std::unique_ptr<ManifestCache> ripple::ApplicationImp::validatorManifests_ |
Definition at line 184 of file Application.cpp.
| std::unique_ptr<ManifestCache> ripple::ApplicationImp::publisherManifests_ |
Definition at line 185 of file Application.cpp.
| std::unique_ptr<ValidatorList> ripple::ApplicationImp::validators_ |
Definition at line 186 of file Application.cpp.
| std::unique_ptr<ValidatorSite> ripple::ApplicationImp::validatorSites_ |
Definition at line 187 of file Application.cpp.
| std::unique_ptr<ServerHandler> ripple::ApplicationImp::serverHandler_ |
Definition at line 188 of file Application.cpp.
| std::unique_ptr<AmendmentTable> ripple::ApplicationImp::m_amendmentTable |
Definition at line 189 of file Application.cpp.
| std::unique_ptr<LoadFeeTrack> ripple::ApplicationImp::mFeeTrack |
Definition at line 190 of file Application.cpp.
| std::unique_ptr<HashRouter> ripple::ApplicationImp::hashRouter_ |
Definition at line 191 of file Application.cpp.
| RCLValidations ripple::ApplicationImp::mValidations |
Definition at line 192 of file Application.cpp.
| std::unique_ptr<LoadManager> ripple::ApplicationImp::m_loadManager |
Definition at line 193 of file Application.cpp.
| std::unique_ptr<TxQ> ripple::ApplicationImp::txQ_ |
Definition at line 194 of file Application.cpp.
| ClosureCounter<void, boost::system::error_code const&> ripple::ApplicationImp::waitHandlerCounter_ |
Definition at line 195 of file Application.cpp.
| boost::asio::steady_timer ripple::ApplicationImp::sweepTimer_ |
Definition at line 196 of file Application.cpp.
| boost::asio::steady_timer ripple::ApplicationImp::entropyTimer_ |
Definition at line 197 of file Application.cpp.
| std::unique_ptr<RelationalDatabase> ripple::ApplicationImp::mRelationalDatabase |
Definition at line 199 of file Application.cpp.
| std::unique_ptr<DatabaseCon> ripple::ApplicationImp::mWalletDB |
Definition at line 200 of file Application.cpp.
| std::unique_ptr<Overlay> ripple::ApplicationImp::overlay_ |
Definition at line 201 of file Application.cpp.
| std::optional<uint256> ripple::ApplicationImp::trapTxID_ |
Definition at line 202 of file Application.cpp.
| boost::asio::signal_set ripple::ApplicationImp::m_signals |
Definition at line 204 of file Application.cpp.
| std::condition_variable ripple::ApplicationImp::stoppingCondition_ |
Definition at line 208 of file Application.cpp.
|
mutable |
Definition at line 209 of file Application.cpp.
| std::atomic<bool> ripple::ApplicationImp::isTimeToStop = false |
Definition at line 210 of file Application.cpp.
| std::atomic<bool> ripple::ApplicationImp::checkSigs_ |
Definition at line 212 of file Application.cpp.
| std::unique_ptr<ResolverAsio> ripple::ApplicationImp::m_resolver |
Definition at line 214 of file Application.cpp.
| io_latency_sampler ripple::ApplicationImp::m_io_latency_sampler |
Definition at line 216 of file Application.cpp.
| std::unique_ptr<GRPCServer> ripple::ApplicationImp::grpcServer_ |
Definition at line 218 of file Application.cpp.
|
private |
Definition at line 1128 of file Application.cpp.
|
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 316 of file PropertyStream.h.
|
privateinherited |
Definition at line 16 of file BasicApp.h.
|
privateinherited |
Definition at line 17 of file BasicApp.h.
|
privateinherited |
Definition at line 18 of file BasicApp.h.