Tech News, Magazine & Review WordPress Theme 2017
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • Trading
    • Blockchain
    • Futuremash
    • Regulators
    • Scams
    • Crypto 101
  • HODLX
    • Latest Stories
    • FAQ
    • Submit Your Guest Blog
  • CRYPTO LIVEWIRE
    • Latest
    • Press Releases
    • ChainWire
    • Sponsored Posts
    • Submit Your Content
  • BEGINNERS
    • What Is Bitcoin?
    • What Is Blockchain?
    • What Does Hodl Mean?
    • How to Pay Your Bills with Bitcoin
    • Best Bitcoin FAQs
    • Example of Bitcoin’s Purpose
    • Cryptocurrency Has Multiple Meanings
    • Authenticator Alert – Securing Your Crypto
  • SUBMIT
    • Guest Blog
    • Press release
    • Sponsored post
  • EXPLORE
    • eToro
  • DAILY HODL MIX
No Result
View All Result
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • Trading
    • Blockchain
    • Futuremash
    • Regulators
    • Scams
    • Crypto 101
  • HODLX
    • Latest Stories
    • FAQ
    • Submit Your Guest Blog
  • CRYPTO LIVEWIRE
    • Latest
    • Press Releases
    • ChainWire
    • Sponsored Posts
    • Submit Your Content
  • BEGINNERS
    • What Is Bitcoin?
    • What Is Blockchain?
    • What Does Hodl Mean?
    • How to Pay Your Bills with Bitcoin
    • Best Bitcoin FAQs
    • Example of Bitcoin’s Purpose
    • Cryptocurrency Has Multiple Meanings
    • Authenticator Alert – Securing Your Crypto
  • SUBMIT
    • Guest Blog
    • Press release
    • Sponsored post
  • EXPLORE
    • eToro
  • DAILY HODL MIX
No Result
View All Result
The Daily Hodl
No Result
View All Result

What Is Casper: The Friendly Haunting of Ethereum

by Wilton Thornburg
June 22, 2018
in Crypto101
‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎

‎‎‎ ‏‏‎

Casper is an anticipated upgrade to the Ethereum network and is a Proof of Stake (PoS) protocol that will finalize blocks to the Ethereum blockchain (The End of Mining: Ethereum’s Move to Proof-of-Stake)

Casper, Son of GHOST

To some extent, Casper is the son of GHOST, or Greedy Heaviest Observed Subtree. Introduced to the Ethereum ecosystem in 2013, the protocol combats centralization. Fast blockchain networks create stale blocks, also known as orphan blocks; Ethereum refers to them as “uncles” to distinguish them from parent and child blocks.

Ghost 1

Uncle blocks verify as valid, but the network discards them as a longer chain becomes dominant. If only the fastest, most powerful miners always win by creating the longest chain, centralization would creep into the network. Consequently, Ethereum chooses to reward the creation of uncles so that more nodes than just the most powerful have a say in the building of the chain. For more detail on the GHOST protocol, see this explanation:  What is the GHOST protocol for Ethereum?

Consensus Protocols That Go Bump in the Night

Blockchains document an immutable record of truth, so adding a new block with a minimum potential for shenanigans becomes paramount. Consensus protocols determine how the chain adds blocks. Proof of Work (PoW) and Proof of Stake (PoS) are the most common consensus protocols. In PoW, miners add blocks to a chain by solving a computational puzzle which wins a contest against other miners.

Miners with faster, more powerful hardware have an advantage. This erodes decentralization of the network and open security vulnerabilities to be exploited. PoS utilizes game theory concepts to create incentives for good behavior and minimize bad behavior. Rather than miners competing against each other, PoS provides validators who post a deposit (a stake) for authority to propose blocks to add. If the validator misbehaves, punishment ensues and his deposit gets slashed.

PoW consumes a large amount of electricity in practice. Also, miners want to buy the most powerful hardware possible to maximize their chance of winning the contest. PoS implementations reduce or potentially eliminate restrictive hardware and energy costs.

The Shift from the Graveyard

The Casper protocol is a PoS algorithm for Ethereum. A validator deposits a stake into a smart contract.  He then runs a node to participate in the consensus algorithm to propose new blocks to the chain. This keeps the network running. Casper the Friendly Finality Gadget (CFFG) finalizes the blocks to the chain. Validators receive rewards for behaving correctly, but the system slashes deposits of a validator who acts badly.

Ghost 2
Casper provides accountability by detecting violations, knowing which validators violated the rules, and punishing those violators. It also provides a safe process for new validators to enter the system and existing validators to leave the system. Security defenses are integral to Casper.

Casper exists as an independent module and lives on top of a proposal mechanism. For Ethereum, the current underlying proposal mechanism is PoW. The first iteration of Casper will sit on top of Ethereum’s existing PoW consensus mechanism. This will make it a hybrid PoW/PoS system. The underlying PoW mechanism lends itself to upgrade to something else in the future. Some form of round-robin approach may replace the PoW component.

What Was That Creaking Sound?

From a security perspective, it is also true that as a modular overlay, if attackers compromise or corrupt the block proposal mechanism underneath it, then Casper is powerless. As long as Casper continues to receive valid and reasonable inputs from the proposal mechanism, it would continue to function as normal. The security of PoS is based on game theoretical concepts of rewards and punishments.

As such, security derives from the size of the deposits validators entrust to the system. Risk equals reward. If a dishonest validator sees an opportunity to steal 5 ether, but it will cost him 100 ether out of his deposit, honest behavior ensues. Conversely, if a dishonest validator sees an opportunity to steal 100 ether, but will only have 5 ether slashed out of his deposit, he will likely just see it as the cost of doing business.

The Rattling of Chains

As a network mechanism, Casper must ensure the integrity of the blockchain and must always be in operation.

“Accountable safety” and “plausible liveness” define two fundamental properties of Casper. Accountable safety prevents two conflicting checkpoints from being finalized unless at least 1/3 of validators violate the rules. Plausible liveness guarantees that it will always be possible to finalize a new checkpoint without any validator violating any rules if at least 2/3 of validators follow the protocol.

In standard PoW designs, the longest chain is always definitive. Casper is more complex, and edge cases exist where simply going with the longest chain would be harmful. Consequently, Casper implements more complex logic that looks at root nodes of the tree of checkpoints and chooses the longest chain meeting that criteria.

Whistling Past the Blockchain Yard

Casper depends on game theory, and development of the protocol is heavily dependent on research and mathematics. It is a complex system of many details. On November 15, 2017, Vitalik Buterin and Virgil Griffith published technical details on the system in a paper entitled “Casper The Friendly Finality Gadget”, which can be found here:  Casper The Friendly Finality Gadget

An undated and apparently earlier document utilizing the same title but containing very different content and authored solely by Vitalik Buterin resides on Vitalik’s own website. This document covers some of the other potential security exploits Casper would mitigate and can be found here:  Casper The Friendly Finality Gadget

Ghost 3

An introduction to Casper written by Vlad Zamfir appeared on the Ethereum blog on August 1, 2015:  Introducing Casper “the Friendly Ghost”

Do You Have Any Last Words?

The PoW consensus algorithm succeeded. Blocks insert into the chain, and users trust the resulting chain to be accurate. However, the process is slow, consumes a lot of electricity, and to be competitive miners need to invest in powerful hardware. Casper’s PoS approach utilizes game theory to alleviate these problems and ensure security.

Ghost 4

Casper may encounter some bumps in the night, but with the flexibility of being a modular overlay mechanism, fixing problems and coding enhancements are simplified. At a minimum, Casper provides innovative thinking based on research and mathematics and will likely provide ideas for further innovation.

This article by Wilton Thornburg was originally published by CoinCentral, our media partner.

Wilton Thornburg
Wilton Thornburg is a software engineer, currently based in the greater Boston area.

 

 

ADVERTISEMENT


Check Latest News Headlines


Disclaimer: Opinions expressed at The Daily Hodl are not investment advice. Investors should do their due diligence before making any high-risk investments in Bitcoin, cryptocurrency or digital assets. Please be advised that your transfers and trades are at your own risk, and any loses you may incur are your responsibility. The Daily Hodl does not recommend the buying or selling of any cryptocurrencies or digital assets, nor is The Daily Hodl an investment advisor. Please note that The Daily Hodl participates in affiliate marketing.
Submit a Press Release

Crypto Livewire – Press Releases

  • MakiSwap Raises $1.4M From Leading Investors to Build AMM Platform on Huobi Eco Chain
    April 14, 2021
  • DigitalBits To Become Premier Choice for NFTs After Litemint Partnership
    April 13, 2021
  • Ethernity Chain Launches Authenticated NFT Marketplace to Curtail Fraud
    April 13, 2021
  • ConsenSys-Backed Virtue Poker Raises $5 Million Strategic Round
    April 12, 2021
  • Cometh Partners With Alchemix for “Wizards” Collection of Yield-Generating NFTs
    April 9, 2021
  • eToro Appoints Dr. Hedva Ber, Israel’s Former Banking Supervisor, As Deputy CEO and Global COO
    April 8, 2021
  • Blockchain Provider Orbs Is Now Accessible Through the AWS Marketplace
    April 8, 2021
Submit a Guest Post
ADVERTISEMENT
ADVERTISEMENT
Bitcoin
$63,125.00
$63,125.00
0.93%
Ethereum
$2,473.45
$2,473.45
5.68%
Binance Coin
$544.92
$544.92
4.22%
XRP
$1.76
$1.76
2.47%
Polkadot
$42.81
$42.81
2.81%
Cardano
$1.44
$1.44
0.86%

Spotlight

  • Bitcoin Past Point of Potential Ban, Says SEC Commissioner Hester Peirce
    April 10, 2021
  • Kraken’s Jesse Powell Warns of Looming Government Crackdown on Bitcoin and Crypto Assets
    April 14, 2021
  • Crypto Giant Grayscale 100% Committed To Convert Its Bitcoin Trust Into ETF
    April 7, 2021
  • Bitcoin Market Cap Will Likely Never Dip Below $1,000,000,000,000, Says On-Chain Analyst Willy Woo
    April 11, 2021

DON’T MISS A BEAT

Crypto headlines delivered daily
to your inbox
BTC, ETH, XRP news alert options

By joining The Daily Hodl news list you agree to our
Terms and Conditions and Privacy Policy.

Check your inbox for confirmation email.

Cryptocurrency news and analysis, covering Bitcoin, Ethereum, Ripple, XRP, altcoins and blockchain technology

Categories

Bitcoin • Ethereum • Trading •
Ripple and XRP • Altcoins •
Blockchain • Regulators •
Scams • Crypto101 • HodlX • Explore • Futuremash •
Crypto Livewire

ABOUT US | EDITORIAL POLICY | PRIVACY POLICY
TERMS AND CONDITIONS | CONTACT

JOIN US ON TELEGRAM

JOIN US ON TWITTER

JOIN US ON FACEBOOK

COPYRIGHT © 2017-2021 THE DAILY HODL

No Result
View All Result
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • Trading
    • Blockchain
    • Futuremash
    • Regulators
    • Scams
    • Crypto 101
  • HODLX
    • Latest Stories
    • FAQ
    • Submit Your Guest Blog
  • CRYPTO LIVEWIRE
    • Latest
    • Press Releases
    • ChainWire
    • Sponsored Posts
    • Submit Your Content
  • BEGINNERS
    • What Is Bitcoin?
    • What Is Blockchain?
    • What Does Hodl Mean?
    • How to Pay Your Bills with Bitcoin
    • Best Bitcoin FAQs
    • Example of Bitcoin’s Purpose
    • Cryptocurrency Has Multiple Meanings
    • Authenticator Alert – Securing Your Crypto
  • SUBMIT
    • Guest Blog
    • Press release
    • Sponsored post
  • EXPLORE
    • eToro
  • DAILY HODL MIX

© 2020 The Daily Hodl

×