mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-24 04:47:19 +01:00
If the snapshot is not an ancestor of the most-work header (m_best_header), syncing from that alternative chain should be prioritised. Therefore don't accept loading a snapshot in this situation. If that other chain turns out to be invalid, m_best_header would be reset and loading the snapshot should be possible again. Because of the work required to generate a conflicting headers chain, this should only be possible under extreme circumstances, such as major forks.
29 KiB
Executable File
29 KiB
Executable File