![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <AccountHolder.h>
Public Member Functions | |
| SimpleAccountHolder (std::function< Interface *()> const &_client, std::function< std::string(Address)> const &_getPassword, KeyManager &_keyman, std::function< bool(TransactionSkeleton const &, bool)> _getAuthorisation=std::function< bool(TransactionSkeleton const &, bool)>()) | |
| AddressHash | realAccounts () const override |
| TransactionNotification | authenticate (dev::eth::TransactionSkeleton const &_t) override |
| virtual bool | unlockAccount (Address const &_account, std::string const &_password, unsigned _duration) override |
| Automatically authenticate all transactions for the given account for the next _duration seconds. More... | |
Public Member Functions inherited from dev::eth::AccountHolder | |
| AccountHolder (std::function< Interface *()> const &_client) | |
| Addresses | allAccounts () const |
| bool | isRealAccount (Address const &_account) const |
| bool | isProxyAccount (Address const &_account) const |
| Address const & | defaultTransactAccount () const |
| int | addProxyAccount (Address const &_account) |
| bool | removeProxyAccount (unsigned _id) |
| void | queueTransaction (eth::TransactionSkeleton const &_transaction) |
| std::vector< eth::TransactionSkeleton > const & | queuedTransactions (int _id) const |
| void | clearQueue (int _id) |
Private Attributes | |
| std::function< std::string(Address)> | m_getPassword |
| std::function< bool(TransactionSkeleton const &, bool)> | m_getAuthorisation |
| KeyManager & | m_keyManager |
| std::map< Address, std::pair< std::chrono::steady_clock::time_point, unsigned > > | m_unlockedAccounts |
Additional Inherited Members | |
Protected Attributes inherited from dev::eth::AccountHolder | |
| std::function< Interface *()> | m_client |
Definition at line 108 of file AccountHolder.h.
|
inline |
Definition at line 111 of file AccountHolder.h.
|
overridevirtual |
Implements dev::eth::AccountHolder.
Definition at line 108 of file AccountHolder.cpp.
|
overridevirtual |
Implements dev::eth::AccountHolder.
Definition at line 103 of file AccountHolder.cpp.
|
overridevirtual |
Automatically authenticate all transactions for the given account for the next _duration seconds.
Decrypt the key with _password if needed.
Reimplemented from dev::eth::AccountHolder.
Definition at line 150 of file AccountHolder.cpp.
|
private |
Definition at line 125 of file AccountHolder.h.
|
private |
Definition at line 124 of file AccountHolder.h.
|
private |
Definition at line 126 of file AccountHolder.h.
|
private |
Definition at line 127 of file AccountHolder.h.
1.8.11