HomeBitcoinproblem retargetting - Recalculating the goal and truncating

problem retargetting – Recalculating the goal and truncating

The goal on the block at top 32,255 was:


After the adjustment, the goal on the next block at top 32,256 was:


The time between block 30,240 and block 30,255 was 1022578 seconds. If we divide this by the anticipated time over 2016 blocks we get a ratio of:

1022578 / 1209600 = 0.84538525132275

If we multiply the earlier goal by this ratio to get the brand new goal, we get:

0x00000000ffff0000000000000000000000000000000000000000000000000000 * 0.84538525132275 =

What are the principles for truncating this consequence to get the goal as saved the within the block header?

I perceive that the goal is transformed to bits and loses some precision, however why is it that we’re solely together with the primary two vital bytes of d86a once we may embrace the three bytes of d86a52 within the bits area?



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments