2
Why is the target converted to "Bits" and not stored in full in the block header?
For example, why:
{
"hash" : "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
"height" : 100000,
"bits" : "1b04864c",
"difficulty" : 14484.16236123,
}
and not:
{
"hash" : "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
"height" : 100000,
"target" : "000000000004864c000000000000000000000000000000000000000000000000",
"difficulty" : 14484.16236123,
}
Is it to save space?
1There isn't a need for that level of accuracy, but there is a need to conserve space in the header, because clients typically store the block headers in RAM. – morsecoder – 2015-04-03T18:55:58.210