aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2017-01-30 17:09:38 -0600
committerluigi1111 <luigi1111w@gmail.com>2017-01-30 17:09:38 -0600
commit3cef7fbbb621e75b521ecfb0fa07b60aab2732ec (patch)
treed486f1bc0ff67964d285468708e55038475e11dd /src/wallet/api/wallet.h
parentMerge pull request 1648 (diff)
parentWallet API: Create wallet from keys (diff)
downloadmonero-3cef7fbbb621e75b521ecfb0fa07b60aab2732ec.tar.xz
Merge pull request 1635
774a213 Wallet API: Create wallet from keys (Jaqueeee)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index bee2342a2..16a7f5d95 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -58,6 +58,11 @@ public:
const std::string &language) const;
bool open(const std::string &path, const std::string &password);
bool recover(const std::string &path, const std::string &seed);
+ bool recoverFromKeys(const std::string &path,
+ const std::string &language,
+ const std::string &address_string,
+ const std::string &viewkey_string,
+ const std::string &spendkey_string = "");
bool close();
std::string seed() const;
std::string getSeedLanguage() const;