The distinction between whistleblowing and espionage is pretty clear. Espionage is done covertly for the benefit of a foreign power. Whistleblowing is done overtly and for the benefit of the public. You would have to be using a pretty stretched definition of "espionage" (like the one the US government uses) to think it has anything to do with whistleblowing.