1#ifndef XRPL_TEST_JTX_ACCOUNT_H_INCLUDED 
    2#define XRPL_TEST_JTX_ACCOUNT_H_INCLUDED 
    4#include <xrpl/beast/hash/uhash.h> 
    5#include <xrpl/protocol/KeyType.h> 
    6#include <xrpl/protocol/SecretKey.h> 
    7#include <xrpl/protocol/UintTypes.h> 
  137    return lhs.id() == rhs.id();
 
 
  140template <
class Hasher>
 
  150    return lhs.id() <=> rhs.id();
 
 
Immutable cryptographic account descriptor.
 
PublicKey const & pk() const
Return the public key.
 
Account(char const *name, KeyType type=KeyType::secp256k1)
 
AccountID id() const
Returns the Account ID.
 
Account(Account &&)=default
 
static Account const master
The master account.
 
Account(Account const &)=default
 
std::string const & name() const
Return the name.
 
Account & operator=(Account &&)=default
 
IOU operator[](std::string const &s) const
Returns an IOU for the specified gateway currency.
 
static std::unordered_map< std::pair< std::string, KeyType >, Account, beast::uhash<> > cache_
 
SecretKey const & sk() const
Return the secret key.
 
Account & operator=(Account const &)=default
 
static Account fromCache(AcctStringType stringType, std::string name, KeyType type)
 
std::string const & human() const
Returns the human readable public key.
 
Converts to IOU Issue or STAmount.
 
void hash_append(Hasher &h, Account const &v) noexcept
 
auto operator<=>(Account const &lhs, Account const &rhs) noexcept
 
bool operator==(Account const &lhs, Account const &rhs) noexcept
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.