aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-25 14:49:30 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-25 14:49:30 -0500
commit473d984d88294fe6820c52094d96a0abcb8e9a90 (patch)
tree69ac017b982c55d8ce4e2b2005320eb77deb79e4 /src/wallet/api/wallet_manager.h
parentMerge pull request #3677 (diff)
parentWallet API: add support for wallet creation from hardware device (diff)
downloadmonero-473d984d88294fe6820c52094d96a0abcb8e9a90.tar.xz
Merge pull request #3921
8fc0cdb wallet2: lower default for subaddress lookahead when restoring with hardware (stoffu) 248310d Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp (stoffu) 46e90b7 Wallet API: add support for wallet creation from hardware device (stoffu)
Diffstat (limited to 'src/wallet/api/wallet_manager.h')
-rw-r--r--src/wallet/api/wallet_manager.h6
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;