I'm a bit puzzled about the ethereum.org/token example which states further down in the advanced examples that it can be coupled to proof-of-work. I really like the idea of mining a token. The example looks something like this:
function giveBlockReward() {
balanceOf[block.coinbase] += 1;
}
Now my question is, this looks like a honeypot for malicious inflation. Isn't it possible to execute giveBlockReward()
multiple times per block? Would a simple mechanism to make sanity checks on blocknumber be sufficient to make this possible?