monero/src/cryptonote_core
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
..
2016-03-25 09:12:25 +02:00
2016-03-25 09:12:25 +02:00
2016-08-28 21:28:18 +01:00
2015-12-31 08:39:56 +02:00
2015-12-31 08:39:56 +02:00
2016-08-28 22:50:18 +02:00
2015-12-31 08:39:56 +02:00
2016-03-25 09:12:25 +02:00
2016-03-25 09:12:25 +02:00
2016-08-12 20:32:23 +01:00
2016-08-12 20:32:23 +01:00
2015-12-31 08:39:56 +02:00