|
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 () override |
| void | start (bool withTimers) override |
| void | run () override |
| void | signalStop () override |
| bool | checkSigs () const override |
| void | checkSigs (bool) override |
| bool | isStopping () const override |
| int | fdRequired () const override |
| Logs & | logs () override |
| Config & | config () override |
| CollectorManager & | getCollectorManager () override |
| Family & | getNodeFamily () override |
| Family * | getShardFamily () override |
| TimeKeeper & | timeKeeper () override |
| JobQueue & | getJobQueue () override |
| std::pair< PublicKey, SecretKey > const & | nodeIdentity () override |
| PublicKey const & | getValidationPublicKey () const override |
| NetworkOPs & | getOPs () override |
| boost::asio::io_service & | getIOService () 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 |
| NodeStore::DatabaseShard * | getShardStore () override |
| RPC::ShardArchiveHandler * | getShardArchiveHandler (bool tryRecovery) 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 |
| AccountIDCache const & | accountIDCache () const override |
| OpenLedger & | openLedger () override |
| OpenLedger const & | openLedger () const override |
| Overlay & | overlay () override |
| TxQ & | getTxQ () override |
| RelationalDBInterface & | getRelationalDBInterface () override |
| DatabaseCon & | getWalletDB () override |
| Retrieve the "wallet database". More... | |
| ReportingETL & | getReportingETL () override |
| bool | serverOkay (std::string &reason) override |
| beast::Journal | journal (std::string const &name) override |
| bool | initRDBMS () |
| bool | initNodeStore () |
| void | stop () |
| void | onWrite (beast::PropertyStream::Map &stream) override |
| Subclass override. More... | |
| 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. More... | |
| std::string const & | name () const |
| Returns the name of this source. More... | |
| void | add (Source &source) |
| Add a child source. More... | |
| template<class Derived > | |
| Derived * | add (Derived *child) |
| Add a child source by pointer. More... | |
| void | remove (Source &child) |
| Remove a child source from this Source. More... | |
| void | removeAll () |
| Remove all child sources from this Source. More... | |
| void | write_one (PropertyStream &stream) |
| Write only this Source to the stream. More... | |
| void | write (PropertyStream &stream) |
| write this source and all its children recursively to the stream. More... | |
| void | write (PropertyStream &stream, std::string const &path) |
| Parse the path and write the corresponding Source and optional children. More... | |
| std::pair< Source *, bool > | find (std::string path) |
| Parse the dot-delimited Source path and return the result. More... | |
| 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_service & | get_io_service () |
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 | |
| bool | nodeToShards () |
| 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) |
| void | setMaxDisallowedLedger () |
Private Attributes | |
| std::atomic< LedgerIndex > | maxDisallowedLedger_ {0} |
| const std::string | m_name |
| std::recursive_mutex | lock_ |
| Item | item_ |
| Source * | parent_ |
| List< Item > | children_ |
| std::optional< boost::asio::io_service::work > | work_ |
| std::vector< std::thread > | threads_ |
| boost::asio::io_service | io_service_ |
Definition at line 96 of file Application.cpp.
|
inherited |
Definition at line 129 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 267 of file Application.cpp.
|
static |
Definition at line 244 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1211 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1606 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1629 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1651 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1665 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1671 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1677 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1684 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 528 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 534 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 540 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 546 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 554 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 560 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 566 of file Application.cpp.
Implements ripple::Application.
Definition at line 572 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.
|
overridevirtual |
Implements ripple::Application.
Definition at line 626 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 632 of file Application.cpp.
| void ripple::ApplicationImp::gotTXSet | ( | std::shared_ptr< SHAMap > const & | set, |
| bool | fromAcquire | ||
| ) |
Definition at line 638 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 671 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 677 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 783 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 789 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 795 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 801 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 807 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 813 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 819 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 825 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 831 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 837 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 843 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 849 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 857 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 865 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 872 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 879 of file Application.cpp.
|
overridevirtual |
Retrieve the "wallet database".
Implements ripple::Application.
Definition at line 886 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 893 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 2090 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 2138 of file Application.cpp.
| bool ripple::ApplicationImp::initRDBMS | ( | ) |
Definition at line 908 of file Application.cpp.
| bool ripple::ApplicationImp::initNodeStore | ( | ) |
Definition at line 934 of file Application.cpp.
| void ripple::ApplicationImp::stop | ( | ) |
Definition at line 977 of file Application.cpp.
|
overridevirtual |
Subclass override.
The default version does nothing.
Reimplemented from beast::PropertyStream::Source.
Definition at line 1073 of file Application.cpp.
| void ripple::ApplicationImp::setSweepTimer | ( | ) |
Definition at line 1080 of file Application.cpp.
| void ripple::ApplicationImp::setEntropyTimer | ( | ) |
Definition at line 1111 of file Application.cpp.
| void ripple::ApplicationImp::doSweep | ( | ) |
Definition at line 1140 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 1178 of file Application.cpp.
|
private |
Definition at line 2144 of file Application.cpp.
|
private |
Definition at line 1712 of file Application.cpp.
|
private |
Definition at line 1732 of file Application.cpp.
|
private |
Definition at line 1772 of file Application.cpp.
|
private |
Definition at line 1907 of file Application.cpp.
|
private |
Definition at line 2165 of file Application.cpp.
|
inherited |
Returns the name of this source.
Definition at line 190 of file beast_PropertyStream.cpp.
|
inherited |
Add a child source.
Definition at line 196 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 372 of file PropertyStream.h.
|
inherited |
Remove a child source from this Source.
Definition at line 208 of file beast_PropertyStream.cpp.
|
inherited |
Remove all child sources from this Source.
Definition at line 220 of file beast_PropertyStream.cpp.
|
inherited |
Write only this Source to the stream.
Definition at line 233 of file beast_PropertyStream.cpp.
|
inherited |
write this source and all its children recursively to the stream.
Definition at line 240 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 252 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 266 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 333 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 350 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 368 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 286 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 297 of file beast_PropertyStream.cpp.
|
staticinherited |
Definition at line 313 of file beast_PropertyStream.cpp.
|
inherited |
Definition at line 41 of file BasicApp.h.
| std::unique_ptr<Config> ripple::ApplicationImp::config_ |
Definition at line 164 of file Application.cpp.
| std::unique_ptr<Logs> ripple::ApplicationImp::logs_ |
Definition at line 165 of file Application.cpp.
| std::unique_ptr<TimeKeeper> ripple::ApplicationImp::timeKeeper_ |
Definition at line 166 of file Application.cpp.
| beast::Journal ripple::ApplicationImp::m_journal |
Definition at line 168 of file Application.cpp.
| std::unique_ptr<perf::PerfLog> ripple::ApplicationImp::perfLog_ |
Definition at line 169 of file Application.cpp.
| Application::MutexType ripple::ApplicationImp::m_masterMutex |
Definition at line 170 of file Application.cpp.
| TransactionMaster ripple::ApplicationImp::m_txMaster |
Definition at line 173 of file Application.cpp.
| std::unique_ptr<CollectorManager> ripple::ApplicationImp::m_collectorManager |
Definition at line 175 of file Application.cpp.
| std::unique_ptr<JobQueue> ripple::ApplicationImp::m_jobQueue |
Definition at line 176 of file Application.cpp.
| NodeStoreScheduler ripple::ApplicationImp::m_nodeStoreScheduler |
Definition at line 177 of file Application.cpp.
| std::unique_ptr<SHAMapStore> ripple::ApplicationImp::m_shaMapStore |
Definition at line 178 of file Application.cpp.
| PendingSaves ripple::ApplicationImp::pendingSaves_ |
Definition at line 179 of file Application.cpp.
| AccountIDCache ripple::ApplicationImp::accountIDCache_ |
Definition at line 180 of file Application.cpp.
| std::optional<OpenLedger> ripple::ApplicationImp::openLedger_ |
Definition at line 181 of file Application.cpp.
| NodeCache ripple::ApplicationImp::m_tempNodeCache |
Definition at line 183 of file Application.cpp.
| CachedSLEs ripple::ApplicationImp::cachedSLEs_ |
Definition at line 184 of file Application.cpp.
Definition at line 185 of file Application.cpp.
| const ValidatorKeys ripple::ApplicationImp::validatorKeys_ |
Definition at line 186 of file Application.cpp.
| std::unique_ptr<Resource::Manager> ripple::ApplicationImp::m_resourceManager |
Definition at line 188 of file Application.cpp.
| std::unique_ptr<NodeStore::Database> ripple::ApplicationImp::m_nodeStore |
Definition at line 190 of file Application.cpp.
| NodeFamily ripple::ApplicationImp::nodeFamily_ |
Definition at line 191 of file Application.cpp.
| std::unique_ptr<NodeStore::DatabaseShard> ripple::ApplicationImp::shardStore_ |
Definition at line 192 of file Application.cpp.
| std::unique_ptr<ShardFamily> ripple::ApplicationImp::shardFamily_ |
Definition at line 193 of file Application.cpp.
| std::unique_ptr<RPC::ShardArchiveHandler> ripple::ApplicationImp::shardArchiveHandler_ |
Definition at line 194 of file Application.cpp.
| OrderBookDB ripple::ApplicationImp::m_orderBookDB |
Definition at line 196 of file Application.cpp.
| std::unique_ptr<PathRequests> ripple::ApplicationImp::m_pathRequests |
Definition at line 197 of file Application.cpp.
| std::unique_ptr<LedgerMaster> ripple::ApplicationImp::m_ledgerMaster |
Definition at line 198 of file Application.cpp.
| std::unique_ptr<LedgerCleaner> ripple::ApplicationImp::ledgerCleaner_ |
Definition at line 199 of file Application.cpp.
| std::unique_ptr<InboundLedgers> ripple::ApplicationImp::m_inboundLedgers |
Definition at line 200 of file Application.cpp.
| std::unique_ptr<InboundTransactions> ripple::ApplicationImp::m_inboundTransactions |
Definition at line 201 of file Application.cpp.
| std::unique_ptr<LedgerReplayer> ripple::ApplicationImp::m_ledgerReplayer |
Definition at line 202 of file Application.cpp.
| TaggedCache<uint256, AcceptedLedger> ripple::ApplicationImp::m_acceptedLedgerCache |
Definition at line 203 of file Application.cpp.
| std::unique_ptr<NetworkOPs> ripple::ApplicationImp::m_networkOPs |
Definition at line 204 of file Application.cpp.
| std::unique_ptr<Cluster> ripple::ApplicationImp::cluster_ |
Definition at line 205 of file Application.cpp.
| std::unique_ptr<PeerReservationTable> ripple::ApplicationImp::peerReservations_ |
Definition at line 206 of file Application.cpp.
| std::unique_ptr<ManifestCache> ripple::ApplicationImp::validatorManifests_ |
Definition at line 207 of file Application.cpp.
| std::unique_ptr<ManifestCache> ripple::ApplicationImp::publisherManifests_ |
Definition at line 208 of file Application.cpp.
| std::unique_ptr<ValidatorList> ripple::ApplicationImp::validators_ |
Definition at line 209 of file Application.cpp.
| std::unique_ptr<ValidatorSite> ripple::ApplicationImp::validatorSites_ |
Definition at line 210 of file Application.cpp.
| std::unique_ptr<ServerHandler> ripple::ApplicationImp::serverHandler_ |
Definition at line 211 of file Application.cpp.
| std::unique_ptr<AmendmentTable> ripple::ApplicationImp::m_amendmentTable |
Definition at line 212 of file Application.cpp.
| std::unique_ptr<LoadFeeTrack> ripple::ApplicationImp::mFeeTrack |
Definition at line 213 of file Application.cpp.
| std::unique_ptr<HashRouter> ripple::ApplicationImp::hashRouter_ |
Definition at line 214 of file Application.cpp.
| RCLValidations ripple::ApplicationImp::mValidations |
Definition at line 215 of file Application.cpp.
| std::unique_ptr<LoadManager> ripple::ApplicationImp::m_loadManager |
Definition at line 216 of file Application.cpp.
| std::unique_ptr<TxQ> ripple::ApplicationImp::txQ_ |
Definition at line 217 of file Application.cpp.
| ClosureCounter<void, boost::system::error_code const&> ripple::ApplicationImp::waitHandlerCounter_ |
Definition at line 218 of file Application.cpp.
| boost::asio::steady_timer ripple::ApplicationImp::sweepTimer_ |
Definition at line 219 of file Application.cpp.
| boost::asio::steady_timer ripple::ApplicationImp::entropyTimer_ |
Definition at line 220 of file Application.cpp.
| std::unique_ptr<RelationalDBInterface> ripple::ApplicationImp::mRelationalDBInterface |
Definition at line 222 of file Application.cpp.
| std::unique_ptr<DatabaseCon> ripple::ApplicationImp::mWalletDB |
Definition at line 223 of file Application.cpp.
| std::unique_ptr<Overlay> ripple::ApplicationImp::overlay_ |
Definition at line 224 of file Application.cpp.
| boost::asio::signal_set ripple::ApplicationImp::m_signals |
Definition at line 226 of file Application.cpp.
| std::condition_variable ripple::ApplicationImp::cv_ |
Definition at line 228 of file Application.cpp.
|
mutable |
Definition at line 229 of file Application.cpp.
| bool ripple::ApplicationImp::isTimeToStop = false |
Definition at line 230 of file Application.cpp.
| std::atomic<bool> ripple::ApplicationImp::checkSigs_ |
Definition at line 232 of file Application.cpp.
| std::unique_ptr<ResolverAsio> ripple::ApplicationImp::m_resolver |
Definition at line 234 of file Application.cpp.
| io_latency_sampler ripple::ApplicationImp::m_io_latency_sampler |
Definition at line 236 of file Application.cpp.
| std::unique_ptr<GRPCServer> ripple::ApplicationImp::grpcServer_ |
Definition at line 238 of file Application.cpp.
| std::unique_ptr<ReportingETL> ripple::ApplicationImp::reportingETL_ |
Definition at line 239 of file Application.cpp.
|
private |
Definition at line 1186 of file Application.cpp.
|
privateinherited |
Definition at line 345 of file PropertyStream.h.
|
privateinherited |
Definition at line 346 of file PropertyStream.h.
|
privateinherited |
Definition at line 347 of file PropertyStream.h.
|
privateinherited |
Definition at line 348 of file PropertyStream.h.
|
privateinherited |
Definition at line 349 of file PropertyStream.h.
|
privateinherited |
Definition at line 32 of file BasicApp.h.
|
privateinherited |
Definition at line 33 of file BasicApp.h.
|
privateinherited |
Definition at line 34 of file BasicApp.h.
1.8.17