|
rippled
|
Tracks the submission -> accepted -> validated evolution of transactions. More...
#include <collectors.h>

Classes | |
| struct | Tracker |
Public Types | |
| using | Hist = Histogram< SimTime::duration > |
Public Member Functions | |
| template<class E > | |
| void | on (PeerID, SimTime when, E const &e) |
| void | on (PeerID who, SimTime when, SubmitTx const &e) |
| void | on (PeerID who, SimTime when, AcceptLedger const &e) |
| void | on (PeerID who, SimTime when, FullyValidateLedger const &e) |
| std::size_t | orphaned () const |
| std::size_t | unvalidated () const |
| template<class T > | |
| void | report (SimDuration simDuration, T &log, bool printBreakline=false) |
| template<class T , class Tag > | |
| void | csv (SimDuration simDuration, T &log, Tag const &tag, bool printHeaders=false) |
Public Attributes | |
| std::size_t | submitted {0} |
| std::size_t | accepted {0} |
| std::size_t | validated {0} |
| hash_map< Tx::ID, Tracker > | txs |
| Hist | submitToAccept |
| Hist | submitToValidate |
Tracks the submission -> accepted -> validated evolution of transactions.
This collector tracks transactions through the network by monitoring the first* time the transaction is seen by any node in the network, or seen by any node's accepted or fully validated ledger.
If transactions submitted to the network do not have unique IDs, this collector will not track subsequent submissions.
Definition at line 150 of file collectors.h.
| using xrpl::test::csf::TxCollector::Hist = Histogram<SimTime::duration> |
Definition at line 171 of file collectors.h.
Definition at line 178 of file collectors.h.
Definition at line 183 of file collectors.h.
| void xrpl::test::csf::TxCollector::on | ( | PeerID | who, |
| SimTime | when, | ||
| AcceptLedger const & | e | ||
| ) |
Definition at line 193 of file collectors.h.
| void xrpl::test::csf::TxCollector::on | ( | PeerID | who, |
| SimTime | when, | ||
| FullyValidateLedger const & | e | ||
| ) |
Definition at line 210 of file collectors.h.
| std::size_t xrpl::test::csf::TxCollector::orphaned | ( | ) | const |
Definition at line 230 of file collectors.h.
| std::size_t xrpl::test::csf::TxCollector::unvalidated | ( | ) | const |
Definition at line 237 of file collectors.h.
| void xrpl::test::csf::TxCollector::report | ( | SimDuration | simDuration, |
| T & | log, | ||
| bool | printBreakline = false |
||
| ) |
Definition at line 244 of file collectors.h.
| void xrpl::test::csf::TxCollector::csv | ( | SimDuration | simDuration, |
| T & | log, | ||
| Tag const & | tag, | ||
| bool | printHeaders = false |
||
| ) |
Definition at line 301 of file collectors.h.
| std::size_t xrpl::test::csf::TxCollector::submitted {0} |
Definition at line 153 of file collectors.h.
| std::size_t xrpl::test::csf::TxCollector::accepted {0} |
Definition at line 154 of file collectors.h.
| std::size_t xrpl::test::csf::TxCollector::validated {0} |
Definition at line 155 of file collectors.h.
Definition at line 169 of file collectors.h.
| Hist xrpl::test::csf::TxCollector::submitToAccept |
Definition at line 172 of file collectors.h.
| Hist xrpl::test::csf::TxCollector::submitToValidate |
Definition at line 173 of file collectors.h.