diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-01-26 21:33:36 +0100 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-01-30 23:28:09 +0100 |
commit | 774a21394ab95bb3303bb99beb236570bafd5731 (patch) | |
tree | bf11d1355b6f726392441feb7d8eff360ae92d2e /src/wallet/api/wallet.h | |
parent | Merge pull request #1618 (diff) | |
download | monero-774a21394ab95bb3303bb99beb236570bafd5731.tar.xz |
Wallet API: Create wallet from keys
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.h | 5 |
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; |