When Bitcoin was launched, the idea of random block rewards was not considered because the block reward was fixed (although halving at predetermined blocks).
Since then a number of alt coins have been launched that include random block rewards. Unfortunately, some of the coders have implemented the random block rewards in a rather sloppy way, leaving it vulnerable to exploitation by miscreants like myself ;-) and others.
Rather name the coins that are vulnerable, let’s just consider one.
Here’s a great post by DisappointedShibe
The "random" DOGE rewards per block are not random. In fact, the value of each block is predetermined by a simple equation applied to the hash of the previous block. A creative miner can take advantage of this fact to mine dogecoin when the potential reward is high, and switch to litecoin when the potential reward is low. During some rounds, the reward is so small it isn't worth the electricity spent finding it; during more rounds, the reward is less than can be earned mining LTC; in a few rounds, the reward is spectacular. Honest miners mine with the expectation of earning an average of 500,000 DOGE per block, but when people are selectively mining the high-profit DOGE rounds, the average reward falls for honest miners.
http://www.reddit.com/r/dogemining/comments/1x1p76/something_is_rotten_in_the_state_of_doge_mining/I’ve not checked if the Dogecoin vulnerability has been fixed yet, but coders of other coins with random block rewards should consider if their coin is vulnerable to exploitation too.