Validating Block's headers in parallel will be faster, but it's more complex. There are two kinds of checks, non-contextual and contextual. While the first can be easily done in parallel, the second type needs a more contextualized solution. Could you elaborate on the procedure?
Best regards,
For now, all hashes are downloaded and validated one-by-one in a linear way. It is fast enough for coins like Bitcoin where sha256d is quite fast to calculate. But for CPUchain, we have cpupower, which is much more complicated. So, my proposal is to implement it in a different way, for example we could validate many hashes in many different threads and do that in parallel, as it is currently done for transactions.
_______________________________________________
Cpuchain-dev mailing list -- cpuchain-dev@mailman3.com
To unsubscribe send an email to cpuchain-dev-leave@mailman3.com