diff options
author | m2049r <30435443+m2049r@users.noreply.github.com> | 2018-01-11 16:12:27 +0100 |
---|---|---|
committer | m2049r <30435443+m2049r@users.noreply.github.com> | 2018-01-17 18:46:31 +0100 |
commit | 939629e837d744118acd1191bd08f8627c704402 (patch) | |
tree | 4c70094a7e8cf407383c5963fbfd801a25a434f9 /src/wallet/api/wallet.h | |
parent | Merge pull request #3091 (diff) | |
download | monero-939629e837d744118acd1191bd08f8627c704402.tar.xz |
Wallet API: all recover options with password
also renamed memo => mnemonic in api method parms
Diffstat (limited to '')
-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 01359ffc6..2ede5fdf6 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, |