Ethereum Sharding Explained

Ethereum Sharding Explained

Sharding is a proposed solution to Ethereum’s scalability problem. Sharding breaks a blockchain into several smaller chains called shards. When necessary, shards communicate with one another through the main chain.

Scalability problem

Currently, scalability is the stumbling block of most blockchains. Scalability is the capacity of a network to handle a growing number of transactions.

Scalability of a blockchain network does not have anything to do with the number of its nodes. A large number of nodes provide a high level of network security in that an attack on such network is only successful if attackers control more computing power that the rest of the network. Security is not scalability.

The problem with existing blockchains is that every node in a blockchain network processes each transaction, which puts big constraints on the overall transaction throughput. A blockchain is only as fast as its individual node, and a bigger number of nodes does not in any way alleviate this issue.

Ethereum sharding

Sharding is not a new concept and generally refers to a partitioning of data in a database, i.e. dividing data into chunks and distributing them over a network of devices.

A sharded blockchain uses a system of blockchains (shards) that can talk to each other using a cross-shard protocol. Each shard operates like a regular blockchain unless a transaction occurs between addresses situated in different shards. In this case, the intermediate cross-shard protocol helps two shards settle the transaction.

Ethereum sharding divides the Ethereum blockchain into a beacon chain (the cross-shard protocol) and shard chains. The beacon chain is the main Proof-of-Stake chain, and shard chains, also PoS, contain transactions and contract code.

eacon chain contains a contract called Validator Registration Contract. When a node sends 32 ETH to this contract, they become a validator, a participant of the Casper PoS consensus system. The group of all active validators is called Active Validator Set.

The beacon chain assigns validators to shards by way of random sampling, so no validator knows beforehand which shard they will get. Therefore, they will not be able to execute a cooperated Single-Shard Takeover Attack.

A group of randomly sampled validators called a committee attests a crosslink from each shard and sends it to the beacon chain. A crosslink contains short information about the state of a shard. Crosslinks are created by proposers (or collators), and are the main means by which beacon chain learns about the state of shard chains.

So, to summarize, the beacon chain:

  • manages and samples validators for shards;
  • processes crosslinks;
  • processes its own block-by-block consensus.

Shard chains:

  • store transaction data and code;
  • report to the beacon chain by means of crosslinks.

Conclusion

Ethereum sharding is yet far from being ready and the actual implementation of sharding mechanism may be different from the one described above. Some people believe that Ethereum will adopt a super-quadratic sharding model, where shards have their own mini-shards, but that remains only a concept for now.

Useful links

Ethereum

ETH
Price
272.72 USD 0.71%
0.03118000 BTC 2.16%
Volume, 24h
2,405,210,584 USD
0.00%
Marketcap
28,549,930,014 USD
10%
Emission

Related news

Ethereum Price Prediction Today: Daily (ETH) Value Forecast – June 17

The ETH market had been trading between the levels of $240 and $280. On the upside, if the bulls break the $280 price level, ETH market will revisit the previous highs of $300 and $320. ETH /USD Medium-term Trend: Ranging Resistance Levels: $260, $280, $300 Support Levels: $240, $220, $200 Last week the price of […]
Bitcoin Exchange Guide

Ethereum (ETH) Price Remains In Uptrend: Break Above $280 Imminent

ETH price remained in a positive zone and recently traded above the $275 resistance against the US Dollar. The price is currently correcting lower, but it remains well supported near $265 and $262. There is a major bullish trend line forming with support near $266 on the hourly chart of ETH/USD (data feed via Kraken). The pair is likely to grind higher and it might soon surpass the $278 and $280 resistances. Ethereum price gained bullish momentum above $265 versus the US Dollar, but declined vs bitcoin. ETH price remains in a positive zone, with high chances of an upside break above $280. Ethereum Price Analysis In the past few days, there was a steady rise in Ethereum price above the $250 resistance against the US Dollar. The ETH/USD pair cleared the $265 resistance area and the 100 hourly simple moving average. Recently, the price even cleared the $270 and $275 resistance levels. A new monthly high was formed near $279 before the price started a downside correction. There was a sharp downside correction below the $275 and $270 levels. The price even spiked below the $265 level, but the 100 hourly simple moving average acted as a strong support. Moreover, there is a major bullish trend line forming with support near $266 on the hourly chart of ETH/USD. The pair bounced back above $268, and the 50% Fib retracement level of the last slide from the $279 high to $263 low. However, the upward move was capped by the $272-274 zone. It seems like the 61.8% Fib retracement level of the last slide from the $279 high to $263 low is acting as a resistance. The price already made two attempts to clear $272 and it is currently moving lower. On the downside, the price remains well supported near the $268 and $266 levels. The trend line support and the 100 hourly SMA near $264 are crucial barriers for sellers. As long as the price is above $264, it is likely to bounce back. A clear break above the $272 level may perhaps push the price further higher. Looking at the chart, Ethereum price is clearly trading with a positive bias above the $260 and $264 levels. On the upside, a break above the $272 level might call for more gains above $275 and $278. Once the price surpasses the $280 barrier, it could rally towards $288 and $292 in the coming sessions. ETH Technical Indicators Hourly MACD – The MACD for ETH/USD is about to move back in the bullish zone, with positive signs. Hourly RSI – The RSI for ETH/USD is still above the 50 level, with a few positive signs. Major Support Level – $264 Major Resistance Level – $278 Ethereum (ETH) Price Remains In Uptrend: Break Above $280 Imminent was last modified: June 17th, 2019 by Aayush JindalThe post Ethereum (ETH) Price Remains In Uptrend: Break Above $280 Imminent appeared first on NewsBTC.
NewsBTC/analysis

Hot news

By continuing to browse, you agree to the use of cookies. Read Privacy Policy to know more or withdraw your consent.