Refactor proof of work related functions out of main
move pow constants to chainparams
Merge pull request #3839

fd704c7 move pow constants to chainparams (jtimon)
df852d2 Refactor proof of work related functions out of main (jtimon)