monero/tests/unit_tests
moneromooo-monero f5f4109f9a
mnemonics: fix language detection with checksum word
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.
2017-01-15 11:16:25 +00:00
..
address_from_url.cpp make openalias also available for solo miner; introduce namespace tools::dns_utils; support integrated address with dns lookup 2016-12-21 23:12:15 +09:00
ban.cpp tests: fix tests builds after fluffy blocks merge 2016-11-11 18:17:16 +00:00
base58.cpp updated copyright year 2015-12-31 08:39:56 +02:00
block_reward.cpp tests: block reward: disable 64-bit-only tests on 32-bit systems 2016-09-04 03:36:10 -04:00
blockchain_db.cpp unit_tests: fix blockchain unit test after hard fork import fix 2016-02-08 20:58:43 +00:00
canonical_amounts.cpp updated copyright year 2015-12-31 08:39:56 +02:00
chacha8.cpp updated copyright year 2015-12-31 08:39:56 +02:00
checkpoints.cpp unit_tests: check adding checkpoints succeeded 2016-07-26 22:40:38 +01:00
CMakeLists.txt Adding HTTP Digest Auth (but not yet enabled) 2016-12-13 00:19:54 -05:00
command_line.cpp Added command_line::is_yes 2016-11-25 21:57:27 -05:00
decompose_amount_into_digits.cpp updated copyright year 2015-12-31 08:39:56 +02:00
dns_resolver.cpp updated copyright year 2015-12-31 08:39:56 +02:00
epee_boosted_tcp_server.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
epee_levin_protocol_handler_async.cpp tests: fix uninitialized data valgrind reports in levin tests 2016-11-20 17:51:17 +00:00
fee.cpp tests: fix another fee test on 32 bit 2016-11-13 12:21:52 +00:00
get_xtype_from_string.cpp updated copyright year 2015-12-31 08:39:56 +02:00
hardfork.cpp blockchain: allow marking "tx not found" without an exception 2017-01-07 20:52:17 +00:00
http_auth.cpp Added (not yet enabled) HTTP client authentication 2017-01-11 03:21:17 -05:00
main.cpp move g_test_dbg_lock_sleep from a global to a function level static 2016-02-22 19:34:09 +00:00
mnemonics.cpp mnemonics: fix language detection with checksum word 2017-01-15 11:16:25 +00:00
mul_div.cpp updated copyright year 2015-12-31 08:39:56 +02:00
output_selection.cpp wallet: cold wallet transaction signing 2016-09-27 07:46:39 +01:00
parse_amount.cpp updated copyright year 2015-12-31 08:39:56 +02:00
ringct.cpp ringct: luigi1111's changes to fix and speedup Borromean sigs 2016-12-04 21:54:16 +00:00
serialization.cpp portable serializer: tests added 2017-01-03 09:14:48 +09:00
slow_memmem.cpp Preliminary support for DragonFly BSD 2016-12-15 02:27:53 -08:00
test_format_utils.cpp updated copyright year 2015-12-31 08:39:56 +02:00
test_peerlist.cpp updated copyright year 2015-12-31 08:39:56 +02:00
test_protocol_pack.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
thread_group.cpp Added task_region - a fork/join task implementation 2016-11-23 14:41:25 -05:00
unbound.cpp tests: unbound API is only accessible in static builds 2016-04-02 16:02:18 +01:00
unit_tests_utils.h updated copyright year 2015-12-31 08:39:56 +02:00
uri.cpp tests: add unit tests for uri parsing 2016-11-28 17:54:28 +00:00
varint.cpp unit_tests: add a write_varint/read_varint test 2016-05-01 11:42:31 +01:00