diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-01-27 17:24:07 -0800 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-01-27 17:24:08 -0800 |
commit | 087a77324770e512eaa8417fb30b9110639783c9 (patch) | |
tree | b14c597ff76e97d22c835c78abf9c2add878e6e1 /src/wallet/api/wallet.h | |
parent | Merge pull request #3102 (diff) | |
parent | Wallet API: all recover options with password (diff) | |
download | monero-087a77324770e512eaa8417fb30b9110639783c9.tar.xz |
Merge pull request #3104
939629e8 Wallet API: all recover options with password (m2049r)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 213b90b36..fcd53c3f8 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -59,7 +59,18 @@ public: bool createWatchOnly(const std::string &path, const std::string &password, const std::string &language) const; bool open(const std::string &path, const std::string &password); + bool recover(const std::string &path,const std::string &password, + const std::string &seed); + bool recoverFromKeysWithPassword(const std::string &path, + const std::string &password, + const std::string &language, + const std::string &address_string, + const std::string &viewkey_string, + const std::string &spendkey_string = ""); + // following two methods are deprecated since they create passwordless wallets + // use the two equivalent methods above bool recover(const std::string &path, const std::string &seed); + // deprecated: use recoverFromKeysWithPassword() instead bool recoverFromKeys(const std::string &path, const std::string &language, const std::string &address_string, |