This article explains Bitcoin mining in details, right down to the hex data and network traffic. If you’bitcoin download block chain faster ever wondered what really happens in Bitcoin mining, you’ve come to the right place.
The block header contains a handful of fields that describe the block. The first field in the block is the protocol version. It is followed by the hash of the previous block in the blockchain, which ensures all the blocks form an unbroken sequence in the blockchain. Inconveniently, the hash is reversed in the header.