code: func (historyDB *historyDB) ShouldRecover(lastAvailableBlock uint64) (bool, uint64, error) {
  	if !ledgerconfig.IsHistoryDBEnabled() {
  		return false, 0, nil
  	}
  	savepoint, err := historyDB.GetLastSavepoint()
  	if err != nil {
  		return false, 0, err
  	}
  	if savepoint == nil {
  		return true, 0, nil
  	}
  	return savepoint.BlockNum != lastAvailableBlock, savepoint.BlockNum + 1, nil
  }
docs: // ShouldRecover implements method in interface kvledger.Recoverer