|
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. More... | |
| 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 |
| virtual ServerHandler & | getServerHandler () 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 |
| OpenLedger & | openLedger () override |
| OpenLedger const & | openLedger () const override |
| Overlay & | overlay () override |
| TxQ & | getTxQ () override |
| RelationalDatabase & | getRelationalDatabase () 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 | initRelationalDatabase () |
| bool | initNodeStore () |
| 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 98 of file Application.cpp.
|
inherited |
Definition at line 130 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 272 of file Application.cpp.
|
static |
Definition at line 249 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1126 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1527 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1551 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1654 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1668 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1674 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1680 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 1686 of file Application.cpp.
|
overridevirtual |
Returns a 64-bit instance identifier, generated at startup.
Implements ripple::Application.
Definition at line 538 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 544 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 550 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 556 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 562 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 570 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 576 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 582 of file Application.cpp.
Implements ripple::Application.
Definition at line 588 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 594 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 600 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 606 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 613 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 619 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 625 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 631 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 637 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 643 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 649 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 655 of file Application.cpp.
| void ripple::ApplicationImp::gotTXSet | ( | std::shared_ptr< SHAMap > const & | set, |
| bool | fromAcquire | ||
| ) |
Definition at line 661 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 668 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 674 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 680 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 686 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 694 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 700 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 758 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 764 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 770 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 776 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 782 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 788 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 794 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 800 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 806 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 812 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 818 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 824 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 830 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 836 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 842 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 848 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 854 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 860 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 866 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 874 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 882 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 889 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 896 of file Application.cpp.
|
overridevirtual |
Retrieve the "wallet database".
Implements ripple::Application.
Definition at line 903 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 910 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 2101 of file Application.cpp.
|
overridevirtual |
Implements ripple::Application.
Definition at line 2149 of file Application.cpp.
| bool ripple::ApplicationImp::initRelationalDatabase | ( | ) |
Definition at line 925 of file Application.cpp.
| bool ripple::ApplicationImp::initNodeStore | ( | ) |
Definition at line 951 of file Application.cpp.
|
overridevirtual |
Subclass override.
The default version does nothing.
Reimplemented from beast::PropertyStream::Source.
Definition at line 989 of file Application.cpp.
| void ripple::ApplicationImp::setSweepTimer | ( | ) |
Definition at line 996 of file Application.cpp.
| void ripple::ApplicationImp::setEntropyTimer | ( | ) |
Definition at line 1027 of file Application.cpp.
| void ripple::ApplicationImp::doSweep | ( | ) |
Definition at line 1056 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 1093 of file Application.cpp.
|
private |
Definition at line 2155 of file Application.cpp.
|
private |
Definition at line 1714 of file Application.cpp.
|
private |
Definition at line 1737 of file Application.cpp.
|
private |
Definition at line 1780 of file Application.cpp.
|
private |
Definition at line 1918 of file Application.cpp.
|
private |
Definition at line 2176 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 360 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 166 of file Application.cpp.
| std::unique_ptr<Logs> ripple::ApplicationImp::logs_ |
Definition at line 167 of file Application.cpp.
| std::unique_ptr<TimeKeeper> ripple::ApplicationImp::timeKeeper_ |
Definition at line 168 of file Application.cpp.
| const std::uint64_t ripple::ApplicationImp::instanceCookie_ |
Definition at line 170 of file Application.cpp.
| beast::Journal ripple::ApplicationImp::m_journal |
Definition at line 172 of file Application.cpp.
| std::unique_ptr<perf::PerfLog> ripple::ApplicationImp::perfLog_ |
Definition at line 173 of file Application.cpp.
| Application::MutexType ripple::ApplicationImp::m_masterMutex |
Definition at line 174 of file Application.cpp.
| TransactionMaster ripple::ApplicationImp::m_txMaster |
Definition at line 177 of file Application.cpp.
| std::unique_ptr<CollectorManager> ripple::ApplicationImp::m_collectorManager |
Definition at line 179 of file Application.cpp.
| std::unique_ptr<JobQueue> ripple::ApplicationImp::m_jobQueue |
Definition at line 180 of file Application.cpp.
| NodeStoreScheduler ripple::ApplicationImp::m_nodeStoreScheduler |
Definition at line 181 of file Application.cpp.
| std::unique_ptr<SHAMapStore> ripple::ApplicationImp::m_shaMapStore |
Definition at line 182 of file Application.cpp.
| PendingSaves ripple::ApplicationImp::pendingSaves_ |
Definition at line 183 of file Application.cpp.
| std::optional<OpenLedger> ripple::ApplicationImp::openLedger_ |
Definition at line 184 of file Application.cpp.
| NodeCache ripple::ApplicationImp::m_tempNodeCache |
Definition at line 186 of file Application.cpp.
| CachedSLEs ripple::ApplicationImp::cachedSLEs_ |
Definition at line 187 of file Application.cpp.
Definition at line 188 of file Application.cpp.
| const ValidatorKeys ripple::ApplicationImp::validatorKeys_ |
Definition at line 189 of file Application.cpp.
| std::unique_ptr<Resource::Manager> ripple::ApplicationImp::m_resourceManager |
Definition at line 191 of file Application.cpp.
| std::unique_ptr<NodeStore::Database> ripple::ApplicationImp::m_nodeStore |
Definition at line 193 of file Application.cpp.
| NodeFamily ripple::ApplicationImp::nodeFamily_ |
Definition at line 194 of file Application.cpp.
| std::unique_ptr<NodeStore::DatabaseShard> ripple::ApplicationImp::shardStore_ |
Definition at line 195 of file Application.cpp.
| std::unique_ptr<ShardFamily> ripple::ApplicationImp::shardFamily_ |
Definition at line 196 of file Application.cpp.
| std::unique_ptr<RPC::ShardArchiveHandler> ripple::ApplicationImp::shardArchiveHandler_ |
Definition at line 197 of file Application.cpp.
| OrderBookDB ripple::ApplicationImp::m_orderBookDB |
Definition at line 199 of file Application.cpp.
| std::unique_ptr<PathRequests> ripple::ApplicationImp::m_pathRequests |
Definition at line 200 of file Application.cpp.
| std::unique_ptr<LedgerMaster> ripple::ApplicationImp::m_ledgerMaster |
Definition at line 201 of file Application.cpp.
| std::unique_ptr<LedgerCleaner> ripple::ApplicationImp::ledgerCleaner_ |
Definition at line 202 of file Application.cpp.
| std::unique_ptr<InboundLedgers> ripple::ApplicationImp::m_inboundLedgers |
Definition at line 203 of file Application.cpp.
| std::unique_ptr<InboundTransactions> ripple::ApplicationImp::m_inboundTransactions |
Definition at line 204 of file Application.cpp.
| std::unique_ptr<LedgerReplayer> ripple::ApplicationImp::m_ledgerReplayer |
Definition at line 205 of file Application.cpp.
| TaggedCache<uint256, AcceptedLedger> ripple::ApplicationImp::m_acceptedLedgerCache |
Definition at line 206 of file Application.cpp.
| std::unique_ptr<NetworkOPs> ripple::ApplicationImp::m_networkOPs |
Definition at line 207 of file Application.cpp.
| std::unique_ptr<Cluster> ripple::ApplicationImp::cluster_ |
Definition at line 208 of file Application.cpp.
| std::unique_ptr<PeerReservationTable> ripple::ApplicationImp::peerReservations_ |
Definition at line 209 of file Application.cpp.
| std::unique_ptr<ManifestCache> ripple::ApplicationImp::validatorManifests_ |
Definition at line 210 of file Application.cpp.
| std::unique_ptr<ManifestCache> ripple::ApplicationImp::publisherManifests_ |
Definition at line 211 of file Application.cpp.
| std::unique_ptr<ValidatorList> ripple::ApplicationImp::validators_ |
Definition at line 212 of file Application.cpp.
| std::unique_ptr<ValidatorSite> ripple::ApplicationImp::validatorSites_ |
Definition at line 213 of file Application.cpp.
| std::unique_ptr<ServerHandler> ripple::ApplicationImp::serverHandler_ |
Definition at line 214 of file Application.cpp.
| std::unique_ptr<AmendmentTable> ripple::ApplicationImp::m_amendmentTable |
Definition at line 215 of file Application.cpp.
| std::unique_ptr<LoadFeeTrack> ripple::ApplicationImp::mFeeTrack |
Definition at line 216 of file Application.cpp.
| std::unique_ptr<HashRouter> ripple::ApplicationImp::hashRouter_ |
Definition at line 217 of file Application.cpp.
| RCLValidations ripple::ApplicationImp::mValidations |
Definition at line 218 of file Application.cpp.
| std::unique_ptr<LoadManager> ripple::ApplicationImp::m_loadManager |
Definition at line 219 of file Application.cpp.
| std::unique_ptr<TxQ> ripple::ApplicationImp::txQ_ |
Definition at line 220 of file Application.cpp.
| ClosureCounter<void, boost::system::error_code const&> ripple::ApplicationImp::waitHandlerCounter_ |
Definition at line 221 of file Application.cpp.
| boost::asio::steady_timer ripple::ApplicationImp::sweepTimer_ |
Definition at line 222 of file Application.cpp.
| boost::asio::steady_timer ripple::ApplicationImp::entropyTimer_ |
Definition at line 223 of file Application.cpp.
| std::unique_ptr<RelationalDatabase> ripple::ApplicationImp::mRelationalDatabase |
Definition at line 225 of file Application.cpp.
| std::unique_ptr<DatabaseCon> ripple::ApplicationImp::mWalletDB |
Definition at line 226 of file Application.cpp.
| std::unique_ptr<Overlay> ripple::ApplicationImp::overlay_ |
Definition at line 227 of file Application.cpp.
| boost::asio::signal_set ripple::ApplicationImp::m_signals |
Definition at line 229 of file Application.cpp.
| std::condition_variable ripple::ApplicationImp::stoppingCondition_ |
Definition at line 233 of file Application.cpp.
|
mutable |
Definition at line 234 of file Application.cpp.
| std::atomic<bool> ripple::ApplicationImp::isTimeToStop = false |
Definition at line 235 of file Application.cpp.
| std::atomic<bool> ripple::ApplicationImp::checkSigs_ |
Definition at line 237 of file Application.cpp.
| std::unique_ptr<ResolverAsio> ripple::ApplicationImp::m_resolver |
Definition at line 239 of file Application.cpp.
| io_latency_sampler ripple::ApplicationImp::m_io_latency_sampler |
Definition at line 241 of file Application.cpp.
| std::unique_ptr<GRPCServer> ripple::ApplicationImp::grpcServer_ |
Definition at line 243 of file Application.cpp.
| std::unique_ptr<ReportingETL> ripple::ApplicationImp::reportingETL_ |
Definition at line 244 of file Application.cpp.
|
private |
Definition at line 1101 of file Application.cpp.
|
privateinherited |
Definition at line 333 of file PropertyStream.h.
|
privateinherited |
Definition at line 334 of file PropertyStream.h.
|
privateinherited |
Definition at line 335 of file PropertyStream.h.
|
privateinherited |
Definition at line 336 of file PropertyStream.h.
|
privateinherited |
Definition at line 337 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