Note this isn't really a problem if miners are responsible and
filter out the SatoshiDice flooding.My git repository contains a
"block_dice" branch to do just that.
I didn't read the code, but I hope it prevents blockchain spam in general and not just satoshiDice (1dice... addresses). Does it?