Fix rounded stake reward and stake reward for <1 tx.
Merge branch 'sapphire'
Add checkpoints.