This addresses two outstanding comments by ryanofsky from #25574:
- return
ChainstateLoadStatus::INTERRUPTEDinstead ofChainstateLoadStatus::SUCCESSif verification was stopped by an interrupt. This would coincide with straightforward expectation, and it avoids a misleading log entry ininitfor the block index load time (because that would include the verificiation, which didn't complete). It shouldn't affect node behavior otherwise because the shutdown signal would be caught in init anyway. In test, this would lead to an assert (link), which also makes more sense because benign interrupts are not expected there during init. This can be tested by setting a large value for-checkblocks, interrupting the node during block verification and observing the log. #25574 (review) - add documentation for
require_full_verification#25574 (review)