diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-06-04 18:59:47 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-06-12 19:05:51 -0400 |
commit | 4f382b383005d09f6056371d0fecdc8b6ce37a08 (patch) | |
tree | af6a07f7b59bb432891ec0bf47772e3517a17c1d /src/cryptonote_core | |
parent | added vim swap files to .gitignore (diff) | |
download | monero-4f382b383005d09f6056371d0fecdc8b6ce37a08.tar.xz |
most functions prototyped/modified for wallet recovery
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/account.cpp | 2 | ||||
-rw-r--r-- | src/cryptonote_core/account.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/account.cpp b/src/cryptonote_core/account.cpp index ba39b9b77..9a96de2f0 100644 --- a/src/cryptonote_core/account.cpp +++ b/src/cryptonote_core/account.cpp @@ -29,7 +29,7 @@ DISABLE_VS_WARNINGS(4244 4345) m_keys = account_keys(); } //----------------------------------------------------------------- - void account_base::generate() + void account_base::generate(const crypto::secret_key& recovery_key, bool recover) { generate_keys(m_keys.m_account_address.m_spend_public_key, m_keys.m_spend_secret_key); generate_keys(m_keys.m_account_address.m_view_public_key, m_keys.m_view_secret_key); diff --git a/src/cryptonote_core/account.h b/src/cryptonote_core/account.h index 8b525da97..96125eb27 100644 --- a/src/cryptonote_core/account.h +++ b/src/cryptonote_core/account.h @@ -31,7 +31,7 @@ namespace cryptonote { public: account_base(); - void generate(); + void generate(const crypto::secret_key& recovery_key, bool recover); const account_keys& get_keys() const; std::string get_public_address_str(); |