Closed patricklodder closed 8 years ago
I'll have to break down the maths into steps, can't see anything obvious unfortunately. Will take a look in depth tomorrow.
Should be fixed in commit 8a96492c806c8e72339e49a2e06cd54cd3ef9725 - can you please check and confirm I can close this?
I'm was trying to parse this block (not the only block this happens on and i suspect it happens on every block, but I get other errors as well): https://chain.so/block/DOGE/93a207e6d227f4d60ee64fad584b47255f654b0b6378d78e774123dd66f4fef9
and I got this error:
The cause is this check:
AuxPoW.java#L363-L373
which seems to be the same implementation asauxpow.cpp#L84-L90
with the exception of the cpp implementation being an unsigned int as opposed to a (signed) Long.Any ideas?