SlideShare a Scribd company logo
1 of 25
www.luxoft.com
The Blockchain land:
Is there Consensus over Consensus?
Vasily Suvorov, VP Technology Strategy
Dec 6, 2016
www.luxoft.com
Blockchain Confusion – the Hype
Media creates public perception
2
Decentralized
Immutable
Anonymous
Trustless
Public
Instant
Free
Eliminates Middleman
Reduces Risks
New Internet
www.luxoft.com 3
www.luxoft.com
An honest view on Blockchain Challenges
Hype makes customers cynical
No platform consolidation yet
Platforms are often immature
Lack of balanced advice:
- Appropriateness of blockchain
- Platform selection
- Application design
Currently @investment stage
4
THE BLOCKCHAIN ‘HYPE-CYCLE’
www.luxoft.com 5
Can we talk about blockchain
without the Hype?
www.luxoft.com
What is Distributed Ledger Technology? (AKA Blockchain)
Decentralized Storage Technology that:
 Connects participants in a business
ecosystem without a central entity
or intermediary
 Maintains real-time, add-only,
unchangeable ledger and history of
transactions
 Automates business rules execution
Made possible by a unique combination of
Peer-to-peer communications,
Strong encryption,
Distributed consensus and
Smart contracts
www.luxoft.com
Blockchain 101
7
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
www.luxoft.com
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
The key to Confusion - Consensus
8
<send Bob 10BTC> <Bob has +10 BTC>
www.luxoft.com
Application-Specific Parts of Blockchain
9
DATA/STATE SYNCHRONIZATION
TRANSACTIONS
SEQUENCE
UNIQUE
FINGERPRINT
MAGIC NUMBER
CONTENT
RE-USABLE
DIGITAL
SIGNATURES
TRANSACTION
VALIDATION
CONSENSUS
SPECIFIC
www.luxoft.com
Platform Selection and Business Mapping Framework (4C Model*)
10
CONTENT
CONSENSUS
COMMUNICATIONS
CONTRACT How can we animate the immutable
record so that events trigger actions?
How can we agree the immutable
record of transactions?
What kind of assets will be
in the transactions?
Which entities create and propagate
transactions?
SHARED
LEDGER
SHARED LEDGER
APPLICATIONS
CONSENUSCOMPUTER
(*Source: Consult Hyperion 2015)
www.luxoft.com
4C Model applied to Technology Selection (Example)
11
P2P TCP
Proof of Work / Permissionless
Chain of Blocks
(UTXO, Merkle tree)
Simple Scripts
(Opcodes)
gRPC
(bi-directional streaming)
PBFT (SIEVE) / NoOP / PKI
Ledger
(World State, Blocks)
Chaincode
(any language, VM)CONTRACTS
CONTENT
COMMUNICATIONS
CONSENSUS
DISTRIBUTED
LEDGER TECHNOLOGY
www.luxoft.com 12
Consensus is the most fundamental part of the DLT/Blockchain tech
and yet
poorly understood
www.luxoft.com 13
www.luxoft.com
Consensus – Technical Meaning
14
Consensus Reached
state state
www.luxoft.com
Consensus – Technical Meaning (contd.)
15
State Replication Techniques for Distributed Systems
Impossible to guarantee
consensus
using a deterministic algorithm in
asynchronous systems
even if only one node is faulty
Consensus is
required
to guarantee
consistency
among different
replicas
(Fischer, M. J.; Lynch, N. A.; Paterson, M. S. (1985).
www.luxoft.com
Consensus – Computer Science to the Rescue
16
Lots of prior art (from ca 1978)
And new research
Paxos (1998)
Raft (2013
)
PBFT (1999)
SIEVE
(2016)
BASE (2003)
CBASE (2004)
UpRight (2009)
Tangaroa (2016)
Zyzzyva (2007)
Ripple (2014)
BFT-SMaRt (2013)
XFT(2015)
Stellar(2015)
BlockDAG(2015)
Tangle (2016)
Tezos (2014) Casper(2015)
Rex (2014) Kadena (2016)
www.luxoft.com
Consensus techniques – What do we know?
17
Node Scalability
Performance
< 100 tx/s
High
Latency
> 10K tx/s
Network
Latency
< 20 nodes > 1000 nodes
XFT Parallel BFT
Optimistic BFT
Hybrid BFT
Randomized BFT
Stellar
BlockDAG
(inclusive BC)
Bitcoin-NG
GHOST PoW
Bitcoin POW
(Source: The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication, IBM Research 2015)
Research is
Needed!
Kadena/ScalableBFT
Tendermint
www.luxoft.com
Revisiting Performance – PoC in domestic interbank payments
18
Japanese Blockchain Study Group
• Actual daily volume of interbank payments in
2012 was about 1.35 billion transactions
• Requires at least 216 TX/s
• 1500 TX/s Achieved ( few seconds latency)
• bitFlyer developed a PBFT like consensus
(Source: Report on Practical Experiment of Blockchain Technology in Japanese Domestic Interbank Payment Operation, 30/11/16)
• PoC scope
• Simple Payment Operations
• Same Day Credit Transfer
• (customer & Interbank)
• Post-Dated Credit Transfers
• Reports on transfers
• Clearing and Settlement out of Scope
Max 144 Banks
www.luxoft.com
Tendermint BFT
(source: http://tendermint.com/intro/consensus-overview)
• Validators are permissioned/curated
• Mostly Asynchronous*
• < 1/3 Byzantine Nodes
• >1000 TX/s (14K Tx/s @ 4Val, 1Fault)
• Generic State Replication Engine
• TSMP API for developing apps
(* timeouts for proposal, skip validator)
Used by:
• Monax (Eris Industries)
Example of a BFT Consensus
www.luxoft.com
Chain of Ledgers on Curated Network
Key Characteristics
• BFT up to 20% of nodes
• 2 phase process
• Multiple Rounds Voting
• Ledger publishing
• Heuristics (timers, etc)
• Time to vote is adjusted
• 5 sec avg Ledger Conf Time
• Network is Curated
• Trusted Validators Sets(UNL)
• Quorum is maintained
• Network partitions
• Faulty Nodes Pruning
• Payment fee spiking
• Respond to load
• Consesus process is logged
Final
50% 60% 70% 80%
Candidate
Ripple Consensus Overview
www.luxoft.com
Evolution of permissionless Blockchain Performance
Removing the need for PoW through Game Theory
Main idea: shift economic burden to an Attacker
• Only Validators with a stake can vote
• All stakes make a rewards ‘fund’
• Trust only the current set of ‘bonded’ Validators
• Clients need to keep track of the list
• Consensus Process is logged
• Bad behavior is punished (slashing)
• Censorship / Cartel*
• Non-Convergence
• Reversion
• Invalidity
Casper SC
Pick a Val.
Reward/Penalty
Finality Bet.
Pay Stake
Chain with most
money-at-loss
Casper Proof of Stake (PoS)
www.luxoft.com
Public DLT where all nodes are ‘miners’
Enabling economic ecosystem for devices
• No Blocks and No Chain – Tangle!
• History is stored in Directional Acyclical Graph (DAG)
• Designed for Micropayments and Data Transfer/Integrity
• Consensus Process is probabilistic
• Liveliness is ensured via Game Theory
• To send own transactions a node must ‘mine’
• Select two Tips* and approve
• Run PoW & Broadcast result
• Bad behavior is punished
• Non-active nodes are dropped
• ‘Lazy’ miners’ transactions are ignored*
Tip
Tip
(*Note: Assuming Markov Chain Monte Carlo ‘walker’ algorithm is used)
Tangle – the DLT for IoT
www.luxoft.com
Next Gen, Decentralized EDI Technology
Making Smart Contracts Enforceable and Data Private
• No Single Blockchain or DLT
• DLT is maintained by Nodes, Flow(s) manage
relationships between nodes
• DLTs can be connected, if deals are related
• Notary & Oracle Services are defined
• Sophisticated Identity Services
• Smart Contracts iterate over state
• Business process (Flow) updates a state
• State transition (input > output) is logged
• Multiple Fin related classes are pre-defined
• Business prose (PDF) is attached
• Consensus is pluggable
• Notaries can be validating or not
• Notaries can run a BFT or CFT (Raft) protocol
• Notaries can be regional or global (Network Map)
Party A Party B
Notary
Oracle
Flow
Flow
Flow
Flow
Corda – network of DLTs
www.luxoft.com
 Blockchain Tech (or DLT) is not magical!
 Many useful applications are possible but
need proper design tradeoffs
 Further research and co-operation is
needed to avoid fail fast, fail forever
outcome
 Don’t re-invent the wheel – build on existing
knowledge and contribute back!
The Future is
decentralized
but
It’s still a work in
progress
Summary
www.luxoft.com
Thank You!
&
Questions?

More Related Content

What's hot

Dgw birch eris_presentation
Dgw birch eris_presentationDgw birch eris_presentation
Dgw birch eris_presentationPreston J. Byrne
 
CBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primerCBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primerBlockstrap.com
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform businessLet's Learn Digital
 
Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)Qais Ammari
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rezrezeva
 
The ABC of Blockchain Tech : Crypto,NFTs and the UN SDGs
The ABC of Blockchain Tech : Crypto,NFTs and the UN SDGsThe ABC of Blockchain Tech : Crypto,NFTs and the UN SDGs
The ABC of Blockchain Tech : Crypto,NFTs and the UN SDGsJonathan Ajah
 
Blockchain Economic Theory
Blockchain Economic TheoryBlockchain Economic Theory
Blockchain Economic TheoryMelanie Swan
 
Understand Bitcoin in 5 minutes
Understand Bitcoin in 5 minutesUnderstand Bitcoin in 5 minutes
Understand Bitcoin in 5 minutesPatrick Bucquet
 
Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...
Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...
Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...Melanie Swan
 
Blockchain technology and applications from a financial perspective
Blockchain technology and applications from a financial perspectiveBlockchain technology and applications from a financial perspective
Blockchain technology and applications from a financial perspectiveVittorio Zinetti
 
Blockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger TechnologiesBlockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger TechnologiesHoward Smith
 
Bitcoin, Blockchain, and Distributed Ledger Technology: Hype or Reality
Bitcoin, Blockchain, and Distributed Ledger Technology: Hype or RealityBitcoin, Blockchain, and Distributed Ledger Technology: Hype or Reality
Bitcoin, Blockchain, and Distributed Ledger Technology: Hype or RealityFerdinando Maria Ametrano
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Blockchain technology and its’ usecases in computer networks
Blockchain technology and its’ usecases in computer networksBlockchain technology and its’ usecases in computer networks
Blockchain technology and its’ usecases in computer networksSabidur Rahman
 
Building decentralized apps: Battle of the tech stacks
Building decentralized apps: Battle of the tech stacksBuilding decentralized apps: Battle of the tech stacks
Building decentralized apps: Battle of the tech stacksBlockStars.io
 
9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO
9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO
9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IOBlockStars.io
 
FirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapFirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapRichard Warren
 

What's hot (20)

Dgw birch eris_presentation
Dgw birch eris_presentationDgw birch eris_presentation
Dgw birch eris_presentation
 
CBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primerCBGTBT - Part 1 - Workshop introduction & primer
CBGTBT - Part 1 - Workshop introduction & primer
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform business
 
Blockchain bootcamp for boards
Blockchain bootcamp for boardsBlockchain bootcamp for boards
Blockchain bootcamp for boards
 
Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)Blockchain explained (Technology running Bitcoin)
Blockchain explained (Technology running Bitcoin)
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
Basic blockchain
Basic blockchainBasic blockchain
Basic blockchain
 
The ABC of Blockchain Tech : Crypto,NFTs and the UN SDGs
The ABC of Blockchain Tech : Crypto,NFTs and the UN SDGsThe ABC of Blockchain Tech : Crypto,NFTs and the UN SDGs
The ABC of Blockchain Tech : Crypto,NFTs and the UN SDGs
 
Blockchain Economic Theory
Blockchain Economic TheoryBlockchain Economic Theory
Blockchain Economic Theory
 
Understand Bitcoin in 5 minutes
Understand Bitcoin in 5 minutesUnderstand Bitcoin in 5 minutes
Understand Bitcoin in 5 minutes
 
Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...
Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...
Bitcoin Protocols 1.0 and 2.0 Explained in the Series: Blockchain: The Inform...
 
Blockchain technology and applications from a financial perspective
Blockchain technology and applications from a financial perspectiveBlockchain technology and applications from a financial perspective
Blockchain technology and applications from a financial perspective
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain Introduction
 
Blockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger TechnologiesBlockchain in 2016 - Advanced Distributed Ledger Technologies
Blockchain in 2016 - Advanced Distributed Ledger Technologies
 
Bitcoin, Blockchain, and Distributed Ledger Technology: Hype or Reality
Bitcoin, Blockchain, and Distributed Ledger Technology: Hype or RealityBitcoin, Blockchain, and Distributed Ledger Technology: Hype or Reality
Bitcoin, Blockchain, and Distributed Ledger Technology: Hype or Reality
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business Applications
 
Blockchain technology and its’ usecases in computer networks
Blockchain technology and its’ usecases in computer networksBlockchain technology and its’ usecases in computer networks
Blockchain technology and its’ usecases in computer networks
 
Building decentralized apps: Battle of the tech stacks
Building decentralized apps: Battle of the tech stacksBuilding decentralized apps: Battle of the tech stacks
Building decentralized apps: Battle of the tech stacks
 
9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO
9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO
9 BUILDING BLOCKS FOR A SUCCESSFUL BLOCKCHAIN INDUSTRY | BLOCKSTARS.IO
 
FirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapFirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market Map
 

Similar to Structured approach to blockchain and consensus techniques

Introduction to Consensus techniques
Introduction to Consensus techniques Introduction to Consensus techniques
Introduction to Consensus techniques Vasiliy Suvorov
 
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...FIWARE
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractThanh Nguyen
 
Introducing r3 corda™ a distributed ledger designed for financial services
Introducing r3 corda™  a distributed ledger designed for financial servicesIntroducing r3 corda™  a distributed ledger designed for financial services
Introducing r3 corda™ a distributed ledger designed for financial servicesRazi Rais
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusAudrius Ramoska
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding BlockchainTony Willenberg
 
FIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTs
FIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTsFIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTs
FIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTsFIWARE
 
Introducing Moonbeam: A Smart Contract Parachain with Ethereum Compatibility
Introducing Moonbeam: A Smart Contract Parachain with Ethereum CompatibilityIntroducing Moonbeam: A Smart Contract Parachain with Ethereum Compatibility
Introducing Moonbeam: A Smart Contract Parachain with Ethereum CompatibilityPureStake
 
Chronicle accelerate building a digital currency
Chronicle accelerate   building a digital currencyChronicle accelerate   building a digital currency
Chronicle accelerate building a digital currencyPeter Lawrey
 
Benefits of developing an NFT Marketplace on the Avalanche marketplace
Benefits of developing an NFT Marketplace on the Avalanche marketplaceBenefits of developing an NFT Marketplace on the Avalanche marketplace
Benefits of developing an NFT Marketplace on the Avalanche marketplaceSeven Bits Technologies
 
Network Security and Visibility through NetFlow
Network Security and Visibility through NetFlowNetwork Security and Visibility through NetFlow
Network Security and Visibility through NetFlowLancope, Inc.
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfssusera441c2
 
Blockchain workshop 101
Blockchain workshop 101Blockchain workshop 101
Blockchain workshop 101Karthikeyan VK
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architectedIBM Sverige
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Networkcharles okaformbah
 
Connecting the Dots: How Blockchains Can Interoperate with Polkadot
Connecting the Dots: How Blockchains Can Interoperate with PolkadotConnecting the Dots: How Blockchains Can Interoperate with Polkadot
Connecting the Dots: How Blockchains Can Interoperate with PolkadotPureStake
 
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain PlatformKlaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platformif kakao
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4LennartF
 
Intro to Web3 and Polygon.pdf
Intro to Web3 and Polygon.pdfIntro to Web3 and Polygon.pdf
Intro to Web3 and Polygon.pdfTinaBregovi
 

Similar to Structured approach to blockchain and consensus techniques (20)

Introduction to Consensus techniques
Introduction to Consensus techniques Introduction to Consensus techniques
Introduction to Consensus techniques
 
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
Introducing r3 corda™ a distributed ledger designed for financial services
Introducing r3 corda™  a distributed ledger designed for financial servicesIntroducing r3 corda™  a distributed ledger designed for financial services
Introducing r3 corda™ a distributed ledger designed for financial services
 
Hashgraph as Code
Hashgraph as CodeHashgraph as Code
Hashgraph as Code
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensus
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
FIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTs
FIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTsFIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTs
FIWARE Wednesday Webinars - Integrating FIWARE with Blockchain/DLTs
 
Introducing Moonbeam: A Smart Contract Parachain with Ethereum Compatibility
Introducing Moonbeam: A Smart Contract Parachain with Ethereum CompatibilityIntroducing Moonbeam: A Smart Contract Parachain with Ethereum Compatibility
Introducing Moonbeam: A Smart Contract Parachain with Ethereum Compatibility
 
Chronicle accelerate building a digital currency
Chronicle accelerate   building a digital currencyChronicle accelerate   building a digital currency
Chronicle accelerate building a digital currency
 
Benefits of developing an NFT Marketplace on the Avalanche marketplace
Benefits of developing an NFT Marketplace on the Avalanche marketplaceBenefits of developing an NFT Marketplace on the Avalanche marketplace
Benefits of developing an NFT Marketplace on the Avalanche marketplace
 
Network Security and Visibility through NetFlow
Network Security and Visibility through NetFlowNetwork Security and Visibility through NetFlow
Network Security and Visibility through NetFlow
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdf
 
Blockchain workshop 101
Blockchain workshop 101Blockchain workshop 101
Blockchain workshop 101
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Network
 
Connecting the Dots: How Blockchains Can Interoperate with Polkadot
Connecting the Dots: How Blockchains Can Interoperate with PolkadotConnecting the Dots: How Blockchains Can Interoperate with Polkadot
Connecting the Dots: How Blockchains Can Interoperate with Polkadot
 
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain PlatformKlaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Intro to Web3 and Polygon.pdf
Intro to Web3 and Polygon.pdfIntro to Web3 and Polygon.pdf
Intro to Web3 and Polygon.pdf
 

More from Vasiliy Suvorov

Cordacon 2018 - Cordentity - Hyperledger Indy + Corda
Cordacon 2018 -   Cordentity - Hyperledger Indy + CordaCordacon 2018 -   Cordentity - Hyperledger Indy + Corda
Cordacon 2018 - Cordentity - Hyperledger Indy + CordaVasiliy Suvorov
 
Verifiable Credentials, Self Sovereign Identity and DLTs
Verifiable Credentials, Self Sovereign Identity and DLTs Verifiable Credentials, Self Sovereign Identity and DLTs
Verifiable Credentials, Self Sovereign Identity and DLTs Vasiliy Suvorov
 
Blockchain Summit Zug 2018 - Task Force Recommendations
Blockchain Summit Zug 2018 - Task Force RecommendationsBlockchain Summit Zug 2018 - Task Force Recommendations
Blockchain Summit Zug 2018 - Task Force RecommendationsVasiliy Suvorov
 
Blockchain for Automotive Industry
Blockchain for Automotive IndustryBlockchain for Automotive Industry
Blockchain for Automotive IndustryVasiliy Suvorov
 
Blockchain based approach to KYC sharing
Blockchain based approach to KYC sharingBlockchain based approach to KYC sharing
Blockchain based approach to KYC sharingVasiliy Suvorov
 
IOTA Introduction for Hack the Valley attendees
IOTA Introduction for Hack the Valley attendeesIOTA Introduction for Hack the Valley attendees
IOTA Introduction for Hack the Valley attendeesVasiliy Suvorov
 

More from Vasiliy Suvorov (6)

Cordacon 2018 - Cordentity - Hyperledger Indy + Corda
Cordacon 2018 -   Cordentity - Hyperledger Indy + CordaCordacon 2018 -   Cordentity - Hyperledger Indy + Corda
Cordacon 2018 - Cordentity - Hyperledger Indy + Corda
 
Verifiable Credentials, Self Sovereign Identity and DLTs
Verifiable Credentials, Self Sovereign Identity and DLTs Verifiable Credentials, Self Sovereign Identity and DLTs
Verifiable Credentials, Self Sovereign Identity and DLTs
 
Blockchain Summit Zug 2018 - Task Force Recommendations
Blockchain Summit Zug 2018 - Task Force RecommendationsBlockchain Summit Zug 2018 - Task Force Recommendations
Blockchain Summit Zug 2018 - Task Force Recommendations
 
Blockchain for Automotive Industry
Blockchain for Automotive IndustryBlockchain for Automotive Industry
Blockchain for Automotive Industry
 
Blockchain based approach to KYC sharing
Blockchain based approach to KYC sharingBlockchain based approach to KYC sharing
Blockchain based approach to KYC sharing
 
IOTA Introduction for Hack the Valley attendees
IOTA Introduction for Hack the Valley attendeesIOTA Introduction for Hack the Valley attendees
IOTA Introduction for Hack the Valley attendees
 

Recently uploaded

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 

Recently uploaded (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 

Structured approach to blockchain and consensus techniques

  • 1. www.luxoft.com The Blockchain land: Is there Consensus over Consensus? Vasily Suvorov, VP Technology Strategy Dec 6, 2016
  • 2. www.luxoft.com Blockchain Confusion – the Hype Media creates public perception 2 Decentralized Immutable Anonymous Trustless Public Instant Free Eliminates Middleman Reduces Risks New Internet
  • 4. www.luxoft.com An honest view on Blockchain Challenges Hype makes customers cynical No platform consolidation yet Platforms are often immature Lack of balanced advice: - Appropriateness of blockchain - Platform selection - Application design Currently @investment stage 4 THE BLOCKCHAIN ‘HYPE-CYCLE’
  • 5. www.luxoft.com 5 Can we talk about blockchain without the Hype?
  • 6. www.luxoft.com What is Distributed Ledger Technology? (AKA Blockchain) Decentralized Storage Technology that:  Connects participants in a business ecosystem without a central entity or intermediary  Maintains real-time, add-only, unchangeable ledger and history of transactions  Automates business rules execution Made possible by a unique combination of Peer-to-peer communications, Strong encryption, Distributed consensus and Smart contracts
  • 9. www.luxoft.com Application-Specific Parts of Blockchain 9 DATA/STATE SYNCHRONIZATION TRANSACTIONS SEQUENCE UNIQUE FINGERPRINT MAGIC NUMBER CONTENT RE-USABLE DIGITAL SIGNATURES TRANSACTION VALIDATION CONSENSUS SPECIFIC
  • 10. www.luxoft.com Platform Selection and Business Mapping Framework (4C Model*) 10 CONTENT CONSENSUS COMMUNICATIONS CONTRACT How can we animate the immutable record so that events trigger actions? How can we agree the immutable record of transactions? What kind of assets will be in the transactions? Which entities create and propagate transactions? SHARED LEDGER SHARED LEDGER APPLICATIONS CONSENUSCOMPUTER (*Source: Consult Hyperion 2015)
  • 11. www.luxoft.com 4C Model applied to Technology Selection (Example) 11 P2P TCP Proof of Work / Permissionless Chain of Blocks (UTXO, Merkle tree) Simple Scripts (Opcodes) gRPC (bi-directional streaming) PBFT (SIEVE) / NoOP / PKI Ledger (World State, Blocks) Chaincode (any language, VM)CONTRACTS CONTENT COMMUNICATIONS CONSENSUS DISTRIBUTED LEDGER TECHNOLOGY
  • 12. www.luxoft.com 12 Consensus is the most fundamental part of the DLT/Blockchain tech and yet poorly understood
  • 14. www.luxoft.com Consensus – Technical Meaning 14 Consensus Reached state state
  • 15. www.luxoft.com Consensus – Technical Meaning (contd.) 15 State Replication Techniques for Distributed Systems Impossible to guarantee consensus using a deterministic algorithm in asynchronous systems even if only one node is faulty Consensus is required to guarantee consistency among different replicas (Fischer, M. J.; Lynch, N. A.; Paterson, M. S. (1985).
  • 16. www.luxoft.com Consensus – Computer Science to the Rescue 16 Lots of prior art (from ca 1978) And new research Paxos (1998) Raft (2013 ) PBFT (1999) SIEVE (2016) BASE (2003) CBASE (2004) UpRight (2009) Tangaroa (2016) Zyzzyva (2007) Ripple (2014) BFT-SMaRt (2013) XFT(2015) Stellar(2015) BlockDAG(2015) Tangle (2016) Tezos (2014) Casper(2015) Rex (2014) Kadena (2016)
  • 17. www.luxoft.com Consensus techniques – What do we know? 17 Node Scalability Performance < 100 tx/s High Latency > 10K tx/s Network Latency < 20 nodes > 1000 nodes XFT Parallel BFT Optimistic BFT Hybrid BFT Randomized BFT Stellar BlockDAG (inclusive BC) Bitcoin-NG GHOST PoW Bitcoin POW (Source: The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication, IBM Research 2015) Research is Needed! Kadena/ScalableBFT Tendermint
  • 18. www.luxoft.com Revisiting Performance – PoC in domestic interbank payments 18 Japanese Blockchain Study Group • Actual daily volume of interbank payments in 2012 was about 1.35 billion transactions • Requires at least 216 TX/s • 1500 TX/s Achieved ( few seconds latency) • bitFlyer developed a PBFT like consensus (Source: Report on Practical Experiment of Blockchain Technology in Japanese Domestic Interbank Payment Operation, 30/11/16) • PoC scope • Simple Payment Operations • Same Day Credit Transfer • (customer & Interbank) • Post-Dated Credit Transfers • Reports on transfers • Clearing and Settlement out of Scope Max 144 Banks
  • 19. www.luxoft.com Tendermint BFT (source: http://tendermint.com/intro/consensus-overview) • Validators are permissioned/curated • Mostly Asynchronous* • < 1/3 Byzantine Nodes • >1000 TX/s (14K Tx/s @ 4Val, 1Fault) • Generic State Replication Engine • TSMP API for developing apps (* timeouts for proposal, skip validator) Used by: • Monax (Eris Industries) Example of a BFT Consensus
  • 20. www.luxoft.com Chain of Ledgers on Curated Network Key Characteristics • BFT up to 20% of nodes • 2 phase process • Multiple Rounds Voting • Ledger publishing • Heuristics (timers, etc) • Time to vote is adjusted • 5 sec avg Ledger Conf Time • Network is Curated • Trusted Validators Sets(UNL) • Quorum is maintained • Network partitions • Faulty Nodes Pruning • Payment fee spiking • Respond to load • Consesus process is logged Final 50% 60% 70% 80% Candidate Ripple Consensus Overview
  • 21. www.luxoft.com Evolution of permissionless Blockchain Performance Removing the need for PoW through Game Theory Main idea: shift economic burden to an Attacker • Only Validators with a stake can vote • All stakes make a rewards ‘fund’ • Trust only the current set of ‘bonded’ Validators • Clients need to keep track of the list • Consensus Process is logged • Bad behavior is punished (slashing) • Censorship / Cartel* • Non-Convergence • Reversion • Invalidity Casper SC Pick a Val. Reward/Penalty Finality Bet. Pay Stake Chain with most money-at-loss Casper Proof of Stake (PoS)
  • 22. www.luxoft.com Public DLT where all nodes are ‘miners’ Enabling economic ecosystem for devices • No Blocks and No Chain – Tangle! • History is stored in Directional Acyclical Graph (DAG) • Designed for Micropayments and Data Transfer/Integrity • Consensus Process is probabilistic • Liveliness is ensured via Game Theory • To send own transactions a node must ‘mine’ • Select two Tips* and approve • Run PoW & Broadcast result • Bad behavior is punished • Non-active nodes are dropped • ‘Lazy’ miners’ transactions are ignored* Tip Tip (*Note: Assuming Markov Chain Monte Carlo ‘walker’ algorithm is used) Tangle – the DLT for IoT
  • 23. www.luxoft.com Next Gen, Decentralized EDI Technology Making Smart Contracts Enforceable and Data Private • No Single Blockchain or DLT • DLT is maintained by Nodes, Flow(s) manage relationships between nodes • DLTs can be connected, if deals are related • Notary & Oracle Services are defined • Sophisticated Identity Services • Smart Contracts iterate over state • Business process (Flow) updates a state • State transition (input > output) is logged • Multiple Fin related classes are pre-defined • Business prose (PDF) is attached • Consensus is pluggable • Notaries can be validating or not • Notaries can run a BFT or CFT (Raft) protocol • Notaries can be regional or global (Network Map) Party A Party B Notary Oracle Flow Flow Flow Flow Corda – network of DLTs
  • 24. www.luxoft.com  Blockchain Tech (or DLT) is not magical!  Many useful applications are possible but need proper design tradeoffs  Further research and co-operation is needed to avoid fail fast, fail forever outcome  Don’t re-invent the wheel – build on existing knowledge and contribute back! The Future is decentralized but It’s still a work in progress Summary