weighted rewards

https://bitcointalk.org/index.php?topic=348060.msg3872137#msg3872137