All posts in " Ethereum "

Ethereum Inflation Rate: Ether Issuance Debate 2018

By Shawn Dexter / September 1, 2018

In this post, Shawn provides a simple breakdown of the Ethereum Inflation & Issuance Debate. He explains the debate from the PoV of Ethereum miners, as well as community members.  In addition, he summarizes the 3 Ethereum Improvement Proposals (EIP) being considered by the core team. 

UPDATE:  Seems like EIP1234 has been accepted – on a conditional basis, however. Furthermore, the proposal still remains in a "draft" state, and minor changes may be made before finalisation. Read this post to know more!

Ethereum Inflation: Introduction

The past thirty days have seen a prolonged debate on an important matter: Ethereum’s Issuance. But be it an important matter or not – few of us seem to understand what’s going on.

To be fair, this issue has complexities that has brought indecision to even the best minds of this space. So, it’s not surprising that many of us have decided to glaze over the issue. However, as a community, we owe it to ourselves to understand at least the basics of this issue.

In this post, I will break down the Ethereum Issuance debate as simply as possible.  This will be an easy read – and by the end of the post you will have a firm understanding of what is going on.

​​​​Ethereum Issuance & Inflation Rate

Ethereum is “inflationary”. You hear it all the time. But many don’t seem to understand how the inflation is caused. It’s rather simple.  Ethereum miners get rewarded for mining new blocks. These miners get rewarded/paid in Ether. But this isn’t “existing” Ethereum; this is Ether that is freshly minted/created.

Essentially, miners are rewarded by issuing freshly minted Ether into the system. This “inflates” the existing supply in the market.  Hence the term “Inflation Rate”

Ethereum Inflation Rate vs Issuance Rate

The Ethereum inflation rate and issuance rate are pretty much the same thing – for the most part. There’s a tiny ‘difference’ that is worth discussing.  Let’s think about this for a second. There are two factors that will affect Ethereum’s inflation rate:

  1. The speed at which fresh Ether is given out
  2. The AMOUNT of Ether given out each time

Analogy
I can give you one piece of candy every minute; OR give you ten pieces of candy every ten minutes. Either way, over time I inflate your candy supply  at the same rate. You’ll have 100 candy pieces in 100 minutes.

Ethereum-inflation-rate

Ethereum Inflation Factors: Block Time & Block Reward

Speed of Ether Issuance

Currently, the speed at which Ether is issued out is pretty stable. Ether is issued to miners as a reward each time a new block is created/validated. As things stand, the time taken to create a block is relatively stable at ~14 seconds.

However, if Ethereum increases the difficulty of “block creation”, then it will take longer to create each block. This is what people are referring to when they mention the “difficulty bomb”.  If it takes longer to create create blocks, then less Ether will be rewarded over a period of time

Analogy
I stop giving you 10 pieces of candy every 10 minutes, and instead give you 10 pieces of candy every 15 minutes. After 100 minutes, you’ll have only 66 pieces of candy (instead of 100)

Ethereum-issuance-rate

Ethereum Block Time vs Ethereum Block Reward

Amount of Ether Issuance

The amount of Ether issued for each reward is the next driving factor for Ethereum’s inflation rate. And this is the most debated factor at the moment. Ethereum is currently issuing roughly 5.5 Ether per block (as rewards) If Ethereum decides to reduce the amount of Ether given out per reward, then the inflation rate will drop regardless of the difficulty bomb.

Analogy
I keep giving you candy every 10 minutes. However, I give you only 6 pieces of candy each time – instead of 10. You’ll have only 60 pieces of candy after 100 minutes.

The Problem

Reducing the Ether issued will cut into miner profits. But not reducing Ether issuance will anger the rest of the community (more on why later)

What is the Debate About?

The Background

The current inflation rate is around 7.3% annually. The Ethereum community was promised somewhere around 2% - 4% with the release of Casper. (In fact, Vitalik once quoted ~0.5% as a feasible number – leading to even more expectations)

Casper Delay

So, the community has been patiently waiting on a reduction in Ethereum’s inflation rate. This was supposed to happen with the release of Ethereum’s Proof Of Stake: Casper. If you’re keeping updated, you know about the delay on the Casper release.

​Casper was also supposed to include a “difficulty bomb” that would increase the time it takes to find a block. This would decrease the ethereum inflation rate

ethereum-supply-cap

Ethereum Inflation Cap Debate - Community vs Miners

Community Side

However, since Casper has been delayed, the community wants the matter of issuance being addressed right away.  If Ethereum has to delay the difficulty bomb, then the other course of action is to reduce the amount of Ether being issued per block. Many community members are advocating for a reduction of issuance that would align inflation rate to ~2%.  This would align the inflation rate to what it would be if Proof Of Stake was not delayed.

Miners Side

However the Ethereum Miners don’t like that idea – since it would cut directly into their profits. It’s important to note that Ethereum is still using Proof Of Work – which consumes a lot more power per block than Proof Of Stake would. Many miners claim that they would be forced off the network since the rewards would not be enough to cover their costs.

Why do we care about Miners?

Miners do more than just process/validate our transactions. Each miner contributes to the security of the network via their hashpower. If overall hashpower drops, the network is easier to attack. (I touch on this in a YouTube video on 1% Shard Attack)

Essentially, the more miners we have, the more security we have. If miners drop off the network, security will begin to drop – and we’re more vulnerable to attacks.

As you may now be noticing, this issue does not have an easy solution. But we can get a better idea of which direction to take. First, let’s quickly go over where we currently stand.

Ethereum Issuance: Blocks & Uncles

What is the Ethereum Issuance currently?

The current Ether that is being issued is roughly 5.5 Ether per block. It’s important to note that unlike Bitcoin, the reward issuance is not straightforward.  Here is a simplified breakdown of the rewards distributed:

  • Block Reward:  3 Ether
    Uncle Rewards:  ~2.4 Ether

  • Total Ether issued per block: ~5.4 Ether   (Issuance reduction will decrease this)
    No. of blocks per day:  ~6000 Blocks (difficulty bomb will decrease this)
    ​
  • Current Annual Increase:  ~7.3% (issuance reduction and/or difficulty bomb will reduce this)

Uncle Rewards...What the..? 

(If you know what are Uncle Rewards , then you can skip this section)

Unlike Bitcoin, Ethereum rewards miners that find blocks that don’t make it into the longest chain. These blocks that are considered “stale” in Bitcoin, and are orphaned. In Ethereum these are called Uncles and are rewarded for their work.

This is primarily because Ethereum has a much lower block-time (the average time required to find a block). This “small window” may result in smaller miners unfairly losing out on potential rewards due to network latency etc. As such, miners are rewarded for their work.

Of course, we cannot predict the exact number of Uncles – but we’re estimating that around 2.4 Ether will be given out to Uncles on average. Uncle Rewards are important because they:

a) Incentivise decentralization (small miners are less likely to join pools)
b) Increase the security of the chain. (more on this in another post)

Cool.. So What is Being Proposed?

Alright, now the fun part. There are three proposals – Ethereum Improvement Proposals  (EIPs) to be specific. Here’s a list and summary of each of them:

EIP-858:  Reduce block reward to 1 ETH

This would be a significant decrease from 3 ETH to 1 ETH. It would probably put several small/mid-size miners in the negative profitability.  Many miners may drop off the network. However, this would probably benefit miners who have access to cheap electricity since they will be able to accrue more rewards for themselves. Larger miners may probably benefit for the same reasons.

EIP-1294:  Keep block reward at 3 ETH. Reduce Uncle Rewards to ~0.56 ETH. 

This will be a significant reduction to the Uncle Rewards – from ~2.4 ETH to  ~0.56 ETH. Ouch. This will affect small miners the most since they rely on the Uncle Rewards. Furthermore, this reduces the incentive for them to remain independent; and may lead to larger shift of small miners to joining pools.  Of course, larger miners who aren’t affected by network latency issues do not get affected by this reduction. They benefit the most from this since the issuance will be maintained.

EIP-1234  Reduce block reward to 2 ETH

This EIP seems to be receiving the most favour from the community. It serves as a good middle ground. it will still eat into profits of miners, but not as significantly as the reduction that EIP 858 proposes. EIP-1234 does seem to have an air of “compromise”. It will offer developers enough time to develop & release Casper while keeping both sides of the community at bay. Is compromise the best way to go? -shrug-

So..What Has Been Decided?

 A vote took place – that lasted 30 days – where the community voted on their preference. Although the results were leaning significantly toward one side, these results are not binding. The vote was more-so to gauge community sentiment. Quite frankly, this issue is far too important to be decided over a vote like this. It requires serious consideration & research.

There was a core-dev meeting that took place last week where the matter was discussed. It seems like the developers are leaning towards EIP1234 – the reduction to 2ETH. However, I'm not certain if this has been confirmed.  If so, EIP1234 will be included in the upcoming hardfork scheduled for mid October.

I’ll keep you guys posted – and I will be updating this post regularly as news develops.

UPDATE:  Seems like EIP1234 has been accepted – on a conditional basis, however. Furthermore, the proposal still remains in a "draft" state, and minor changes may be made before finalisation

Ethereum Roadmap Update [2019]: Casper & Sharding Release Date
In this post Shawn discusses the recent Ethereum Update in regard to their roadmap for Casper & Sharding. Casper FFG[...]

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.
Continue reading >
Share

Gwei to Ether Conversion – Ethereum Units Explained

By Krisha A / August 25, 2018

Constantly having to covert Gwei to Ether for transaction/gas fees can be frustrating. The irony is that “gwei’ and all other ether units were created to rid user frustration and promote adoption. The intent was definitely well thought out - you can trust Vitalik & team with logical ideation. But perhaps we require a bit more insight on Ethereum’s units and its intent.  It may just alleviate our frustration for all future transactions.

Let’s just say Ethereum’s core team took a history lesson from bitcoin before they brought forth all the Ether Unit monsters.

What is Gwei? And All Other Ether Units …

In order to grasp the concept of ‘gwei’, lets begin with something we’re all familiar with:

The money in our wallets!
(or if you’re anything like me - the money in the deepest corner of your jeans pocket)

The money in our wallets, regardless of currency, likely also comes in denominations. But for the purpose of this explainer, lets focus on the US Dollar. 1 US Dollar has four denominations: Cents (1 cent), Nickles (5 cents), Dimes (10 cents), and Quarters (25 cents).

Like the US Dollar, Ether too has denominations.
Remember, "Ether" is the currency used within the Ethereum Blockchain. Not ‘Eth’, Not ‘Ethereum’. .... "Ether"

Ether has three primary denominations, namely (lowest to highest): 

  • Wei       
  • Gwei       
  • Finney    

In essence, ‘Gwei’ is simply a denomination of Ether - So when converting Gwei to Ether’ for gas, remember that ‘Gwei’ is Ether - Just a fraction of it. Similar to a regular economy, there are many microtransactions taking place on the Ethereum Blockchain that require payments in fractions.

Just like how a vendor wouldn’t ask you to pay “1/10th of a dollar” for a plastic bag (let’s be realistic - that’s all you’ll get), the ethereum blockchain wouldn’t ask you pay "0.0000021 ether" for transaction fees. It’s just a difficult price to convey.

Instead, you’d be asked to pay 10 cents for the plastic bag, and 2100 gwei for transaction fees. Sounds much better, doesn’t it?

When dealing with currency, fractions are difficult to convey, tedious to convert, and aren’t very user friendly. Hence, the introduction of user friendly denominations, like Gwei.

Gwei to Ether and More - A Future-Proof Ethereum

When considering all three ether units: Wei, Gwei & Finney, you can’t help but wonder - ' why couldn’t Ethereum decide on one denomination? Gwei to ether and vice versa? '
Note: There are actually 10 different ether units, 3 wasn’t too bad a compromise.

It appears that Vitalik was looking to future proof Ethereum so that people could always have an open dialogue about ether in varying quantities regardless of ether price.

the goal of specifying suggestions for all of them was to have some schelling point on what to use for smaller denominations so that people could easily talk about varying quantities of ether regardless of whether the ETH price was $0.01, $10 or $100,000 - Vitalik Buterin

All suggested ethereum units were meant to be a schelling point (an anchor term like cents) depending on various use cases. For now, the three primary ether denominations were meant for the following ether:

  • Finney = for micropayments
  • Gwei = for gas prices
  • Wei = for discussion around APIs and other use cases

If ether’s value skyrockets like that of bitcoin, we’d likely see a rise in ‘finney’ in various ether uses and discussions.

Top Ether Transaction Fee Calculators & Converters 

Menu

ETH Gas Station - Tx Fee Calculator

  • Ether transaction fee prediction based on your set Gas limit & Gwei price

  • Gwei price/Gas price recommendations based on ethereum network conditions
  • Ethereum transaction confirmation time estimator
  • Real-time network ether transcation fee & network stats

Gwei to Ether Unit Converter

  • Easy 'one-input' conversions for all 10 Ether units

  • 3 Primary Ether units: Ether to Gwei; Ether to Finney; Ether to Wei 

  • 2 Ether-Fiat conversions: Ether to USD, Ether to Eur

EtherScan Gas Tracker

  • ​Safe-low Gwei Price Estimator

  • Proposed Gwei/Gas Price

  • Ethereum network block count

  • Transaction Confirmation Duration Estimate 

Gwei to USD Converter

  • Gwei to fiat conversions: USD, CAD, EUR, GBP and more

  • Gwei to Ether conversion

  • Supports all 10 ethereum unit conversions + fiat conversions

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

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 attack – which 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

Is Proof Of Stake Less Resource Intensive Than PoW?

So, Mike – a Mango reader –  emailed me with this question a few days ago:

​

“ Hey Shawn, I enjoyed your explanation on Sharding. Thank you. But now I’m  trying to understand what makes Proof Of Stake less resource intensive than Proof Of Work? Doesn’t the verification process need to take place the same way? ”

This is actually a really good question, Mike! It shows that your understanding is growing deeper. Your asking the right questions!

Yes, PoW and PoS conduct the validation/verification of transactions similarly. As such, Proof Of Stake  consumes just as much resources to verifiy transactions as Proof Of Work does.

However, it’s important to note that the “verification of transactions” is not what makes Proof Of Work resource intensive. It is the Cryptographic Puzzle  – required to be solved by all miners –  that consumes a large majority of the resources.

The PoW Puzzle – The Real Resource Hog

Many of us tend to believe that it's the validation of transactions consumes the resources. In truth, the majority of the resources is consumed while solving the Cryptographic Puzzle - which has nothing to do with the validation/verification of transactions.

In fact, Proof Of Work and other consensus methods are more concerned with the ordering of transactions than the "validation" of transactions. The ordering of transactions is resolved by getting miners to solve the Cryptographic Puzzle.

Miners solve the cryptographic puzzle in order to win the “right” to place their block next on the chain. And it’s the solving for the "cryptographic puzzle" that is computationally intensive - not the verifications transactions.  

In fact, Verifying the transactions is trivial compared to solving the cryptographic puzzle. Proof Of Stake eliminates the need for miners to solve the Cryptographic Puzzle – and hence eliminates the intense resource computation required.​

The PoW “Lottery” vs PoS “Lottery”

A couple of weeks ago, I explained Proof Of Work’s Puzzle using the Reverse Lottery Analogy.

In brief, Proof Of Work uses the Cryptographic Puzzle to setup a lottery. The winner of the lottery gets to place the next block in the blockchain – and everyone else agrees on it.  To win the lottery, miners have to churn numbers after numbers repeatedly until they generate the winning number. This process is extremely resource intensive.

The PoW Lottery System: Think of it this way –  the miners in this lottery know the winning number but they can’t forcefully print the number. Numbers on their ticket are printed randomly. So all they can do is keep printing tickets until they print the winning number.  The ‘printer’, however, consumes a lot of electricity – and hence the process can get really resource intensive.

The PoS Lottery System: Ethereum’s Proof Of Stake, however, doesn’t use a Reverse Lottery System. Instead, they use a normal lottery. In this lottery, each Ether token represents a lottery ticket. “Miners” (in Ethereum’s case we call them Validators)  simply place their Ether tokens in the lottery jar. We then simply shake the jar and pick the winner. The more tokens you have in the jar, the higher your chance of getting picked. (This is similar to having more hashpower in Proof Of Work)​​

And Voila! – we eliminate the intensive resource consumption.

Concluding Thoughts

Keep in mind – this is article is not claiming that Proof of Stake is better than Proof Of Work. Making a claim like that would show disregard for the multitude of use-cases for Blockchain and DLTs.  There are pros and cons for both consensus methods – and there will always be tradeoffs. In fact, the intense resources consumed by PoW can be stated as a positive aspect when pertaining to Immutability.  Here's a simple & well written article on Immutability in PoW that I recommend reading.

At MangoResearch, our community seeks to understand and educate ourselves – and not engage in futile debates.

Did this post help you?

Help Us Keep Doing What We Do Best!

Tip Jar 🙂

BTC: 3LrzDr7ZYQ5xWAKnweM1XuUAvU5YEkF7Zb

ETH: 0x87ba0C08910Dbd3b93D74A2A3b61d78A3C2dbDab

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

No menu items have been found.
No menu items have been found.
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: Security, Decentralization

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
Page 2 of 2
>