The current behavior for invalid txns is to clear the snapshot cache and retry syncing. This is incredibly expensive, and should only be tried once, as trying repeatedly is unlikely to result in any progress. This PR adds some sadly global state for this so that we don't keep retrying, but halt after a single try and pause syncing until action is taken.
The current behavior for invalid txns is to clear the snapshot cache and retry syncing. This is incredibly expensive, and should only be tried once, as trying repeatedly is unlikely to result in any progress. This PR adds some sadly global state for this so that we don't keep retrying, but halt after a single try and pause syncing until action is taken.