Overview of block chains

Time:2019-09-18 20:23:53View:350 Anadromous chain

The block chain originated in Bitcoin. On November 1, 2008, a person who claimed to be Satoshi(Nakamoto) published Bitcoin: A Point-to-Point Electronic Cash System. This paper expounds the architecture concept of electronic cash system based on P2P network technology, encryption technology, timestamp technology, block chain technology, etc., which marks the birth of Bitcoin. Two months later, the theory entered practice. On January 3, 2009, the first creation block with a serial number of 0 was born. A few days later, on January 9, 2009, a block with a serial number of 1 appeared and was linked to a creation block with a serial number of 0 to form a chain, marking the birth of the block chain.

With the development of block chain technology, there is a basic principle, in which the basic structure of the block consists of four parts, namely the block separator, the block size, the block head, and the block body. The size of the block determines the number of transactions that can be recorded in the block. The head of the block is used to link the blocks next to it. All transactions that need to be verified are recorded in the block.
Block separator(4 bytes)
Block size(4 bytes)
Block head(80 bytes)
Block body(uncertain)
Basic structure of blocks
The block head consists of the following six parts: block version number, parent block hash value, Merkle tree root value, timestamp, target value, and random number. The block head implements links between adjacent blocks through the parent block hash value.
Block version number(4 bytes) parent block hash value(32 bytes)
Merkle tree root value(32 bytes) time stamp(4 bytes)
Target value(4 bytes) Random number(4 bytes)
Block head
The block body consists of two parts, namely the block transaction record and the details of each transaction record. The block transaction record is as follows:
Asset version number(4 bytes) Number of sent transactions(greater 1 byte)
Number of transactions received(greater than 1 byte) Asset send address(greater than 40 bytes)
Asset receiving address(greater than 40 bytes) transaction timestamp(4 bytes)
Transaction Records

Recommended Reading