Wladimir J. van der Laan 07398e8e9d init: allow shutdown during 'Activating best chain...'
Two-line patch to make it possible to shut down bitcoind cleanly during
the initial ActivateBestChain.

Fixes #6459 (among other complaints).

To reproduce:

- shutdown bitcoind
- copy chainstate
- start bitcoind
- let the chain sync a bit
- shutdown bitcoind
- copy back old chainstate
- start bitcoind
- bitcoind will catch up with all blocks during Init()

(the `boost::this_thread::interruption_point` / `ShutdownRequested()`
dance is ugly, this should be refactored all over bitcoind at some point
when moving from boost::threads to c++11 threads, but it works...)
2016-04-06 10:33:19 +02:00
..
2015-12-13 18:08:39 +01:00
2015-11-04 23:46:47 +01:00
2015-12-13 18:08:39 +01:00
2016-02-29 13:34:09 -05:00
2016-03-17 17:00:45 +01:00
2015-12-13 18:08:39 +01:00
2016-03-09 10:10:36 +00:00
2015-12-13 18:08:39 +01:00
2016-01-05 14:11:40 +01:00
2016-01-05 14:11:40 +01:00
2016-03-15 16:54:38 +01:00
2016-03-18 19:55:16 +00:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-01-22 14:15:52 +01:00
2016-01-22 14:15:52 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-11-13 18:15:20 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-09-03 10:59:18 +02:00
2016-01-21 08:36:55 +11:00
2015-11-13 11:10:48 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-04-03 11:58:01 +02:00
2015-11-13 18:15:20 +01:00
2016-03-23 10:40:38 -04:00
2016-03-23 10:40:38 -04:00
2016-03-15 16:54:38 +01:00
2016-02-10 18:29:13 -08:00
2016-03-21 10:46:25 -04:00
2016-03-21 10:46:25 -04:00
2016-01-17 11:03:56 +00:00
2015-12-13 18:08:39 +01:00
2016-01-05 21:01:39 +01:00
2016-01-05 21:34:15 +01:00
2016-03-21 10:46:25 -04:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-01-05 21:01:39 +01:00
2015-11-12 17:58:15 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-03-18 08:03:55 +00:00
2016-01-05 21:01:39 +01:00
2016-03-11 15:04:05 +00:00
2016-03-11 15:04:05 +00:00
2015-12-13 18:08:39 +01:00
2015-12-13 18:08:39 +01:00
2016-03-21 10:46:25 -04:00
2016-03-15 16:54:38 +01:00