danicoin/tests/unit_tests
moneromooo-monero 6cf8ca2a7f
core: faster find_blockchain_supplement
Since this queries block heights for blocks that may or may not
exist, queries for non existing blocks would throw an exception,
and that would slow down the loop a lot. 7 seconds to go through
a 30 hash list.

Fix this by adding an optional return block height to block_exists
and using this instead. Actual errors will still throw an
exception.

This also cuts down on log exception spam.
2016-08-31 10:03:32 +01:00
..
address_from_url.cpp unit_tests: update test openalias address 2016-02-23 23:12:55 +00:00
ban.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
base58.cpp updated copyright year 2015-12-31 08:39:56 +02:00
block_reward.cpp updated copyright year 2015-12-31 08:39:56 +02: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 tests: add tests for wallet output selection 2016-08-28 21:29:34 +01: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 a bitflag test typo 2016-07-26 22:40:46 +01:00
get_xtype_from_string.cpp updated copyright year 2015-12-31 08:39:56 +02:00
hardfork.cpp core: faster find_blockchain_supplement 2016-08-31 10:03:32 +01: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 Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
mul_div.cpp updated copyright year 2015-12-31 08:39:56 +02:00
output_selection.cpp wallet: do not store signatures in the wallet cache 2016-08-28 21:30:10 +01:00
parse_amount.cpp updated copyright year 2015-12-31 08:39:56 +02:00
ringct.cpp rct amount key modified as per luigi1111's recommendations 2016-08-28 21:30:19 +01:00
serialization.cpp rct: rework v2 txes into prunable and non prunable data 2016-08-28 21:30:18 +01:00
slow_memmem.cpp OpenBSD support for Monero. 2016-01-21 11:18:26 -07: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
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
varint.cpp unit_tests: add a write_varint/read_varint test 2016-05-01 11:42:31 +01:00