Extract check for deterministic keys to wallet2::is_deterministic()
It's cleaner for wallet2.cpp and it also allows deterministic check by simplewallet.cpp.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user