aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/mnemonics.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* mnemonics: new Lojban word listWei Tang2017-09-261-1/+3
| | | | | | | Word list authored by: sorpaas Sources: lo gimste jo'u lo ma'oste (http://guskant.github.io/lojbo/gismu-cmavo.html) N-grams of Lojban corpus (https://mw.lojban.org/papri/N-grams_of_Lojban_corpus)
* mnemonics: new Esperanto word listmoneromooo-monero2017-08-141-1/+3
| | | | | | | | | Word list authored by: Engelberg, ProkhorZ Sources: Baza Radikaro Oficiala Reta Vortaro (http://www.reta-vortaro.de/revo/) Esperanto Panorama - Esperanto-English Dictionary (http://www.esperanto-panorama.net/vortaro/eoen.htm) ESPDIC - Paul Denisowski (http://www.denisowski.org/Esperanto/ESPDIC/espdic.txt)
* Fix overlooked renaming of Português in the unit testsNano Akron2017-05-071-2/+2
|
* Change Old_English to English_Old - 'Old English' is actually a languageNano Akron2017-04-241-1/+1
|
* Added Simplified Chinese electrum word listNano Akron2017-04-161-1/+3
|
* mnemonics: sanity checks for word listsmoneromooo-monero2017-03-251-1/+30
| | | | | | | and a test to go with it Remember to run the test when changing word lists, or simplewallet will throw uncaught if that word list is used.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* mnemonics: fix language detection with checksum wordmoneromooo-monero2017-01-151-0/+19
| | | | | | | | | | | | If a checksum word is present, language detection would use just the word prefixes. However, a set of word prefixes may be found in more than one language, and so the wrong language may be found first, which could then fail the checksum, since the check may be done with a different unique prefix length from the one it was created from. We now make a checksum test when we we detect a language from prefixes only, to make sure we have the correct one.
* Revert "Print stack trace upon exceptions"moneromooo-monero2016-03-211-1/+0
| | | | | | Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
* Print stack trace upon exceptionsmoneromooo-monero2016-03-191-0/+1
| | | | Useful for debugging users' logs
* unit_tests: fix mnemonics unit test testing invalid seedsmoneromooo-monero2016-02-011-13/+9
| | | | | | | | | Some word triplets, such as "mugged names nail", are not valid results from any 32 bit value. If used to decode a 32 bit value, the result will therefore encode to a different word triplet. Fix this by using random words converted from an actual random bitstring, ensuring we always get valid triplets.
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* removed unecessary mnemonics testRiccardo Spagni2014-10-151-13/+0
|
* Added unit test. Fails for Japanese for some reason.Oran Juice2014-10-081-0/+167