Hi:
Giving Sia target is 32 bytes, I am confused that the source code only uses the first 8 bytes. I extract the code where initialize, compute and compare target.
// Copy target to header.
for (i = 0; i < 8; i++) {
blockHeader[i + 32] = target[7-i];
}
Hi: Giving Sia target is 32 bytes, I am confused that the source code only uses the first 8 bytes. I extract the code where initialize, compute and compare target.
ulong target = headerIn[4];
I believe the code is correct. Is there a theory behind this? Thanks!