def change_gap_limit(self, value):
        """This method is not called in the code, it is kept for console use"""
        value = int(value)
        if value >= self.min_acceptable_gap():
            self.gap_limit = value
            self.db.put('gap_limit', self.gap_limit)
            self.save_db()
            return True
        else:
            return False
This method is not called in the code, it is kept for console use
electrum/wallet.py