|
xrpld
|

Classes | |
| struct | StateGuard |
Public Types | |
| using | ResetState = std::tuple<size_t, size_t> |
Public Member Functions | |
| jtx::Account | getAccount (size_t id) |
| xrpl::Currency | getCurrency (size_t id) |
| ResetState | getResetState () const |
| void | resetTo (ResetState const &s) |
| void | setupEnv (jtx::Env &env, size_t numAct, size_t numCur, std::optional< size_t > const &offererIndex) |
| std::int64_t | totalXRP (ReadView const &v, bool incRoot) |
| bool | checkBalances (ReadView const &v1, ReadView const &v2) |
| jtx::Account | getAvailAccount () |
| xrpl::Currency | getAvailCurrency () |
| template<class F> | |
| void | forEachElementPair (STAmount const &sendMax, STAmount const &deliver, std::vector< STPathElement > const &prefix, std::vector< STPathElement > const &suffix, std::optional< AccountID > const &existingAcc, std::optional< Currency > const &existingCur, std::optional< AccountID > const &existingIss, F &&f) |
Public Attributes | |
| std::vector< jtx::Account > | accounts |
| std::vector< xrpl::Currency > | currencies |
| std::vector< std::string > | currencyNames |
| size_t | nextAvailAccount = 0 |
| size_t | nextAvailCurrency = 0 |
Definition at line 236 of file PayStrand_test.cpp.
| using xrpl::test::ExistingElementPool::ResetState = std::tuple<size_t, size_t> |
Definition at line 261 of file PayStrand_test.cpp.
| jtx::Account xrpl::test::ExistingElementPool::getAccount | ( | size_t | id | ) |
Definition at line 243 of file PayStrand_test.cpp.
| xrpl::Currency xrpl::test::ExistingElementPool::getCurrency | ( | size_t | id | ) |
Definition at line 250 of file PayStrand_test.cpp.
|
nodiscard |
Definition at line 263 of file PayStrand_test.cpp.
| void xrpl::test::ExistingElementPool::resetTo | ( | ResetState const & | s | ) |
Definition at line 269 of file PayStrand_test.cpp.
| void xrpl::test::ExistingElementPool::setupEnv | ( | jtx::Env & | env, |
| size_t | numAct, | ||
| size_t | numCur, | ||
| std::optional< size_t > const & | offererIndex ) |
Definition at line 294 of file PayStrand_test.cpp.
| std::int64_t xrpl::test::ExistingElementPool::totalXRP | ( | ReadView const & | v, |
| bool | incRoot ) |
Definition at line 391 of file PayStrand_test.cpp.
Definition at line 412 of file PayStrand_test.cpp.
| jtx::Account xrpl::test::ExistingElementPool::getAvailAccount | ( | ) |
Definition at line 460 of file PayStrand_test.cpp.
| xrpl::Currency xrpl::test::ExistingElementPool::getAvailCurrency | ( | ) |
Definition at line 466 of file PayStrand_test.cpp.
| void xrpl::test::ExistingElementPool::forEachElementPair | ( | STAmount const & | sendMax, |
| STAmount const & | deliver, | ||
| std::vector< STPathElement > const & | prefix, | ||
| std::vector< STPathElement > const & | suffix, | ||
| std::optional< AccountID > const & | existingAcc, | ||
| std::optional< Currency > const & | existingCur, | ||
| std::optional< AccountID > const & | existingIss, | ||
| F && | f ) |
Definition at line 473 of file PayStrand_test.cpp.
| std::vector<jtx::Account> xrpl::test::ExistingElementPool::accounts |
Definition at line 238 of file PayStrand_test.cpp.
| std::vector<xrpl::Currency> xrpl::test::ExistingElementPool::currencies |
Definition at line 239 of file PayStrand_test.cpp.
| std::vector<std::string> xrpl::test::ExistingElementPool::currencyNames |
Definition at line 240 of file PayStrand_test.cpp.
| size_t xrpl::test::ExistingElementPool::nextAvailAccount = 0 |
Definition at line 258 of file PayStrand_test.cpp.
| size_t xrpl::test::ExistingElementPool::nextAvailCurrency = 0 |
Definition at line 259 of file PayStrand_test.cpp.