aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-26 21:33:36 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-30 23:28:09 +0100
commit774a21394ab95bb3303bb99beb236570bafd5731 (patch)
treebf11d1355b6f726392441feb7d8eff360ae92d2e /src/wallet/api/wallet.h
parentMerge pull request #1618 (diff)
downloadmonero-774a21394ab95bb3303bb99beb236570bafd5731.tar.xz
Wallet API: Create wallet from keys
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;