aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-06-04 18:59:47 -0400
committerThomas Winget <tewinget@gmail.com>2014-06-12 19:05:51 -0400
commit4f382b383005d09f6056371d0fecdc8b6ce37a08 (patch)
treeaf6a07f7b59bb432891ec0bf47772e3517a17c1d /src/cryptonote_core
parentadded vim swap files to .gitignore (diff)
downloadmonero-4f382b383005d09f6056371d0fecdc8b6ce37a08.tar.xz
most functions prototyped/modified for wallet recovery
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/account.cpp2
-rw-r--r--src/cryptonote_core/account.h2
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();