Files
dragonx/src
Jack Grigg 704b76358d Use block hash comparison for consistency check when loading block index
The Equihash check caused block index loading to take around 38x longer.
However, we don't need to check it directly, as the only paths to writing a
block header to disk already go through a proof-of-work check (e.g. receiving a
block over the network). By forcing the block header inside the CBlockIndex to
be re-serialized, we retain the benefits of the consistency check without the
overhead at startup.

Co-authored-by: Brad Miller <brad@z.cash>
2018-02-27 00:47:56 +00:00
..
2015-11-04 23:48:07 +01:00
2012-04-27 10:14:33 -04:00
2017-11-28 16:43:13 +00:00
2017-12-16 15:52:08 -05:00
2018-02-23 18:20:30 -08:00
2018-02-23 15:15:46 -08:00
2017-12-20 00:46:33 +00:00
2017-03-03 10:57:05 -08:00
2016-07-15 19:57:55 -07:00
2017-08-03 18:49:04 +01:00
2017-08-03 16:32:41 +01:00
2016-09-08 21:46:15 -07:00
2017-12-20 00:46:33 +00:00
2017-12-20 00:46:33 +00:00
2016-09-09 00:22:18 -06:00
2015-05-01 11:21:27 +00:00
2016-10-20 00:36:32 +01:00
2018-02-20 04:22:21 +00:00
2017-03-24 09:03:59 +13:00
2017-08-01 20:24:27 +01:00
2018-02-23 00:12:10 -08:00
2017-03-24 09:03:59 +13:00
2014-12-19 19:55:32 +01:00
2015-05-01 11:21:27 +00:00
2017-07-28 10:50:07 +00:00
2017-07-28 10:50:07 +00:00
2014-12-19 19:55:32 +01:00
2016-09-08 12:22:08 +12:00
2017-01-23 17:06:54 +01:00
2017-01-23 17:06:54 +01:00
2017-03-24 09:03:59 +13:00
2018-01-29 12:19:19 -08:00
2017-03-24 09:03:59 +13:00
2017-03-24 09:03:59 +13:00
2015-05-16 17:59:23 -04:00
2017-06-24 19:49:41 +01:00
2017-05-05 11:24:48 -04:00
2014-12-19 19:55:32 +01:00
2016-10-25 19:48:38 +01:00
2017-03-25 20:22:12 +13:00
2016-08-13 11:12:18 -04:00
2017-11-23 00:05:21 -05:00
2014-12-19 19:55:32 +01:00