aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorOran Juice <oranjuices@hotmail.com>2014-10-19 01:00:18 +0530
committerOran Juice <oranjuices@hotmail.com>2014-10-19 01:00:18 +0530
commit031ca23ce9adcdb802097f93017e4acab87d4b37 (patch)
tree50fa0c7563748b94a7c8b917f76a31d327276065 /src/wallet/wallet2.h
parentDoxygen comments in (diff)
downloadmonero-031ca23ce9adcdb802097f93017e4acab87d4b37.tar.xz
Rewrites to old wallet file correctly
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index c3dfa4df6..90b0ec331 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -133,7 +133,10 @@ namespace tools
END_SERIALIZE()
};
- crypto::secret_key generate(const std::string& wallet, const std::string& password, const crypto::secret_key& recovery_param = crypto::secret_key(), bool recover = false, bool two_random = false);
+ crypto::secret_key generate(const std::string& wallet, const std::string& password,
+ const crypto::secret_key& recovery_param = crypto::secret_key(), bool recover = false,
+ bool two_random = false);
+ void rewrite(const std::string& wallet_name, const std::string& password);
void load(const std::string& wallet, const std::string& password);
void store();
cryptonote::account_base& get_account(){return m_account;}