aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-12-13 13:51:11 +0200
committerRiccardo Spagni <ric@spagni.net>2014-12-13 13:51:14 +0200
commitf5c2a5ec9ce1156ab05aa3e9b35a55a68fe90f00 (patch)
treece8f72ce1f67a8594856ee403642dc549e82ae24 /src/simplewallet/simplewallet.h
parentMerge pull request #205 (diff)
parentAdd simple_wallet::seed_set_language method (diff)
downloadmonero-f5c2a5ec9ce1156ab05aa3e9b35a55a68fe90f00.tar.xz
Merge pull request #200
cfc8c55 Add simple_wallet::seed_set_language method (warptangent) 26b87df Add wallet2::verify_password method (warptangent)
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r--src/simplewallet/simplewallet.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h
index ebc85ed17..278df707b 100644
--- a/src/simplewallet/simplewallet.h
+++ b/src/simplewallet/simplewallet.h
@@ -81,6 +81,17 @@ namespace cryptonote
bool viewkey(const std::vector<std::string> &args = std::vector<std::string>());
bool seed(const std::vector<std::string> &args = std::vector<std::string>());
+
+ /*!
+ * \brief Sets seed language.
+ *
+ * interactive
+ * - prompts for password so wallet can be rewritten
+ * - calls get_mnemonic_language() which prompts for language
+ *
+ * \return success status
+ */
+ bool seed_set_language(const std::vector<std::string> &args = std::vector<std::string>());
bool help(const std::vector<std::string> &args = std::vector<std::string>());
bool start_mining(const std::vector<std::string> &args);
bool stop_mining(const std::vector<std::string> &args);
@@ -96,6 +107,7 @@ namespace cryptonote
);
bool print_address(const std::vector<std::string> &args = std::vector<std::string>());
bool save(const std::vector<std::string> &args);
+ bool set_variable(const std::vector<std::string> &args);
bool set_log(const std::vector<std::string> &args);
uint64_t get_daemon_blockchain_height(std::string& err);