|
| AbstractWallet (const std::string &walletName, const api::Currency ¤cy, const std::shared_ptr< WalletPool > &pool, const std::shared_ptr< DynamicObject > &configuration, const DerivationScheme &derivationScheme) |
|
std::shared_ptr< api::EventBus > | getEventBus () override |
|
std::shared_ptr< api::Preferences > | getPreferences () override |
|
bool | isInstanceOfBitcoinLikeWallet () override |
|
bool | isInstanceOfEthereumLikeWallet () override |
|
bool | isInstanceOfRippleLikeWallet () override |
|
std::shared_ptr< api::Logger > | getLogger () override |
|
api::WalletType | getWalletType () override |
|
std::shared_ptr< api::Preferences > | getAccountPreferences (int32_t index) override |
|
std::shared_ptr< WalletPool > | getPool () const |
|
std::shared_ptr< api::BitcoinLikeWallet > | asBitcoinLikeWallet () override |
|
api::Currency | getCurrency () override |
|
const api::Currency & | getCurrency () const |
|
std::string | getName () override |
|
void | getNextAccountIndex (const std::shared_ptr< api::I32Callback > &callback) override |
|
Future< int32_t > | getNextAccountIndex () |
|
Future< int32_t > | getAccountCount () |
|
void | getAccountCount (const std::shared_ptr< api::I32Callback > &callback) override |
|
void | getLastBlock (const std::shared_ptr< api::BlockCallback > &callback) override |
|
Future< api::Block > | getLastBlock () |
|
template<typename T > |
std::shared_ptr< T > | asInstanceOf () |
|
void | getAccount (int32_t index, const std::shared_ptr< api::AccountCallback > &callback) override |
|
FuturePtr< api::Account > | getAccount (int32_t index) |
|
void | getAccounts (int32_t offset, int32_t count, const std::shared_ptr< api::AccountListCallback > &callback) override |
|
Future< std::vector< std::shared_ptr< api::Account > > > | getAccounts (int32_t offset, int32_t count) |
|
void | getNextAccountCreationInfo (const std::shared_ptr< api::AccountCreationInfoCallback > &callback) override |
|
void | getNextExtendedKeyAccountCreationInfo (const std::shared_ptr< api::ExtendedKeyAccountCreationInfoCallback > &callback) override |
|
void | getAccountCreationInfo (int32_t accountIndex, const std::shared_ptr< api::AccountCreationInfoCallback > &callback) override |
|
void | getExtendedKeyAccountCreationInfo (int32_t accountIndex, const std::shared_ptr< api::ExtendedKeyAccountCreationInfoCallback > &callback) override |
|
void | newAccountWithInfo (const api::AccountCreationInfo &accountCreationInfo, const std::shared_ptr< api::AccountCallback > &callback) override |
|
void | newAccountWithExtendedKeyInfo (const api::ExtendedKeyAccountCreationInfo &extendedKeyAccountCreationInfo, const std::shared_ptr< api::AccountCallback > &callback) override |
|
void | eraseDataSince (const std::chrono::system_clock::time_point &date, const std::shared_ptr< api::ErrorCodeCallback > &callback) override |
|
Future< api::ErrorCode > | eraseDataSince (const std::chrono::system_clock::time_point &date) |
|
std::shared_ptr< api::DynamicObject > | getConfiguration () override |
|
Option< Amount > | getBalanceFromCache (size_t accountIndex) |
|
void | updateBalanceCache (size_t accountIndex, Amount balance) |
|
virtual FuturePtr< api::Account > | newAccountWithInfo (const api::AccountCreationInfo &info)=0 |
|
virtual FuturePtr< api::Account > | newAccountWithExtendedKeyInfo (const api::ExtendedKeyAccountCreationInfo &info)=0 |
|
virtual Future< api::ExtendedKeyAccountCreationInfo > | getExtendedKeyAccountCreationInfo (int32_t accountIndex)=0 |
|
virtual Future< api::AccountCreationInfo > | getAccountCreationInfo (int32_t accountIndex)=0 |
|
virtual Future< api::AccountCreationInfo > | getNextAccountCreationInfo () |
|
virtual Future< api::ExtendedKeyAccountCreationInfo > | getNextExtendedKeyAccountCreationInfo () |
|
virtual std::shared_ptr< Preferences > | getAccountExternalPreferences (int32_t index) |
|
virtual std::shared_ptr< Preferences > | getAccountInternalPreferences (int32_t index) |
|
virtual std::shared_ptr< Preferences > | getInternalPreferences () const |
|
virtual std::shared_ptr< Preferences > | getExternalPreferences () const |
|
virtual std::shared_ptr< EventPublisher > | getEventPublisher () const |
|
virtual std::shared_ptr< spdlog::logger > | logger () const |
|
virtual std::shared_ptr< DatabaseSessionPool > | getDatabase () const |
|
virtual std::shared_ptr< api::ExecutionContext > | getMainExecutionContext () const |
|
virtual std::string | getWalletUid () const |
|
virtual std::shared_ptr< DynamicObject > | getConfig () const |
|
virtual const DerivationScheme & | getDerivationScheme () const |
|
virtual void | getAccount (int32_t index, const std::shared_ptr< AccountCallback > &callback)=0 |
|
virtual void | getAccountCount (const std::shared_ptr< I32Callback > &callback)=0 |
|
virtual void | getAccounts (int32_t offset, int32_t count, const std::shared_ptr< AccountListCallback > &callback)=0 |
|
virtual void | getNextAccountIndex (const std::shared_ptr< I32Callback > &callback)=0 |
|
virtual bool | isSynchronizing ()=0 |
|
virtual std::shared_ptr< EventBus > | synchronize ()=0 |
|
virtual void | getLastBlock (const std::shared_ptr< BlockCallback > &callback)=0 |
|
virtual void | getAccountCreationInfo (int32_t accountIndex, const std::shared_ptr< AccountCreationInfoCallback > &callback)=0 |
|
virtual void | getExtendedKeyAccountCreationInfo (int32_t accountIndex, const std::shared_ptr< ExtendedKeyAccountCreationInfoCallback > &callback)=0 |
|
virtual void | getNextAccountCreationInfo (const std::shared_ptr< AccountCreationInfoCallback > &callback)=0 |
|
virtual void | getNextExtendedKeyAccountCreationInfo (const std::shared_ptr< ExtendedKeyAccountCreationInfoCallback > &callback)=0 |
|
virtual void | newAccountWithInfo (const AccountCreationInfo &accountCreationInfo, const std::shared_ptr< AccountCallback > &callback)=0 |
|
virtual void | newAccountWithExtendedKeyInfo (const ExtendedKeyAccountCreationInfo &extendedKeyAccountCreationInfo, const std::shared_ptr< AccountCallback > &callback)=0 |
|
virtual void | eraseDataSince (const std::chrono::system_clock::time_point &date, const std::shared_ptr< ErrorCodeCallback > &callback)=0 |
|
| DedicatedContext (const std::shared_ptr< api::ExecutionContext > &context) |
|
template<typename T > |
Future< T > | async (std::function< T()> f) |
|
template<typename T > |
Future< T > | async (std::function< T()> f) const |
|
Future< Unit > | run (std::function< void()> f) |
|
std::shared_ptr< api::ExecutionContext > | getContext () const |
|