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

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

Is there any python library could be used to decodescript in output

How to discover startup flags or command-line options for bitcoind?