Open zhanzhenzhen opened 6 years ago
I found a small issue in this repo when improving POW check in my bitcore-lib-crown repo.
In line 120 of chainparams.cpp,
bnProofOfWorkLimit = ~arith_uint256(0) >> 32; // Crown starting difficulty is 1 / 2^12
This must be introduced by dash, because Dash code is:
https://github.com/Crowndev/crowncoin/blob/9c40441a7ba6dfaf19be5c987c219fc89cce539b/src/chainparams.cpp#L125
Because crown starting difficulty is 1, unlike Dash's 1/4096, so I think the comment should be:
bnProofOfWorkLimit = ~arith_uint256(0) >> 32; // Crown starting difficulty is 1 / 2^0
Just sent a pull request.
@walkjivefly Can this be closed?
I found a small issue in this repo when improving POW check in my bitcore-lib-crown repo.
In line 120 of chainparams.cpp,
This must be introduced by dash, because Dash code is:
https://github.com/Crowndev/crowncoin/blob/9c40441a7ba6dfaf19be5c987c219fc89cce539b/src/chainparams.cpp#L125
Because crown starting difficulty is 1, unlike Dash's 1/4096, so I think the comment should be: