20 #include <test/jtx/owners.h>
34 if (sle->getType() == type)
const SF_UINT32 sfOwnerCount
std::uint32_t owned_count_of(ReadView const &view, AccountID const &id, LedgerEntryType type)
void owned_count_helper(Env &env, AccountID const &id, LedgerEntryType type, std::uint32_t value)
void forEachItem(ReadView const &view, AccountID const &id, std::function< void(std::shared_ptr< SLE const > const &)> f)
Iterate all items in an account's owner directory.
beast::unit_test::suite & test
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
LedgerEntryType
Ledger entry types.
std::shared_ptr< SLE const > le(Account const &account) const
Return an account root.
void operator()(Env &env) const
std::shared_ptr< OpenView const > current() const
Returns the current ledger.
A transaction testing environment.