rippled
|
Public Member Functions | |
TestData (std::uint64_t const seedValue, int dataSize=dataSizeMax, int numShards=1) | |
bool | isNewAccounts (int seq) |
void | makeLedgerData (test::jtx::Env &env_, std::uint32_t seq) |
bool | makeLedgers (test::jtx::Env &env_, std::uint32_t startIndex=0) |
Public Attributes | |
beast::xor_shift_engine | rng_ |
int | numShards_ |
std::vector< test::jtx::Account > | accounts_ |
std::vector< int > | nAccounts_ |
std::vector< std::vector< std::pair< int, int > > > | payAccounts_ |
std::vector< int > | xrpAmount_ |
std::vector< std::shared_ptr< const Ledger > > | ledgers_ |
Definition at line 182 of file DatabaseShard_test.cpp.
ripple::NodeStore::DatabaseShard_test::TestData::TestData | ( | std::uint64_t const | seedValue, |
int | dataSize = dataSizeMax , |
||
int | numShards = 1 |
||
) |
Definition at line 203 of file DatabaseShard_test.cpp.
bool ripple::NodeStore::DatabaseShard_test::TestData::isNewAccounts | ( | int | seq | ) |
Definition at line 257 of file DatabaseShard_test.cpp.
void ripple::NodeStore::DatabaseShard_test::TestData::makeLedgerData | ( | test::jtx::Env & | env_, |
std::uint32_t | seq | ||
) |
Definition at line 263 of file DatabaseShard_test.cpp.
bool ripple::NodeStore::DatabaseShard_test::TestData::makeLedgers | ( | test::jtx::Env & | env_, |
std::uint32_t | startIndex = 0 |
||
) |
Definition at line 284 of file DatabaseShard_test.cpp.
beast::xor_shift_engine ripple::NodeStore::DatabaseShard_test::TestData::rng_ |
Definition at line 185 of file DatabaseShard_test.cpp.
int ripple::NodeStore::DatabaseShard_test::TestData::numShards_ |
Definition at line 187 of file DatabaseShard_test.cpp.
std::vector<test::jtx::Account> ripple::NodeStore::DatabaseShard_test::TestData::accounts_ |
Definition at line 189 of file DatabaseShard_test.cpp.
std::vector<int> ripple::NodeStore::DatabaseShard_test::TestData::nAccounts_ |
Definition at line 192 of file DatabaseShard_test.cpp.
std::vector<std::vector<std::pair<int, int> > > ripple::NodeStore::DatabaseShard_test::TestData::payAccounts_ |
Definition at line 196 of file DatabaseShard_test.cpp.
std::vector<int> ripple::NodeStore::DatabaseShard_test::TestData::xrpAmount_ |
Definition at line 198 of file DatabaseShard_test.cpp.
std::vector<std::shared_ptr<const Ledger> > ripple::NodeStore::DatabaseShard_test::TestData::ledgers_ |
Definition at line 201 of file DatabaseShard_test.cpp.