|
rippled
|
Immutable cryptographic account descriptor. More...

Classes | |
| struct | privateCtorTag |
Public Types | |
| enum | AcctStringType { base58Seed, other } |
Public Member Functions | |
| Account ()=default | |
| Account (Account &&)=default | |
| Account (Account const &)=default | |
| Account & | operator= (Account const &)=default |
| Account & | operator= (Account &&)=default |
| Account (AcctStringType stringType, std::string base58SeedStr) | |
| Create an account from a base58 seed string. More... | |
| std::string const & | name () const |
| Return the name. More... | |
| PublicKey const & | pk () const |
| Return the public key. More... | |
| SecretKey const & | sk () const |
| Return the secret key. More... | |
| AccountID | id () const |
| Returns the Account ID. More... | |
| std::string const & | human () const |
| Returns the human readable public key. More... | |
| operator AccountID () const | |
| Implicit conversion to AccountID. More... | |
| IOU | operator[] (std::string const &s) const |
| Returns an IOU for the specified gateway currency. More... | |
| Account (std::string name, KeyType type=KeyType::secp256k1) | |
| Create an account from a simple string name. More... | |
| Account (char const *name, KeyType type=KeyType::secp256k1) | |
| Account (std::string name, std::pair< PublicKey, SecretKey > const &keys, Account::privateCtorTag) | |
Static Public Attributes | |
| static const Account | master |
| The master account. More... | |
Static Private Member Functions | |
| static Account | fromCache (AcctStringType stringType, std::string name, KeyType type) |
Private Attributes | |
| std::string | name_ |
| PublicKey | pk_ |
| SecretKey | sk_ |
| AccountID | id_ |
| std::string | human_ |
Static Private Attributes | |
| static std::unordered_map< std::pair< std::string, KeyType >, Account, beast::uhash<> > | cache_ |
|
default |
|
default |
|
default |
| ripple::test::jtx::Account::Account | ( | std::string | name, |
| KeyType | type = KeyType::secp256k1 |
||
| ) |
Create an account from a simple string name.
Definition at line 75 of file Account.cpp.
| ripple::test::jtx::Account::Account | ( | char const * | name, |
| KeyType | type = KeyType::secp256k1 |
||
| ) |
| ripple::test::jtx::Account::Account | ( | std::string | name, |
| std::pair< PublicKey, SecretKey > const & | keys, | ||
| Account::privateCtorTag | |||
| ) |
Definition at line 36 of file Account.cpp.
| ripple::test::jtx::Account::Account | ( | AcctStringType | stringType, |
| std::string | base58SeedStr | ||
| ) |
Create an account from a base58 seed string.
Throws on invalid seed.
Definition at line 80 of file Account.cpp.
| std::string const& ripple::test::jtx::Account::name | ( | ) | const |
| PublicKey const& ripple::test::jtx::Account::pk | ( | ) | const |
| SecretKey const& ripple::test::jtx::Account::sk | ( | ) | const |
| AccountID ripple::test::jtx::Account::id | ( | ) | const |
| std::string const& ripple::test::jtx::Account::human | ( | ) | const |
| ripple::test::jtx::Account::operator AccountID | ( | ) | const |
| IOU ripple::test::jtx::Account::operator[] | ( | std::string const & | s | ) | const |
Returns an IOU for the specified gateway currency.
Definition at line 89 of file Account.cpp.
|
staticprivate |
Definition at line 49 of file Account.cpp.
|
static |
|
staticprivate |
|
private |
|
private |
1.8.17