This PR resolves #27841 and some more:
Ensure that the snapshot height is higher than the pruned block height when the node is pruned (Suggested by @Sjors here).
Validate the correctness of the file path and check if the file already exists (@hazeycode's #27845).
Make network activity disablement optional for the user (Suggested by @Sjors here and here).
Ensure the
reconsiderblockcommand is triggered on exit (@hazeycode's same PR as above), even in the case of user interruption (Ctrl-C).
In order to perform some testing please follow the instructions in the description of previous @hazeycode's PR #27845.