aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/electrum-words.h
diff options
context:
space:
mode:
authorOran Juice <oranjuices@hotmail.com>2014-09-25 18:04:30 +0530
committerOran Juice <oranjuices@hotmail.com>2014-09-25 18:04:30 +0530
commita1ac92e185c49c5db0956bf4506f910fac5024e7 (patch)
tree73fc12156d4b9ff55e81113210af5aa8beb45e13 /src/mnemonics/electrum-words.h
parentCopies word lists directory to the location of the executable (diff)
downloadmonero-a1ac92e185c49c5db0956bf4506f910fac5024e7.tar.xz
Accepts seed language choice from user.
Diffstat (limited to 'src/mnemonics/electrum-words.h')
-rw-r--r--src/mnemonics/electrum-words.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mnemonics/electrum-words.h b/src/mnemonics/electrum-words.h
index 0ae01b6a6..4a3cdeb04 100644
--- a/src/mnemonics/electrum-words.h
+++ b/src/mnemonics/electrum-words.h
@@ -41,8 +41,9 @@ namespace crypto
{
namespace ElectrumWords
{
- void init(const std::string &language, bool old_word_list);
+ void init(const std::string &language, bool old_word_list=false);
bool words_to_bytes(const std::string& words, crypto::secret_key& dst);
bool bytes_to_words(const crypto::secret_key& src, std::string& words);
+ void get_language_list(std::vector<std::string> &languages);
}
}