BTC

-0.80%

$63915.03
LTC

-0.74%

$80.96
BCH

-0.11%

$477.93
FIL

-0.46%

$6.1599
XCH

-0.84%

$30.4731
ETC

-0.50%

$26.1045

Help Center

Get to know the six layers of blockchain and understand the mining principles

The blockchain architecture is divided into six layers from bottom to top, that is: data layer, network layer, consensus layer, incentive layer, contract layer, and application layer. Each layer fulfils different core functions, and all layer work with each other to achieve a decentralized trust mechanism.

1.jpg

In the case of blockchain architecture's distributed network, each network participant maintains, authorizes and updates new entries. The blockchain architecture is divided into six layers from bottom to top, that is: data layer, network layer, consensus layer, incentive layer, contract layer, and application layer. Each layer fulfils different core functions, and all layer work with each other to achieve a decentralized trust mechanism.

·Data Layer

The data layer can be construed as a database, but for blockchain, this database is a tamper-proof and distributed database, which mainly enables two functions: data storage, and security of accounts and transactions.

The data layer mainly describes the physical form of blockchain and is a chain structure starting from Genesis block on the blockchain, which contains block data and chain structure on the blockchain, random number, time stamp, public key and private key data on the blocks, and is the underlying data structure in the whole blockchain technology.

·Network Layer

Once the data is combined in sequence, how do other nodes in the network know about it? This requires the network layer to enable the information exchange among the blockchain nodes.

The network layer mainly enables the mechanism of distributed network through P2P technology. The network layer includes P2P networking mechanism, data transmission mechanism and data validation mechanism. Therefore, blockchain is essentially a P2P network with automatic networking mechanism, and communication among nodes is maintained by maintaining a common blockchain structure. Each node both receives and generates information.

·Consensus Layer

If each node on the blockchain can generate a new block to fulfill bookkeeping, the entire bookkeeping system is prone to chaos. The consensus layer allows highly dispersed nodes in a P2P network to reach a consensus on the validity of block data.

Consensus, in short, means that the whole network should maintain and update the general ledger of the blockchain system according to the rules for updating data with consensus.

From the perspective of mining, the network decides which miner is responsible for writing to the block according to the consensus mechanism, thus the consensus mechanism is also the principle of mining.

·Contract Layer

Blockchain is programmable, based on the fact that its contract layer encapsulates various scripts, codes, algorithmic mechanisms and smart contracts, enabling the positive automatic execution of various instructions.

Take smart contract as an example, which is a section of codes stored on a blockchain that can be executed automatically without a third party if certain constraints are met, which is the foundation of enabling trust in blockchain. Replacing people with programmed algorithms to arbitrate and execute contracts will save us huge trust cost.

 ·Incentive Layer

As can be seen from the above, by data layer, network layer and consensus layer, blockchain ensures the existence of data, network and rules for updating data on the network. However, as the saying goes, “there is no free lunch”. How to make nodes actively participate in the maintenance of blockchain system? This is where incentive comes in.

The incentive layer mainly consists of the issuance system and distribution system of economic incentives. Its function is to provide certain incentive measures to encourage nodes to participate in the security validation in the blockchain, incorporate economic factors into the blockchain technology system, motivate nodes that participate in the bookkeeping in compliance with the rules, and punish nodes that fail in complying with the rules.

Mining in Bitcoin, for example, is about recording transaction information, and the Bitcoin network encourages miners to participate in bookkeeping by rewarding them with BTC tokens.

·Application Layer

The application layer of blockchain encapsulates various application scenarios and cases, similar to applications on computer operating systems, portals on Internet browsers, search engines, e-malls or APPs on mobile phones.

BTC
Shut Down
Issue amount 21000000
24 hours volume 972.49K
24 hours turnover $ 68.19B
Market Direction Short
Panic Index 78 (Extremely greedy)
Swap Rate 4.94%
Market Value Proportion 51.42%
market value $ 6,498.22 x 100 million
24 hour increase -0.80%
Computing power 641.14 EH/s
daily output 0.00000146 BTC / T
Halving time

The public chain will have a halving cycle to maintain the value of the currency, and the market will rise sharply after halving in history.

Completed
Earnings volatility

The computing power of the entire network is due to the increase and decrease of mining machines, which affects the average distribution of revenue. If the computing power decreases, the average revenue will increase, and if the computing power increases, the average revenue decreases.

0%
LTC
Shut Down
Issue amount 84000000
24 hours volume 21.50M
24 hours turnover $ 2.04B
Market Direction Short
Swap Rate 28.92%
Market Value Proportion 0.26%
market value $ 33.15 x 100 million
24 hour increase -0.74%
Computing power 962.96 TH/s
daily output 0.00000367 LTC / M
Halving time

The public chain will have a halving cycle to maintain the value of the currency, and the market will rise sharply after halving in history.

No halving expected
Earnings volatility

The computing power of the entire network is due to the increase and decrease of mining machines, which affects the average distribution of revenue. If the computing power decreases, the average revenue will increase, and if the computing power increases, the average revenue decreases.

0%
BCH
Shut Down
Issue amount 21000000
24 hours volume 3.75M
24 hours turnover $ 1.88B
Market Direction Short
Swap Rate 19.06%
Market Value Proportion 0.39%
market value $ 48.56 x 100 million
24 hour increase -0.11%
Computing power 2.28 EH/s
daily output 0.00026007 BCH / T
Halving time

The public chain will have a halving cycle to maintain the value of the currency, and the market will rise sharply after halving in history.

Completed
Earnings volatility

The computing power of the entire network is due to the increase and decrease of mining machines, which affects the average distribution of revenue. If the computing power decreases, the average revenue will increase, and if the computing power increases, the average revenue decreases.

0%
FIL
Shut Down
Issue amount 2000000000
24 hours volume 134.20M
24 hours turnover $ 1.25B
Market Direction Short
Swap Rate 25.43%
Market Value Proportion 0.18%
market value $ 57.70 x 100 million
24 hour increase -0.46%
Computing power 22.63EiB
daily output 0.00477766 FIL / TiB
Halving time

The public chain will have a halving cycle to maintain the value of the currency, and the market will rise sharply after halving in history.

No halving expected
Earnings volatility

The computing power of the entire network is due to the increase and decrease of mining machines, which affects the average distribution of revenue. If the computing power decreases, the average revenue will increase, and if the computing power increases, the average revenue decreases.

0%
XCH
Shut Down
Issue amount 31234162
24 hours volume 619.57K
24 hours turnover $ 26.36M
Market Direction Short
Swap Rate 9.36%
Market Value Proportion 0.01%
market value $ 4.50 x 100 million
24 hour increase -0.84%
Computing power 14912.60839843 PiB
daily output 0.00014061 XCH / TiB
Halving time

The public chain will have a halving cycle to maintain the value of the currency, and the market will rise sharply after halving in history.

No halving expected
Earnings volatility

The computing power of the entire network is due to the increase and decrease of mining machines, which affects the average distribution of revenue. If the computing power decreases, the average revenue will increase, and if the computing power increases, the average revenue decreases.

0%
ETC
Shut Down
Issue amount 210700000
24 hours volume 31.82M
24 hours turnover $ 799.17M
Market Direction Short
Swap Rate 23.14%
Market Value Proportion 0.33%
market value $ 26.46 x 100 million
24 hour increase -0.50%
Computing power 163.31 TH/s
daily output 0.00009611 ETC / M
Halving time

The public chain will have a halving cycle to maintain the value of the currency, and the market will rise sharply after halving in history.

No halving expected
Earnings volatility

The computing power of the entire network is due to the increase and decrease of mining machines, which affects the average distribution of revenue. If the computing power decreases, the average revenue will increase, and if the computing power increases, the average revenue decreases.

0%
hide
New payment password
Confirm the new password
Email verification code
Cannot receive a CAPTCHA?