diff options
author | stoffu <stoffu@protonmail.ch> | 2018-06-04 16:58:13 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-06-21 12:36:27 +0900 |
commit | 46e90b7780459007b6bb74423c99f92791de77b4 (patch) | |
tree | 7955a78473a36dcdf0aa868ddc2d274eba567855 /src/wallet/api/wallet_manager.h | |
parent | Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp (diff) | |
download | monero-46e90b7780459007b6bb74423c99f92791de77b4.tar.xz |
Wallet API: add support for wallet creation from hardware device
Diffstat (limited to 'src/wallet/api/wallet_manager.h')
-rw-r--r-- | src/wallet/api/wallet_manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet_manager.h b/src/wallet/api/wallet_manager.h index 26238b658..19aad9ee3 100644 --- a/src/wallet/api/wallet_manager.h +++ b/src/wallet/api/wallet_manager.h @@ -64,6 +64,12 @@ public: const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString = ""); + virtual Wallet * createWalletFromDevice(const std::string &path, + const std::string &password, + NetworkType nettype, + const std::string &deviceName, + uint64_t restoreHeight = 0, + const std::string &subaddressLookahead = "") override; virtual bool closeWallet(Wallet *wallet, bool store = true); bool walletExists(const std::string &path); bool verifyWalletPassword(const std::string &keys_file_name, const std::string &password, bool no_spend_key) const; |