refactor POW definition
A POW is now defined by a function `f` and three degrees of freedom `f(iteration, scratchpad, mask)`. `f` is the base algorithm like `cryptonight, cryptonight_gpu` An easy to pars snytax to write the full POW definition down is: `cryptonight_gpu:0x0000c000:0x00200000:0x001fffc0` This change make it very easy to integrate the new trend of variate the number of iteations or the scratchpad size without modifying the full code.
Please register or sign in to comment