Why there is no block index or block height included in the block header?

Why there is no block index or block height included in the block header?

Why block index or block height is not included in the block header?
Do we have to go through the whole chain if we want to know how many blocks are there in a chain?
On the other hand, if some blocks have the same hash, how to find them and get their content individually?

https://ift.tt/2HYtoEP

Comments

Popular posts from this blog

How do 'Sphinx' invoice-less payments on the Lightning Network work?

How public key is calculated from a base58 encoded private key?

QUESTION ABOUT SLOW API