diff options
author | warptangent <warptangent@inbox.com> | 2014-12-06 01:59:13 -0800 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2014-12-06 02:05:50 -0800 |
commit | 1beedb9dd4633f7e365f470f9dbddc8596b1ee75 (patch) | |
tree | 8f1b2a6ee6d364ae396ecbb2b1a825bcce780d64 /src/wallet/wallet2.h | |
parent | indentation (diff) | |
download | monero-1beedb9dd4633f7e365f470f9dbddc8596b1ee75.tar.xz |
Extract check for deterministic keys to wallet2::is_deterministic()
It's cleaner for wallet2.cpp and it also allows deterministic check by
simplewallet.cpp.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index bcd7ce6f7..f22c5d79d 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -168,6 +168,10 @@ namespace tools i_wallet2_callback* callback() const { return m_callback; } void callback(i_wallet2_callback* callback) { m_callback = callback; } + /*! + * \brief Checks if deterministic wallet + */ + bool is_deterministic(); bool get_seed(std::string& electrum_words); /*! * \brief Gets the seed language |