Prepare for hardfork
This MR threads the blockheight to two functions that will need it post-fork: checkHeaderTarget
and (types.Transaction).SigHash
. No actual hardfork changes are included. Splitting the commits up like this means that the hardfork commit will be ~10 lines. The smaller the hardfork commit, the easier it will be for dissenting forks to maintain their code.