All posts in " Sharding "

Ethereum Roadmap Update [2019]: Casper & Sharding Release Date

By Shawn Dexter / January 15, 2019

In this post Shawn discusses the recent Ethereum Update in regard to their roadmap for Casper & Sharding. Casper FFG with the 1500 ETH minimum stake will be removed from the Ethereum Roadmap and replaced with Casper v2 implementing a beacon chain. Shawn also provides us with estimates for the updated Ethereum Casper release dates

Ethereum Roadmap 2019:  Updates, Changes & Release 

If it’s been awhile since you last checked the Ethereum Roadmap – then oh boy, you’re in for some surprises. A lot has changed since the beginning of 2018 and even 2019!. We've seen sudden delays, timelines  extended and priorities have shifted (rightfully so…).

The biggest one of date has been the postponing of Ethereum's Constantinople Update for 2019. However Ethereum has also unveiled a "new" roadmap called Ethereum 2.0.

The most recent Ethereum updates have a lot of people confused. I don’t blame them. Crucial updates are found buried in comment sections across various forums and news websites have been vague. It's hard to keep up. 

Ethereum Roadmap:  Updates & Delays!

The recent delays and roadmap changes have created some confusion. Several people are misunderstanding Ethereum 2.0 – and I don't really blame them.

In this post, we will clear out any confusion in regard Ethereum 2.0 roadmap update (Serenity), the Constantinople Delay, the expected ETH PoS date and any other updates on Ethereum's Serenity release.

NoteThis post has been updated as of January 17th 2019 – and a lot may change from now. In the beginning of this article we discuss the roadmap update for Ethereum – which includes the big Serenity Release. We then discuss a keystone of the roadmap & Serenity – the Constantinople update and its delay in 2019.

Further down in this article we discuss Ethereum's casper release date estimations and why the release of POS has been pushed back. 

Ethereum Roadmap: Ethereum 2.0,  Constantinople & Serenity

Ethereum 2.0

Ethereum unveiled their new roadmap and dubbed it "Ethereum 2.0". But everyone seems to be misunderstanding the concept behind Ethereum 2.0. In fact, the core team has been receiving criticism for changing their minds too often. In truth, plans haven't changed much at all – they are simply more defined.

Ethereum 2.0 won't be a single big update release. Instead, it will be a series of updates that will lead to a more efficient, faster & scalable Ethereum.

Ethereum 2.0: Solving The Trilemma

Some of the major updates that will be included in Ethereum 2.0 will be:

  1. Sharding 
  2.  Proof Of Stake & Beacon Chain
  3.  eWasm.
Ethereum Roadmap Update Ethereum 2.0 2019

Ethereum 2.0: Roadmap Update 2019

The combination of these releases will synergise with each other in order to tackle the Blockchain Trilemma problem (read my analogy: The Village Trilemma) In essence, the Blockchain Trilemma forces a blockchain to pick two of the following:  

  1. Security
  2. Decentralization 
  3.  Scalability

However, Vitalik Buterin and the rest of the Ethereum team sought to find the right balance between the three. This was no easy problem to tackle. However,  the release of Sharding, Proof Of Stake and eWasm achieves just that. Ethereum 2.0 will be a huge milestone in the Ethereum roadmap.

Constantinople: Pivotal In The Roadmap

Another pivotal and much awaited milestone on the Ethereum roadmap is the Constantinople Hard Fork.  I provide a simple breakdown of the Constantinople and its major updates in a separate post. But I'll give you guys a quick rundown over here as well.

The Ethereum team has had three major roadmap milestones laid out for them since 2016:

  • Byzantium 
  • Constantinople
  • Serenity

Each of these milestones laid the groundwork for eventually moving to Proof OF Stake (Serenity). Byzantium provided the much needed security. And Constantinople was going lay the pieces to allow the transition to Serenity (Casper V2).  Constantinople was originally supposed to include a hybrid PoW/PoS model. However, the Ethereum developers decided to scratch that idea and move forward with another plan. This led to a delay in roadmap – and Serenity (proof of stake) would have to be pushed back.

I explain the reasons for the change in plan and the delay of PoS later in this post.

Ethereum Roadmap Before Update 2018

Ethereum's Roadmap: Byzantium, Constantinople & Serenity

Constantinople plays an important role in Ethereum's transition to Ethereum 2.0. The update is going to include major improvements such as the block reward reduction, reduced transaction costs and compatibility for State Channels.

A description of Ethereum's Constantinople Roadmap Update in 2019

Constantinople was key in the Ethereum Roadmap

The hard fork was initially scheduled for for January 16th 2019 but was delayed at the last minute due to a  discovery of a security vulnerability.

Ethereum's Roadmap & Release Schedule 2019 - 2021

The Ethereum Roadmap will always be evolving. However, the major goals of achieving the right balance of scalability, security & decentralization have never changed – and will be unlikely to change in the future. Ethereum 2.0 is simply a new label to define those  goals in a clear & concise manner.

Ethereum Casper V2 – Still Part Of The Ethereum 2.0 Roadmap!

At this point, some of you may be asking:

"Wait – what happened to Ethereum's Casper?"

As can be seen from the image above, Ethereum 2.0 includes Proof Of Stake and Sharding as its major updates. Both of these updates are the two major components of Ethereum Casper V2.  So in truth, Casper V2 is  included in the Ethereum 2.0 roadmap. 

The image below shows the estimated release schedule and roadmap based on the new Ethereum Casper Updates.

Ethereum Casper Release Date Updated 2018 - Infographic & Illustration

Updated Ethereum Casper Release Dates (2019 Estimates]

As you can see, the expected dates for Ethereum PoS (test & release) is somewhere in mid 2019. The exact date for Ethereum's Casper Proof Of Stake is uncertain. If you are an ETH investor or interested in investing, I suggest you read up on the events leading up to these delays. In the next section I explain transition from the Initial Ethereum Roadmap and the Updated Ethereum Roadmap with Casper Version 2.

Ethereum PoS Date & ETH Roadmap - The Quick Read on ETH PoS

I know some of you are busy and  want a quick overview on the Ethereum Roadmap and pos date. So I wrote this section in that vein. This section will likely evolve with the updates on the Ethereum Casper release dates.

ETH holders are probably excited for the Ethereum PoS release date. The Proof of Stake update will allow them to stake their ETH and become validators on the Ethereum Network. However, the Ethereum roadmap changed since the beginning of 2018 which has caused a few delays. This pushes the new Ethereum PoS date back to mid 2019. But it's not all bad news. In fact, for most ETH holders the new ETH PoS date may be a blessing in disguise.

Ethereum PoS Date & Delay - Not All Bad News

Casper FFG has been discarded and we will be moving directly to Casper V2. This will allow ETH investors to become a validator with as little as 32 ETH. This is a huge win for a majority of ETH holders and will also keep the network decentralised.  Initially, Casper FFG would require a deposit of 1000 ETH into the Ethereum Proof Of Stake chain. And the plan was to reduce the 1000 ETH requirement when Sharding would finally be released. During this time, only large ETH investors would be able to take part in the PoS process – which leads to centralisation and lack of inclusivity.

However, they have now decided to skip a step, and build Casper on the same chain that will be used for Sharding. This called the "Beacon Chain" which will serve as the ETH PoS chain and also serve as the base layer for Sharding. I explain this in more detail over here:  Casper V2: Sharding & Beacon Chain Explained Simply.  This is the fundamental reason why the 32 ETH deposit will be feasible. 

Ethereum: The Initial Roadmap

First, let’s quickly go over what the road map was supposed to be last year. Again, I’m going to keep this simple.

As of last year, the roadmap included two major milestones: Metropolis & Serenity

Both of these milestones were efforts to move towards eventual scalability with Proof Of Stake & Sharding. 

Ethereum Roadmap Before Update  2018

Ethereum Roadmap Before Update

Metropolis was divided into two phases:

Phase 1: Byzantine
The Byzantium update would bring privacy improvements. It took place on the Ethereum chain last year.  

Phase 2: Constantinople  
PoW/PoS Hybrid (Casper FFG) and more.  Constantinople was supposed to happen earlier this year. But all priorities were shifted to rolling out Proof Of Stake & Sharding as soon as possible.

Up until June 2018, Constantinople’s Casper FFG was still in play. However, that plan is now being dropped as well – for something more clean and efficient. This brings us to the new release-date milestone on the Ethereum Roadmap for 2018:  Casper V2

Casper 2.0: The Initial Plan

The initial plan was to transition to Proof Of Stake with Casper FFG. Casper 2.0 was to be a Smart Contract that allowed you to become a validator with a deposit of 1500 ETH. The Ethereum estimated this release date to be somewhere in 2018.

Proof Of Stake was to be implemented first and the team would roll out Sharding after. There were separate deposit pools for Sharding and Casper.  

To Summarise:

  1. Casper FFG to be a Hybrid PoS and PoW chain
  2. 1500 Ether deposit required to become a validator
  3. Casper rolled out first, Sharding rolled out after

​​​​Casper 2.1: The Confusion over the Releases

Due to some misleading posts and misunderstood comments, several people are confused. These are the two primary impressions that people have in regard to the Casper update:

  1. Casper and Sharding will be combined and launched together.
  2. Sharding will now be prioritized over Proof Of Stake

This is not true at all. And it’s important that expectations are set right.

Casper 2.1: The Real Roadmap

The plan for Casper FFG requiring 1500 ETH deposits will be scrapped.  Casper V2 will be implementing a “beacon chain” – onto which Casper and Sharding will be merged (here is where people get confused).

This does not mean that Casper and Sharding will be launched on the beacon chain together. It simply means that Casper and Sharding will be implemented on the same chain.  So, Casper could come first, and Sharding be implemented much later. Or vice-versa. 

Ethereum Roadmap Casper FFG vs Casper V2 Ethereum Update

Casper FFG vs Casper V2 Ethereum Update

So to summarise:

  1. A Beacon Chain that will be used for both: Casper & PoS validators

  2. Sharding and Casper will be worked on concurrently – they are independent efforts

  3. Only 32 Ether minimum staking deposits

The beacon chain was originally supposed to be used only for the Sharding implementation.

An Analogy For The Casper V2 Update 

The Casper V2 Ethereum Update has been confusing a lot of people. I don’t blame you guys – the information has been all over the place. But maybe this analogy will help:

Think of the Casper and Sharding as two cars going to a family picnic. To get there, both cars have to merge onto Highway 10. We’re not sure which car will merge on first. We simply know that:

  1. Both cars are headed there (Casper and Sharding are the two cars)
  2. Both need the Highway to get there efficiently (Beacon chain)
  3. Everyone needs to eventually get to the family picnic (scalability)

Similarly, Casper and Sharding are two independent projects – either could be completed first.This unified approach will allow for a minimum staking requirement of 32 ETH deposits.

Casper will most likely be launched first, but we can’t rule out the possibility of Sharding going faster.

Ethereum 2.0 & Casper Release Date:  Conclusion & Summary

Ethereum's release date for Casper FFG was scheduled for 2018. However, the new version of Casper will have a release date somewhere in 2019-2021. Yes, the rather timeline for release is vague, but there's good reason for that. Let's recap quickly:

PoS Release Date Delay: FFG was Scrapped

As mentioned, the initial plan was to roll out Casper FFG as a hybrid PoS/PoW. Casper FFG would have Proof of Stake (PoS) but would not have Sharding. With the PoS release, Validators would be allowed to deposit ETH in order to stake. However, they would require to 1500 ETH in order to participate in the PoS consensus. This wasn't ideal because it would entail a lot of centralisation.

Ethereum Casper Release Date Updated 2018 - Infographic & Illustration

Updated Ethereum Casper Release Dates (2018 Estimates]

In 2018,  the need for scaling became increasingly urgent. The Ethereum team shifted all focus to the key releases that would move the needle toward scalability; namely, the PoS release and Sharding release.  Casper FFG was to be the first PoS release, but would still use the PoW chain. This release date was estimated to be somewhere in 2018. The team was to release Sharding after PoS.

Ethereum Shifted Focus to Releasing Casper & Sharding ASAP

Casper FFG allow Ethereum to release a PoS quicker. However, it would entail "double work". Since Ethereum would have to eventually release/migrate to a pure PoS chain. Because of this, they decided to scrap working on Casper FFG. They will now be working toward releasing Casper V2 – which will have PoS on the beacon chain as well. Since Sharding will be implemented on the beacon chain as well, it allows Ethereum to have a unified approach for their releases.

Unfortunately, this  pushes back the release date for Ethereum Casper V2 to around 2019-2020. Sharding will be released on the same beacon chain that will be used by the PoS release. This does not imply that Casper and PoS are coming together.  I would estimate it's release date to be in 2021. But there's a possibility that it may beat the PoS to the release finish-line. 

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Radix Coin – Relatively Stable, Infinitely Scalable

In this post Shawn breaks down the Radix Coin (RDX) as a stable and scalable cryptocurrency. He discusses Radixs' novel economic approach to solving the pain point of crypto price stability for consumers and businesses.

Radix Coin – An Intensively Scalable & Stable CryptoCurrency

Radix DLT is beginning to garner increasing attention in the crypto-space. Radix rose from an obscure and exotic "coin" in 2017 to one of the most discussed technologies in 2018. Every week, I receive several questions on Radix’s Scalability & Sharding or on their Tempo Consensus Method.  But one of the more common questions goes something like this:

"Hey, what are your thoughts on the Radix Coin ? "

It recently dawned upon me that while I’ve discussed Radix’s infrastructure, I haven’t really delved into the “Radix Coin”.  While Radix does indeed sport a crypto coin, it is so much more than that. Radix DLT is a fully fledged distributed ledger technology platform. The platform will feature decentralised applications, mass scalability, and of course, the Radix Coin as well – 'RDX'.

In this post, however, we focus our discussion on the Radix Coin (RDX) and its purpose in revolutionizing the digital economy. If you’re interested in the Radix  DLT Infrastructure – mainly its Consensus and Sharding approach, then you can read the following introductory & simple explanations:

The following sections will discuss how the Radix Coin will serve and benefit from the Radix DLT infrastructure.

Radix (RDX) As A Stable Coin

The Radix Coin will be the token used on the Radix DLT platform to fuel various operations. However, the coin and the platform have special features that make the dynamic rather interesting. The Radix coin will be a relatively stable coin. Notice the word "relatively" – this is key. Several people mistaken the Radix Coin to be a stable coin. This can lead to confusion – especially for interested investors. 

Radix DLT designed the RDX token so as to have low-volatility. In that vein, the Radix Coin will initially be pegged against the US Dollar where 1 Radix Coin will be equivalent to $1 USD. However, after a certain period, the price of the Radix coin will float free.  Low-volatility and relative stability will be maintained by increasing the supply of the coins. 

“Wait, what the… what do you mean by ‘increasing’ supply of the coins? “

Don’t worry – we’re not talking about ‘Supply inflation’ here. Radix DLT will be using an algorithmic model that will monitor demand and accordingly increase as well as decrease the total supply of the Radix Coin at regular periods. The low volatility of the Radix Coin will help facilitate mass adoption. And the flexible supply should satisfy investor needs as well.

In the following sections, we will discuss how investors and merchants both benefit from this flexible supply system.

Radix Coin for Investors - Should Investors Worry?

Upon first hearing “stable coin”, cryptocurrency investors are immediately skeptical. After all, why invest in something if it’s going to be stable in value? This is an understandable concern since we’re conditioned to the volatility of cryptocurrencies. The Radix Coin, however, functions sort of like a Bond with a variable interest rate.  The value of each Radix Coin may not rise and fall substantially. But the investor will receive more RDX at regular intervals which should increase his total amount of RDX.

For example, let’s say John has  2000 RDX. At the time, each RDX is valued at around $1.10.

  • No. of RDX: 2000   
  • Value of each RDX:  $1.10
  • Total Value: $2200

In the coming months/years, the demand for the Radix Coin skyrockets! Now, each of John’s RDX will not increase drastically in value. Instead, the total number of RDX he has will increase.  His total Radix Coins will increase to 6000 RDX and each RDX will be worth $1.15 (Remember – the Radix Coin will be relatively stable.)

  • No. of RDX: 6000  
  • Value of each RDX:  $1.15
  • Total Value: $6900

Note: This is just an example – as details on the calculations have yet to be released.

On the flip side – if the demand for the Radix Coin reduces, the platform has mechanisms in place that will perform a token-burn process to reduce the total supply of the Radix Coin. Again, details on how this process is yet to be revealed. We will all have to wait for the economic white paper that should be released closer to their mainnet launch.

However, we can rest assured that investors don’t have to worry about their investments being “stale”.

Radix Coin for Mass Adoption

Relative Price Stability

One of the biggest reasons the Radix Coin features relative stability is to facilitate mass adoption. Without stability, mass adoption across the world will be near impossible.

As things stand, the general public find it troublesome to hold cryptocurrencies for anything other than a speculative investment. You may hear increasingly more reports of merchants accepting cryptocurrencies as a form of payment. However, most of these merchants are immediately converting their cryptocurrency back into regular FIAT.  Why? Well, simply because merchants need to be able to rely on their revenue holding value in the months that follow. Cryptocurrencies are far too volatile to offer the level of reliability that merchants need in order to run an efficient and sustaining business.

Similarly, regular consumers will only hold a fraction of their purchasing power in cryptocurrencies for similar reasons. With the current state of the market, it’s a serious gamble to rely solely on your holdings of cryptocurrencies to pay your rent or mortgage. The Radix coin will safeguard against violent price swings using an elastic-supply. This will allow merchants and consumers to hold their Radix Coins with reduced risk.

Decentralized Transaction Scalability

Scalability has been one of the biggest limitations of current blockchain solutions. Most DLT consensus models have to make the tradeoff between throughput and decentralization. Radix, however, achieves high throughput, security and decentralization using a unique approach to Sharding along with their Consensus Method – Tempo .   The Radix DLT platform ensures that every single device can be part of the network and use the Radix Coin to transact with high speed across the globe.

Radix Coin - Conclusion

With "Stable Coins", like the Radix Coin, being the latest talk of the town, its no surprise that investors and enthusiasts alike are blazing with questions on how to seize opportunity on this relatively new crypto class.

The concept of price stability around the radix coin will be primarily based on elastic supply. Depending on the demand of RDX, there will either be a coin issuance to each RDX holder, or a coin burn. While much of the economic structure behind the Radix coin is yet to be unveiled, their scaling solution - Radix Sharding & Tempo Consensus – has been fully implemented and tested. 

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Ethereum Casper V2: Beacon Chain & Sharding Explained Simply

In this post Shawn breaks down the Ethereum Casper V2 update. He discusses ethereum's transition to Proof of Stake, and how beacon chain fits into ethereum sharding.

Casper V2: Beacon Chain , PoS , Sharding

There’s been a great deal of confusion in regard to Ethereum’s new approach to Casper. Part of the confusion stems from the updated timeline for Ethereum’s PoS (proof of stake). And the other part of the confusion stems from this new “Beacon Chain” thingy.  Yes, I said ‘thingy’.

So, in this post I’m going to try to break things down in an easy manner for you guys. What exactly is the Beacon chain? And what role does it play in Proof Of Stake and Sharding

As usual, I’ll keep it simple – and avoid the unnecessary details.

Ethereum: The Initial Roadmap

Before we go any further, allow me to break down the structure of Ethereum’s Casper V2.  There will be three chains that we are concerned with:

  1. The Ethereum PoW Chain
  2. The Beacon Chain
  3. The Sharding Chain(s).

All three of which will be linked together in Casper V2.

Ethereum Casper: 3 Types of Chains

Ethereum PoW Chain

This is the chain that Ethereum is currently using. It’s using the traditional Proof Of Work (PoW) consensus method. In Ethereum’s Proof Of Work chain, miners currently validate blocks by running the PoW Cryptographic Puzzle.

However, Ethereum will be using Proof Of Stake in Casper. Miners will have to transition to the Proof of Stake chain if they want to keep validating blocks for the Ethereum Network.  To do so, they will have to deposit 32 Ether into the Beacon Chain. Once they do that, they will become Validators on the Beacon Chain.

Important:  Miners are not the only ones who can become validators. Anyone can deposit 32 Ether from the Ethereum PoW Chain to the Beacon chain to become a validator

Ethereum Casper: PoW to PoS

The Beacon Chain

Alright, so the Beacon Chain is where all the confusion stems from. But it’s actually quite simple. The Beacon Chain serves two primary roles

  1. The main Proof Of Stake chain

  2. The base layer of the Sharding solution


  3. To Simplify: The Beacon Chain will link to the Shard Chains and “signal” which blocks from the Shards should be added onto the main chain. The main chain will be validated & finalized using Proof Of Stake. The main chain also resides on the Beacon Chain. The Beacon Chain will also play a crucial role with the Shard Chains. It links up to the Shard Chains to listen for blocks that will be included onto the beacon chain (the PoS chain).

The Sharding Chain(s)

Yes, there are going to be multiple Shard Chains. Remember, Sharding is an attempt to avoid having “every single node validate every single transaction”. This will allow for more scalability.  In order to do so, instead of having one single chain, we will have multiple shard chains. I explain Sharding in more detail in this article: Ethereum Sharding Explained Using An Analogy.

Essentially, you can think of the Shard Chain as a group/block of multiple chains. All the transactions will take place on these Shard Chains – and will be split between each shard.  The account data will also be stored on these shard chains.

Above, I mentioned the Beacon Chain links up to a Shard. Well, there’s also a link from the Shards to the Beacon chain. This link needs to be attested/signed-off by a sub-group of Validators that will be pseudo-randomly picked.

Ethereum Casper: PoW to PoS

Ethereum Casper: Validators vs Miners

Casper will be using Proof Of Stake which does not require “mining” to validate blocks. If a miner wants to continue validating blocks on Casper, he will have to deposit 32 Ether into the Beacon Chain like everybody else.

Once 32 Ether is deposited, the person will go into the “Queued Validator” pool and eventually get added to the “Active Validator” pool. Active Validators will be responsible for producing blocks, sign off on blocks and sign off on links (to shards).

Why “Beacon Chain”?

You may be wondering why the Ethereum team chose the term “Beacon Chain?”.  The Beacon Chain was originally only part of the Sharding spec. It’s role was (and still is)  to link up to Shard Chains and signal which blocks should be added to the main chain. 

The Validators utilize the crosslinks between the two chains to “listen” for new blocks on the shard chains. They then sign off on the block and the crosslink if it is to be included on the main chain.

Beacon essentially means “Lighthouse/signal” – and that’s precisely what the role that the Beacon Chain serves.

Disclaimer: I’m sort of taking an educated-guess at this one. To be honest, a lot of the terminology in Sharding & Casper PoS is sorta...confusing (e.g: proposer, collator, validator, committee...come on Vitalik!)

Conclusion

As you can see, the Beacon Chain in the new Casper implementation isn't all that complicated. All you need to know is that it will serve as the foundation for the Proof Of Stake and facilitate the communication via the Shard Chains (via cross-links).  You can become a Validator on the Beacon Chain if you deposit 32 Ether from the current PoW Chain. Once you do that, you can take part in the Proof Of Stake consensus process as well. ValidationFinality  will take place on the Beacon Chain. Transactions & Account Data will be on the Shard Chain.

Simple, eh? Tbh, maybe all you need to read is the conclusion of this post. Damn. Oh well.

Follow up Reads:
1. Casper Roadmap Update Explained
2. ​Ethereum Sharding - A Simple Analogy
3. Finality: Understanding Settlement & Finality

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

RadixDLT Sharding Explained: Scalability Done Right

By Shawn Dexter / August 13, 2018

Shawn uses a simple analogy to explain the RadixDLT Sharding approach - A step towards scalability and mass adoption. 
(Note: I capitalize ‘Sharding’ throughout this post to emphasize its importance, and to avoid reading it as ‘sharing’)

Sharding has morphed from an obscure concept in 2017 into the buzz-word of 2018. The need for blockchain scalability has become glaringly obvious, and several projects have turned to Sharding as a solution.

However, Sharding a blockchain is not a simple task. In fact, it poses challenges that have our best thought-leaders scratching their heads. Several projects have made lofty promises of future scalability using Sharding. But, only few have provided a viable Sharding solution for mass adoption. RadixDLT is one of the rare projects that brings forth a novel approach to Sharding –– an approach that seeks to meet the demands of mass adoption

Right from its conception, the goal for Radix was:  Every single person, on every single device using a single protocol simultaneously.

Every single person, on every single device using a single protocol simultaneously.

The RadixDLT Sharding architecture was designed (unlike other projects that approached Sharding “after-the-matter”)  to allow for unbounded scalability while maintaining security, and maximizing decentralization.

In this post, I will explain how Sharding works in Radix in a simple way – without any technical jargon.

RadixDLT: Sharding

What is Sharding ?

Break a window, and you have shards of glass. Break an iceberg and you have shards of ice. A shard is simply a broken piece of ‘something’.  So, when you “shard” something, you’re simply breaking it into smaller pieces.

But, why do we shard? Well, you usually shard something because it’s easier to manage. For example, we ‘shard’ a large pizza because it’s easier to eat one slice at a time. It also allows us to share (distribute) the pizza with friends a lot easier.

Similarly, when a database gets too large to handle, we shard it and distribute it across multiple computers. There you go –– you now understand distributed computing & Sharding. It’s really that simple.

Sharding has been used to partition databases for a long time. You simply cut the database (think of an excel sheet) horizontally into several pieces and distribute across multiple “database servers” (machines that ‘serve’ you data when you need it). When the data needs to be retrieved or processed, the relevant database server is called upon to do the task.

In Blockchain these “servers” are what we call “nodes”.  However, Sharding a decentralized system isn’t as straightforward as we’d like. There are complications that a centralized system doesn’t need to concern itself with.

Why Is Sharding Difficult in Blockchains

Every distributed system requires a Consensus Method. But, developing a Consensus Method for a Sharded blockchain is tricky. You find yourself sacrificing security in favor of scalability.

Why? Well, a huge component of the security comes from the fact that every node stores all the data. Since every node keeps a copy of the entire database – you can’t cheat/lie about past events. But when you shard that database, each node stores partial data. Suddenly, you can tell Node Bob one thing, and tell Node Lisa another.

To understand this better, think back to when you were a kid.

Remember when your Mom grounded you and your Dad didn’t know about it? If you were anything like me, you tried to sneak out by asking your Dad for permission. Dad didn’t have all the info. And you took advantage of it.

Mom and Dad represent a Sharded database. Sure, together they have all the info needed to run the household. But as individuals, they don’t – and can be lied to about past events (like you being grounded or not)

RadixDLT Sharding: The Basics

Founder & CTO  Dan Hughes identified the scalability issues that would plague Bitcoin back in 2012. After several attempts at improving the protocol, he realized that the only solution is a brand new architecture and consensus method. Six years and a lot of sweat later, he brought us Radix DLT – a unique Sharding approach and consensus algorithm.

Radix DLT approaches Sharding in a unique but simple manner.  Most projects take existing Consensus Methods and build a Sharding solution on top of it. But as discussed, this leads to sacrificing security. For example, Sharding on PoS network could result in a One Percent Shard Attack.

Radix, however , started with a Sharded network –– and built a unique consensus method on top of that network. This “Sharding-first” approach allowed them to bypass the limitations faced by other consensus methods.

RadixDLT Sharding
The RadixDLT network is sharded into 18.4 Quintillion shards of 2mb each  – enough to  store the entirety of Google’s data and throughput!  And we all know that Google stores a lot of data. The goal was to have at least as many people using Radix as there are people using Google.

Essentially, Radix began with the end state in mind, which is:  every single person on every single device using a single protocol.

Pre-Sharded Network Explained

Radix’s pre-sharded network serves as a fundamental around which they have designed their consensus method (Tempo).

The size of each shard, and the number of total shards are predetermined. Nodes then place themselves atop shards – and can overlap with other nodes in layers. 

This is where it gets interesting…

Remember, every shard has already been created. They all live in the same “Universe” and their location ID is known. Every transaction is stamped with a blend of the sender’s ID and shard ID.

This makes it extremely simple to locate the Shard from which the transaction that has been sent.  Now, if Node Bob tries to double-spend his $10, we don’t need to check every other shard to catch him cheating. We can simply check his shard.

To better understand this let’s go back to our Mom & Dad analogy

Your Mom grounds you. But this time, she stamps your forehead with the word “Grounded”. You now go to your Dad’s study room and ask him if you can out to play. Your Dad simply looks at your forehead and says “Nope”.

He didn’t need to go check with your Mom. He didn’t need all the info – and was still able to stop you from cheating.

Similarly, the overlapping of nodes and easy cross-shard communication allows each node to store partial info. Which essentially means: not all nodes have to store all the data!  This plays a significant part in Radix’s massive scalability without sacrificing security.

(I simplified this, of course. But we will discuss more on Atoms, Universes timestamping & Temporal Proofs in future posts)

As mentioned earlier, the need to store and process every transaction is a huge limitation for blockchains. Radix is a cleverly designed network that avoids this limitation.

Concluding Thoughts - RadixDLT Sharding

Radix has presented an innovative and noble approach to solving the scaling issues of DLTs. 

Over six years of sweat and frustration, Dan Hughes and team remained true to the goal: Every single person, on every single device using a single protocol simultaneously. The project is still in alpha and the team urges us to participate and help find any potential issues or flaws. 

Although this was an introductory explanation, I’m sure you can’t help but wonder... Will Radix DLT be the answer to the burning question for mass adoption? Time will tell.

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

No menu items have been found.
No menu items have been found.
Continue reading >
Share

Settlement Finality in Blockchains: PoW vs PoS

By Shawn Dexter / August 6, 2018

In this post Shawn explains the concept of Settlement Finality in blockchains. He then goes over finality in proof of work and finality in proof of stake, resptively.

Settlement Finality

Settlement & Finality – often heard and often misunderstood. Newer blockchains boast about their speed to "finality". But does that really mean? What is Settlement Finality? 

Put simply – all transactions (daily transactions, security trades etc) have to be "settled" to be considered "final".  Hence, the term Settlement Finality.

In our daily transactions, settlement banks handle the 'finalisation' of our transactions. They are the middle-man. And we pay them for the privilege. However, a blockchain manages it's own settlement finality. It does not require a middle man. This is one of the reasons why blockchain technology is so revolutionary. 

Middle-men are used in the traditional systems to ensure that transactions have finality.  A blockchain, on the other hand, uses a consensus method like Proof of Work or Proof of Stake to reach finality.

But before we go any further, let's quickly describe what finality really means.

Settlement & Finality: What Is Finality?

Finality: Finality simply refers to the idea that the occurrence of event is “final” and “permanent”. You cannot undo this event – it has occurred, and will remain ‘occurred’

An Example: A simplified example of Finality would be your age. Once you turn 18, you’re an adult – and you will remain an adult forever. You can be certain in the ‘finality’ of that. No one can go back and change that event. (Unless time travel is possible, and they murder you before you’re 18)

However, achieving finality with financial transactions is actually easier said than done. We tend to equate "extremely difficult" to "impossible". 

To understand, let's explore settlement finality in blockchains and banks a bit more.

Settlement Finality: Blockchain vs Banks

In the finance, people & businesses want to be certain that their transactions are "settled & final". This  Settlement Finality is traditionally handled by settlement banks

Businesses – small or large – face issues with finality of payments quite often. A consumer can attempt to reverse his payment made via VISA or PayPal. In these scenarios, settlement finality conflicts are handled by the middleman.

However,  middleman-solutions are always going to be a point-of-weakness for finality. What if people in key positions are bribed?  What if  centralised servers are hacked? In a centralised solutions, there's always a chance that finality is reverted. Each intermediary will pose a risk point.

Comparatively, a blockchain uses no intermediary. It achieves finality via it's consensus method. Notable consensus methods are Proof Of Work and Proof of Stake. Both of which eliminate several weaknesses of centralised systems. However, neither of them achieve true finality. Finality will always be probabilistic (i.e there's a chance – however small – that a transaction can be reversed) 

First, let's go over finality in proof of stake and proof of work.

Settlement Finality: Proof of Work & Proof Of Stake

Finality in PoW and PoS are achieved in different ways. In Proof Of Work, the hash puzzle plays a key role in determining when a settlement is reasonably 'final'.  Proof of Stake uses a raffle system and economic incentives to arrive at finality (you could call it economic finality)

Finality in PoW

Finality in PoW is achieved as more and more blocks are created. It gets increasingly difficult to reverse a payment in the older blocks.

Blocks in Proof Of Work age well – the more hashpower used on future blocks, the more resilient the older blocks are to attacks. Why? Cause if someone wants to reverse a payment, he has start a new chain beginning at the old block. He has to then try to outpace the current chain. He will have to ensure that his chain is the longest chain.  The only way he can do this is by consuming A LOT of electricity.   This is why we wait for “Confirmations”. Each confirmation represents a block. Anything over 6 blocks gives us reasonable finality.

Finality in PoS

Casper’s Proof Of Stake uses a sorta raffle-system to facilitate finality (and other security elements too.)  People who want to validate blocks deposit their Ether into a pool. This pre-registering all the possible validators. Validators are then asked to declare finality at certain intervals. Essentially saying:  “I agree that every transaction/event up until this point is legit”. 

If at least, ⅔ of the validators make a claim – you have reasonable finality.

Notice how I said “reasonable finality” for both – Proof Of Work and Proof Of Stake. This is because finality is always going to be probabilistic!  To understand this, we have to dive a little deeper – but I’ll try to simplify.

Blockchain Settlement Finality is Probabilistic

I say "reasonable finality" because finality in proof of work and proof of stake are still not truly "final". Technically, a settled payment can still be reversed. It may be improbable – but not impossible. Let's go over some of the ways:

  • A 51% attack can lead to a reverse payment in Proof of Work  regardless of block age. While this is difficult, it’s not impossible – it’s improbable.  
  • In Proof Of Stake, we have the Nothing At Stake attackwhich again is improbable, but not impossible. (I explained Nothing At Stake just yesterday actually) Even with punitive penalties implemented - slashing - we have the improbable chance that a bunch of validators are willing to burn their own capital to hurt the network.

  • Finally, even our current centralized solutions don’t have  finality because they can always be hacked, burned down, gun-to-the-head etc etc. Perfect finality is probably impossible. There are too many external factors outside of the system that can remove finality.

Final Thoughts

No system is perfect – yet. A bank can be hacked. Proof of Work is subject to a 51% Attack. Proof Of Stake is subject a 1% Attack.  However, blockchains and distributed ledger technologies have come a long way in increasing the likeliness of finality.

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Will Price Of Ethereum Drop when ETH Scales?

By Shawn Dexter / March 22, 2018

Will Scalability Suppress The Price Of Ethereum?

In my previous posts, I discussed Ethereum Sharding & Scalability. Several of you have been following the series and have asked me some intriguing questions.

A question that has come up multiple times is:  
​“Will Ethereum’s Scalability lead to a reduced “scarcity” and thus suppress the price of Ether?”

It’s a fair question, since scalability will lead to reduced operations/transaction costs. And that’s precisely what creates the demand for Ether. But the answer isn’t as intuitive as most would think.

  • In fact, it’s a case of Jevon’s Paradox - where it’s assumed that technological improvements that lead to efficient use of a product will result in reduced use of the product. But in truth, the assumption turns out to be wrong and the opposite is true.​

Ether’s Scalability, Scarcity & Price

On one hand you’d think that Ethereum scaling should increase the price. After all, scalability is a good thing, right?

But on the other hand, scalability will lead to lower transaction fees. Since transaction costs are paid for in Ether – wouldn’t Ether be consumed less? And hence needed less? Therefore, is it fair to assume that the demand for Ether will decline because we’d need less of it?

Finally, if less Ether is needed for operation costs on the network, would the “scarcity” of Ether reduce? (leading to price suppression)

So which is it? Will scalability lead to a price up or price down?

Jevon’s Paradox - Coal & Steam,  Ether & Gas

English Economist William Jevons observed this paradox during the era of coal-fired steam engines.

"It is a confusion of ideas to suppose that the economical use of fuel is equivalent to diminished consumption. The very contrary is the truth"

He’s essentially saying: People assume that technological improvements that lead to efficient usage of fuel will in turn lead to reduced usage of fuel. But the opposite is true

Ether & Jevon’s Paradox:  The Rebound

Yes, transaction fees will decrease as the Ethereum network achieves scalability. However, this does not mean that the price of Ether will decrease as well.

As we scale into mass adoption, Ether will be used for various operations across a wide range of diverse industries. With this, the consumption of Ether will rise in response to lower prices. Eventually, we will reach a point of “rebound” where the gains in efficiency are overcome by the rise in consumption.

  • So, Instead of looking at it as: “Less Ether will be required for each operation, so demand will reduce” 
  • We should, perhaps, look at it this way: “Each Ether will now allow us to do THAT much more, so demand will increase”

There are several examples of technological advances increasing the efficiency and availability while prices have still gone up. 

A perfect example is the price of fuel for your car (gas)
Technology has made fuel far more efficient. We consume it more efficiently, and we find it more efficiently too. But the demand for fuel has only gone up with time.

Ether & Scarcity: To Infinity And Beyond

Finally, let’s understand what Scarcity really is - People tend to believe that scarcity is defined by the item/resource, but in truth, it’s defined by us humans and our needs.

  • Scarcity is a phenomenon of human’s infinite “wants” when the resource is finite.

And we live in a digital age where the “want” to conduct transactions/operations as efficiently as possible is fast approaching “infinite”.

As the cost of each operation on the Ethereum network reduces, humans will “want” to use the network more and more. But, Ethereum at any given point of time, is finite in number. (setting aside the minor inflation, of course)

  • As you can see, the decreasing transaction fees leads to increased scarcity.

Note: There’s a difference between a “shortage” and “scarcity”. Shortages are caused by rising prices, while scarcity results from falling prices.

As the cost of operations & transactions approach zero, our need to conduct those transactions will approach infinity. Hence, demand should go up, not down.

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Blockchain Trilemma – The Village’s Impossible Trinity

By Shawn Dexter / March 12, 2018

Blockchain Scalability Trilemma - In the Village Analogy post, we ran through a scenario where the people of the village got frustrated with the corrupt man who kept track of their trades. The villagers eventually got rid of him and moved to a system where they used multiple diaries (ledgers) to keep track of the trades. This enabled them to:

  • Prevent A Middle-Man From Holding All The Power (Decentralization)
  • ​​​​Detect incorrect entries & fraud  (Security) 

The Village Began To Grow - A Scalability Crisis

However, as the village began to grow, they found it difficult to keep up with the system.

Maintaining the Security of the ledger was a tedious and time-consuming task.  It was essential that they cross-check & validate the ledgers properly. Any shortcuts would lead to security-vulnerabilities. Eventually, the village grew into a city, and they simply could not keep up with the task of maintaining the ledger anymore.

Essentially, the village wasn’t able to take their system and Scale it in preparation for the growth of the city.

In order to scale, the villagers had to alter their solution. They were wary of having a single middle-man due to their past experience with Mr.Ledger. So they appointed a group of individuals to maintain the ledger and keep a check on each other.

The Ultimate Sacrifice

They moved from having a “Middle Man” to having “Middle Men”.  Sure – it wasn’t as bad as having a single man in control. But they had still sacrificed their decentralization. They now had:

  • Ability to detect incorrect entries (Security)
  • Ability to cater to larger and larger cities (Scalability)

They had come to accept the fact that a sacrifice must be made. They were stuck in a Trilemma. They cannot have all three of the following:

  • Security
  • Scalability
  • Decentralization

These three factors are the essence of the blockchain Trilemma.

Vitalik Buterin calls it the “Scalability trilemma”. Perhaps because blockchains  inherently started off with the following: SecurityDecentralization

The question then became:  
“In order to add scalability to my blockchain – what should I sacrifice? Should I sacrifice Decentralization? Or should I sacrifice Security?”

Food for thought: Wouldn’t that then make it a dilemma? Hmm...
(Note: A dilemma is when you have to make a choice between two options. A Trilemma is when you have to make a choice between three options)

Conclusion

As things stand, blockchain solutions are struggling the find the right balance balance to the trilemma.  Vitalik Buterin proposes Sharding to theoretically break the trilemma. I explain Sharding (using another analogy) in a previous post. It’s an ingenious solution – but still has some form of sacrifice. 

Other blockchain solutions that have high scalability have done so by sacrificing decentralization. EOS is a notable example that uses Delegated Proof Of Stake. This is essentially much like appointing (delegating) a group of individuals to manage the ledger – much like our village analogy.

Finally, other solutions like Radix, HashGraph and IOTA are not blockchains. They do not have the architectural limitations that blockchains do.

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Why PoS was Necessary for Ethereum’s Sharding

By Shawn Dexter / February 28, 2018

In a previous post, I provided a simple explanation on Ethereum’s Sharding. I also mentioned how Sharding was one of the driving factors for Ethereum’s switch to Proof of Stake consensus model.

In this post, I will provide a brief & simple explanation on why Proof Of Work was not the ideal choice for Sharding, and how Proof Of Stake tackles the problems posed by Sharding a blockchain.

Why Shard To Begin With?

Sharding is an initiative to tackle the scalability issues that Ethereum faces. All blockchains are limited by their architecture & design. How? Because every node in the blockchain processes every single transaction. While this enforces a high degree of security/reliability (explained in this post), it also limits the scalability.

Sharding improves the scalability of the Ethereum blockchain by splitting the network into smaller “groups/pieces”.

What’s wrong with PoW?

The Ethereum blockchain currently runs on a Proof Of Work consensus algorithm.

Remember from our post on Consensus Methods, that consensus or “agreement” is achieved by a majority agreeing on the state of the ledger.

Proof of Work essentially relies on hash-power to validate the chain. Blockchain is a trustless system, so we need to dis-incentivise people from being a bad actor. As explained, a bad actor would have to have a majority of the hash-power to manipulate the network. That’s a lot of hash-power. The electricity bill & hardware costs will be monumentally expensive.

Hence, in Proof of Work, the hash-power expense makes it cost-prohibitive to be an attacker.

Remember that if we SHARD in PoW, we are breaking up the network into "pieces". Hence, to achieve a “majority” hashpower in a particular shard would suddenly become feasible (since each shard will have only a “piece” of the total hash power”)

Compared to attacking the network, each shard will require only a fraction of the hash-power. An attack is no longer cost-prohibitive.

In fact, if you split the network into 100 pieces, you only need 1% of the total hash-power to takeover a shard. To keep this post simple, I explain how in another post

Validators can collude their hashpower on a single shard, and takeover control of that shard. One way to prevent this attack is to prevent attackers from focussing their hash-power onto a single shard.

However, this is difficult/not-possible to do so in a Proof Of Work protocol. In PoW you cannot stop miners from applying their work on a given shard - This is where Proof Of Stake steps in!

Proof Of Stake

PoS removes the extrinsic cost of validating the chain: hash power/electricity costs. Here's how:

In, Proof Of Stake  super-nodes are required to “deposit” (stake) their Ether in order to perform validation functions. Again, remember that:

  • COLLATORS (TEACHERS-ASSISTANTS): Gather mini-descriptions of transactions & the current state of the shard – and send it up to the node validators.
  • SUPER NODES (PROFESSORS):  Collect the data from the Collators. Process the transactions & Validate the blocks.

Proof Of Stake – along with this structure – allows Ethereum to do something that it cannot do (easily) in PoW. And that is the ability conduct “random-sampling”.

Since Super-Nodes are depositing their Ether, we can use that to randomly assign them to a shard. The assignments are reshuffled regularly as well.

This will ensure that attackers:

  • Cannot choose the Shard they want to work on.
    We don’t want them to pick their shard because a small group of attackers can target a single shard to dominate it. Even attackers with a small total-stake can focus their efforts and attack.
  • Cannot know what shard they will work on ahead of time. 
    If we don’t reshuffle, an attacker may have enough time to find the other people who have been assigned to his shard. This will allow him to collude with them and attack the shard. We reshuffle regularly to avoid this.Super Nodes are randomly assigned a shard. Not knowing which shard they are assigned to before hand, will prevent them from attacking the system.

Wrapping Up

As you can see, Proof Of Stake makes random-sampling pretty trivial. Sampled validators are reshuffled regularly.

A quote from Vitalik on my previous post:


 It's really important to mention that validators are super-frequently reshuffled between shards (possibly even once per block), so it's actually quite hard to "target" one specific shard for an attack. This is a large part of where sharding's at least theoretical success in breaking the trilemma comes from.
Vitalik Buterin

When Vitalik mentions “breaking the trilemma”, he is talking about how typically only 2 out of 3 of the following can be achieved in blockchain:
  • Security
  • Scalability
  • Decentralization

PoS allows for easy sampling & reshuffling which ensures the “Security” of the trilemma – while the sharding structure gives us a level of Scalability and Decentralization. Hence, theoretically breaking the blockchain trilemma. This is a huge feat!

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Blockchain vs DLT (Distributed Ledger Technology)

By Shawn Dexter / February 20, 2018

DLT vs Blockchain:  In this post Shawn uses a simple analogy to explain the difference between a blockchain and distributed ledger technology (DLT) . He also discusses the difference between blockchain and other technologies – like blockchain vs tangle, and blockchain vs databases. 

Blockchain And DLT - Is there A Difference?

In a previous post, we discussed Radix DLT – a potential game-changer in the DLT world. While many of our readers were excited for what Radix promises, there were some who requested some clarity on DLTs (Distributed Ledger Technology) . One of the prevailing questions I received was:

 “What is the difference between a Blockchain and DLT?”

Blockchain vs DLT:   Apples vs Fruit

Comparing a Blockchain to a DLT  is like comparing an Apple to a Fruit. An Apple IS A Fruit.  Similarly, a Blockchain IS A DLT (Distributed Ledger Technology)

Difference between blockchain and DLT
DLT vs blockchain

The confusion, probably, arises because most of us were introduced to the term “Blockchain” before “Distributed Ledger Technology”. The sudden surge of popularity had the term “Blockchain” turn into a generic term.

But in fact, Blockchains are a TYPE of  DLT.  Much like an Apple is a TYPE of Fruit.

So, is DLT a blockchain ?

No. All DLTs are NOT Blockchains. But all Blockchains are DLTs

Most of the cryptocurrencies, that we know, are blockchain implementations. All of them are DLTs. Bitcoin, Ethereum, Litecoin etc are all DLTs. What kind of DLT? Blockchains.

However, not all the cryptocurrencies are blockchain implementations. Radix, IOTA and R3 Corda are examples of DLTs that are NOT blockchains.

distributed ledger technology and blockchain vs iota

Bitcoin Blockchain And DLT -  An Analogy

I've also received questions on whether or not the Bitcoin blockchain and distributed ledger technology have anything in common. Let's use another analogy to answer this question.

The Bitcoin Blockchain and Distributed Ledger Technology synonymous to "Google" and "Search Engine". Google is a specific type of Search Engine.  Similarly,  the Bitcoin blockchain is a specific type of distributed ledger technology.  

 Bitcoin IS a Distributed Ledger Technology (DLT). 

Remember, in the previous section we discussed how a blockchain is a sub-category of a DLT. There are many types of DLTs; and blockchains are only one of them. Similarly, there are many types of blockchains; and the bitcoin blockchain is just one of them. 

What is a DLT?

So what exactly is a DLT ?  Again, I will attempt to make this as easy to understand as possible.  A DLT – Distributed Ledger Technology – simply distributes information to multiple computers. These computers could be spread across the world. The primary aim is to reduce the risk of central storage.

Distributed Ledger Technology is the umbrella term to describe any system that distributes data across multiple sites. There are several types of DLTs.

What is A DLT?
A DLT (distributed ledger technology) is simply a fancy way of saying,
 “A database that is spread  across several sites“

  • “How” that data is distributed, structured and agreed upon (consensus) will dictate the TYPE of DLT. Kind of like how the shape, taste, colour etc dictates the TYPE of Fruit (to us non-fruit experts, at least)

Al blockchains are DLTs.
 But not all DLTs are Blockchains

A Blockchain is a type of DLT that organises its data in a “chain of blocks”. Each block encompasses a bunch of data that is verified & validated and then chained to the next block. Hence the term “blockchain”.  This data  – in the form of chained “blocks” – is distributed to everyone in the network.

That’s how a Blockchain type of DLT is typically implemented. Other DLT types may choose to implement differently. Radix, Corda and IOTA are all different types of implementations of DLTs. None of which are Blockchains.

Blockchain vs Databases

This is another frequently asked question: Blockchain vs Databases – what's the difference? Technically, Databases are used within a Blockchain system. So a comparison between a Blockchain VS Databases is akin to  a comparison between Heart and a Body. The heart lies within the body; and is a core part of the system. Similarly, databases are used within the Blockchain system.

Remember, DLTs are simply databases that are distributed across multiple sites. And Blockchains are simply a type of Distributed Ledger Technology.  So essentially, a blockchain comprises of structured databases – that are distributed.

Blockchain vs Distributed Databases

This is where things get tricky.  If a Blockchain is simply a system of distributed databases, then what's the difference between a Blockchain and a Distributed Database? This really boils down to the interpretation of a "Blockchain". 

The first Blockchain system was introduced in 2008, and its goal was to escape the shackles of centralisation. Usually, when people talk about  Blockchain technology, they are referring to a distributed system with no central control. However, when they talk about  Distributed Databases, they are referring to high powered distributed systems that have a central authority. 

To sum it up, a Distributed Database has a central authority that requires trust; while a Blockchain is typically a trustless system that has no central authority 

Conclusion - DLT vs Blockchain

The key takeaway from this post is: “All blockchains are DLTs. But not all DLTs are Blockchains”. A blockchain is a specific type of DLT. Bitcoin paved the way for public DLTs. But as the market and technology matures, we will see more implementations of DLTs to satisfy the markets ever-changing demands.

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂​​

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share

Ethereum Sharding Explained Simply

By Shawn Dexter / February 14, 2018

Ethereum Sharding: The demand for scalability is becoming increasingly urgent. The Cryptokitties incident demonstrated how quickly the Ethereum network can clog-up. While  many in the community  are excited for Ethereum’s Sharding, there are just as many who struggle to understand how sharding will help Ethereum scale.

In this post, I will attempt to explain Ethereum’s sharding using a simple analogy.

Understanding The Problem

One of the major problems of a blockchain is that an increase in the number of nodes reduces it’s scalability. This may seem counterintuitive to some people. “More nodes = more power. So more speed, right?” Not exactly.

One of the reasons a blockchain has its level of security is because every single node must process every single transaction. This is like having your homework assignment checked by every single professor in the university. While this may ensure that your assignment is marked correctly, it will also take a really long time before you get your assignment back.

Ethereum faces a similar problem. The nodes are your professors. Each transaction is your assignment.

Sure, we can reduce the number of professors (nodes) until we are satisfied with the speed. But as the assignment (transaction) backlog increases, we will need to further decrease the number of professors. This will eventually lead us to rely on a few “trusted” group of professors. A centralized group.

This defeats the ideology of blockchain decentralization.  It’s much easier to compromise/corrupt a smaller group of professors (nodes) than the entire university (the entire network). As a result, we sacrifice security in an effort to scale.

To sum it up, blockchains must choose between Two of the Three following attributes:

  • SECURITY
  • SCALABILITY
  • DECENTRALIZATION

This is also referred to as the Blockchain Trilemma. Sharding is an attempt to tackle this limitation

What is "Sharding"?

With the problem and limitations understood, we now pose a question:

Can we have a system that has sufficient number of “professors” (nodes) to still maintain the security –  while being small enough to increase the speed at which your assignments are returned (throughput of the network)?

Essentially, we are conceding that we can’t “max-out” on all three of the attributes: Scalability, Security, Decentralization.  But, can we have just “enough” decentralization & security so as to achieve more scalability?  

Sharding is Ethereum’s answer to this question.

Ethereum Sharding: Think of Sharding as simply a fancy way of saying, “let’s break down the network into smaller groups/pieces”.
  • Each group is a shard. A group/shard consists of nodes and transactions.

So in our professor analogy, a shard would consist of a group of professors and assignments. Now, instead of a professor having to correct the assignments across the entire network, he would be only responsible for the assignments within his shard(group).

This greatly reduces the number of transactions (assignments) each node (professor) has to validate.

Ethereum Sharding - Structure

Okay, so I may have oversimplified a tiny bit. But now that you understand the gist, you’ll understand this part a lot easier.

In each shard/group, we have nodes that are assigned as “Collators”.  Collators are tasked with gathering mini-descriptions of transactions & the current state of the shard.

In our analogy, you can think of Collators as Teacher’s Assistants. All the TA’s in shard/group do the first run through of all the assignments within the shard.

Finally, we have super-nodes. Each super-node receives the collations created by the collators of each shard. They then processes the transactions within those collations. Furthermore, they maintain the full-description/state data of all the shards – which they get from the collators as well.

You can probably see the benefits of this structure. The number of nodes that process every single transaction would be greatly reduced, and thus increase overall throughput.

Conclusion

Sharding is a smart approach to tackling the blockchain scalability problem. However, it’s not without its drawbacks. Because of its structure, it’s easier to compromise a shard within the system.

This is one of the driving reasons behind Ethereum’s switch to Proof Of Stake. Proof Of Stake helps mitigate this security vulnerability that comes with Sharding. But for the sake of brevity,  we will discuss that in a future post.

Did you enjoy this post?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

Get my upcoming eBook for Free!

"The Mango Guide TO Understanding Blockchain"

Offer Valid For FIRST 500 registrations only

Continue reading >
Share
>