SlideShare a Scribd company logo
REACHING A CONSENSUS…..
THIS PRESENTATION
WILL COVER THE STORY OF
BYZANTINE GENERALS
& WHY IS IT IMPORTANT FROM A
BLOCKCHAIN PERSPECTIVE?
ATTEMPTING
TO EXPLAIN THE SAME IN A
FORM
FOR EASY
ASSIMILATION
BYZANTINE GENERAL CONSENSUS
IN THE BACK OLD DAYS,THERE WERE TWO
ARMY’S 1 & 2, DESIRING TO ATTACK A
ENEMY FORT
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
CONDITION IS THAT BOTH HAVE TO
ATTACK AT THE SAME TIME,ELSE THEY
LOOSE
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
SO A CONSENSUS IS REQUIRED
(WHAT DAY/TIME TO ATTACK)
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 1 TO 2
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 1 TO 2
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 1 TO 2
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 1 TO 2
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 2 TO 1
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 2 TO 1
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 2 TO 1
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER SENT FROM 2 TO 1
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
BOTH GENERALS AGREE AS PER
EXCHANGE OF MESSAGE
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER IS
BYZANTINE GENERAL CONSENSUS
MESSAGE HAS CHANCES OF
BEING COMPROMISED
BYZANTINE GENERAL CONSENSUS
SECURE COMMUNICATION
REQUIRED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
HOW TO ENSURE GUARANTEED
UNALTERED MESSAGE EXCHANGE?
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
“In fact it was proved indisputably—that
the problem has no true solution.
That's not to say computers cannot
communicate with each other
reliably, but 100% certainty is not
possible. Best efforts simply make
communication very very reliable
but never foolproof.”
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
PROOF OF WORK IS THE ANSWER
BYZANTINE GENERAL CONSENSUS
Proof of Work and connect with BYZANTINE Generals
Hash function takes an input
and returns a fixed-size
alphanumeric string.
Proof of Work and connect with BYZANTINE Generals
Proof of Work and connect with BYZANTINE Generals
Proof of Work and connect with BYZANTINE Generals
ATTACK MONDAY HASH
8cd65c330ce4d0c58a45e676c2d08f0ddca6
c61f3b0a927ade10368d2d5aae6e
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
THE CONDITION IS THAT
THE PREFIX OF THE
OUTPUT HASH SHOULD
BE SUCH THAT THE HASH IS
PREFIXED BY 7 ‘0’s
ATTACK MONDAY HASH
0000000d1a2ea819ed13742fe7
386a34c25bb48e99b1ba8327c3
9551f6da5c01f98
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
ATTACK MONDAY HASH
8cd65c330ce4d0c58a45e676c2d08f0d
dca6c61f3b0a927ade10368d2d5aae6e
0000000d1a2ea819ed13742fe7386a34c25
bb48e99b1ba8327c39551f6da5c01f98
NONCE : 61584
BYZANTINE GENERAL CONSENSUS
NONCE CANNOT BE
CALCULATED BY A
FORMULA,
IT CAN ONLY BE GUESSED
BYZANTINE GENERAL CONSENSUS
DIFFICULT TO CALCULATE
EASY TO VERIFY
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
MESSAGE GOES WITH NONCE
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSAGE GOES WITH NONCE
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSAGE VERIFIED WITH NONCE
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER RETURNS & CONFIRMS
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
MESSENGER RETURNS & CONFIRMS
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
BYZANTINE GENERAL CONSENSUS
CONSENSUS REACHED TO ATTACK AT
A COMMON TIME
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
But our STORY doesn't end here.
BYZANTINE GENERAL CONSENSUS
The town is now well aware of the
tricks that these generals are using, so
they simply purchase a giant
supercomputer and when they catch
a messenger they now have the
computing resources to modify the
nonce so that the seven ‘0’ s property is
satisfied.
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
FORT READY WITH
THAT MUCH COMPUTING
POWER
WE ADD MORE COMPUTING
REQUIREMENTS & MAKE IT
PRACTICALLY IMPOSSIBLE
FOR THE FORT TO SOLVE THE
NONCE
BYZANTINE GENERAL CONSENSUS
What's the connect with
BITCOIN CONSENSUS?
BYZANTINE GENERAL CONSENSUS
Let's now say that there is not
just two generals and one
city, but lots of generals and
lots of cities. Idea works
best when we have many,
many cities
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
https://www.reddit.com/r/Buttcoin/comments/4qa12v/byzantine_generals_proofofwork_for_d
ummies/ SOURCE
BYZANTINE GENERAL CONSENSUS
The generals all combine their many
messages into a SINGLE GIANT
MESSAGE (a "block") which gets but a
SINGLE NONCE at the end of it
SATOSHI'S IDEA IN A NUTSHELL
The new policy is that we need 16
ZEROs instead of only 7, so the hash
of that entire message comes out to
(say) 0000000000000000340291. That's a lot
of ZEROs!
BYZANTINE GENERAL CONSENSUS
INCREASE THE DIFFICULTY LEVEL
BYZANTINE GENERAL CONSENSUS
All Generals Take The Combined Message-
block and set all of their computers to go on
the great nonce hunt. Perhaps there are a
thousand armies, and each army has many
computers. Their combined efforts may find
a working nonce in a reasonable amount
of time.
And it only takes one of them finds the
nonce that satisfies the requirements:
once one finds it, they immediately share it
with all the others.
BYZANTINE GENERAL CONSENSUS
IS THEIR A QUESTION
WORRYING YOU?
BYZANTINE GENERAL CONSENSUS
IS THEIR A QUESTION
WORRYING YOU?
What if all of the cities bought
supercomputers and did the same thing
the generals did, team-up to find a
nonce?
Yes, they could do that, at
considerable expense. (Akin to the
"51% attack" — it works if the cities have
as much or more computing power as all
the armies combined.)
BYZANTINE GENERAL CONSENSUS
It's Not Impossible to Defeat this
scheme, but the generals have made
things very hard on attempts of the
cities by teaming up.
BYZANTINE GENERAL CONSENSUS
So here we are….THE PROOF OF
WORK…HOW IT WORKS FOR THE
BITCOIN?
RUSHED OVER OF A LOT OF CONCEPTS
Lot many
Dots
remain to
be
connected
Proof of Work and connect with BYZANTINE Generals
https://www.reddit.com/r/Buttcoin/comm
ents/4qa12v/byzantine_generals_proofofw
ork_for_dummies/
anupamtiwari@protonmail.com
https://about.me/anupam.tiwari

More Related Content

PPTX
Blockchain-Presentation.pptx
KEY
The descent into the next valley
PPTX
Smashtalk - what is it
PPTX
Economics of Decentalized Currency Systems
PPTX
Blockchain Tutorial For Beginners - 2 | Blockchain Technology | Blockchain Tu...
PPTX
Randomized Byzantine Problem by Rabin
PDF
How Blockchain solves the Byzantine Generals Problem (2).pdf
PDF
How Blockchain solves the Byzantine Generals Problem.pdf
Blockchain-Presentation.pptx
The descent into the next valley
Smashtalk - what is it
Economics of Decentalized Currency Systems
Blockchain Tutorial For Beginners - 2 | Blockchain Technology | Blockchain Tu...
Randomized Byzantine Problem by Rabin
How Blockchain solves the Byzantine Generals Problem (2).pdf
How Blockchain solves the Byzantine Generals Problem.pdf

More from anupriti (20)

PDF
STARLINK-JIO-AIRTEL Security issues to Ponder
PDF
The Future of Materials: Transitioning from Silicon to Alternative Metals
PDF
CHIP MANUFACTURING COMPLEX DEPENDENCY (1).pdf
PDF
USE OF MODERN TECHNOLOGIES IN TERRORISM.pdf
PDF
Blockchain and Cyber Defense Strategies in new genre times
PDF
Data Protection in a Connected World: Sovereignty and Cyber Security
PDF
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
PDF
TALLINN MANUAL & GLOBAL CYBER WARFARE POLICIES
PDF
Cyber Security : An attempt to assimilate and technically understand it
PDF
IETE mid-term symposium on digital forensics and information security : 23 M...
PDF
Coalition of IoT and Blockchain: Rewards and Challenges
PPTX
BLOCKCHAIN ,BITCOIN & CRYPTOCURRENCIES WORLD : MECHANICS AND CYBER CRIME
PDF
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
PDF
BITCOIN FORENSICS : Bsides Delhi Conference
PDF
Hashgraph : An over view with example
PPTX
BITCOIN FORENSICS : HAKON-2017 CONFERENCE
PPTX
Webinar on BITCOIN FORENSICS : BRIGHTTALK
PDF
Bitcoin Forensics
PPTX
Blockchain and Bitcoin : A Technical Overview
PPTX
Equation Group : Advanced Secretive Computer Espionage Group
STARLINK-JIO-AIRTEL Security issues to Ponder
The Future of Materials: Transitioning from Silicon to Alternative Metals
CHIP MANUFACTURING COMPLEX DEPENDENCY (1).pdf
USE OF MODERN TECHNOLOGIES IN TERRORISM.pdf
Blockchain and Cyber Defense Strategies in new genre times
Data Protection in a Connected World: Sovereignty and Cyber Security
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
TALLINN MANUAL & GLOBAL CYBER WARFARE POLICIES
Cyber Security : An attempt to assimilate and technically understand it
IETE mid-term symposium on digital forensics and information security : 23 M...
Coalition of IoT and Blockchain: Rewards and Challenges
BLOCKCHAIN ,BITCOIN & CRYPTOCURRENCIES WORLD : MECHANICS AND CYBER CRIME
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies
BITCOIN FORENSICS : Bsides Delhi Conference
Hashgraph : An over view with example
BITCOIN FORENSICS : HAKON-2017 CONFERENCE
Webinar on BITCOIN FORENSICS : BRIGHTTALK
Bitcoin Forensics
Blockchain and Bitcoin : A Technical Overview
Equation Group : Advanced Secretive Computer Espionage Group
Ad

Recently uploaded (20)

PPTX
the-solar-system.pptxxxxxxxxxxxxxxxxxxxx
PPTX
Safety_Pharmacology_Tier2_Edibbbbbbbbbbbbbbbable.pptx
PDF
Commercial arboriculture Commercial Tree consultant Essex, Kent, Thaxted.pdf
PDF
oppenheimer and the story of the atomic bomb
PDF
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
PPTX
wegen seminar ppt.pptxhkjbkhkjjlhjhjhlhhvg
DOC
NSCAD毕业证学历认证,温哥华岛大学毕业证国外证书制作申请
PPTX
just letters randomized coz i need to up
PDF
Apresentação2 analise estrutual.hhjghjpdf
PDF
Keanu Reeves Beyond the Legendary Hollywood Movie Star.pdf
PPTX
Other Dance Forms - G10 MAPEH Reporting.pptx
PPTX
What Makes an Entertainment App Addictive?
PDF
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
PDF
Ct.pdffffffffffffffffffffffffffffffffffff
PPTX
Understanding Colour Prediction Games – Explained Simply
PDF
How Old Radio Shows in the 1940s and 1950s Helped Ella Fitzgerald Grow.pdf
PPTX
the Honda_ASIMO_Presentation_Updated.pptx
PPTX
shbthd htsh htrw hw htr 5w h5e 54 y.pptx
PPTX
Hacking Movie – Best Films on Cybercrime & Digital Intrigue
PPTX
SPARSH-SVNITs-Annual-Cultural-Fest presentation for orientation
the-solar-system.pptxxxxxxxxxxxxxxxxxxxx
Safety_Pharmacology_Tier2_Edibbbbbbbbbbbbbbbable.pptx
Commercial arboriculture Commercial Tree consultant Essex, Kent, Thaxted.pdf
oppenheimer and the story of the atomic bomb
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
wegen seminar ppt.pptxhkjbkhkjjlhjhjhlhhvg
NSCAD毕业证学历认证,温哥华岛大学毕业证国外证书制作申请
just letters randomized coz i need to up
Apresentação2 analise estrutual.hhjghjpdf
Keanu Reeves Beyond the Legendary Hollywood Movie Star.pdf
Other Dance Forms - G10 MAPEH Reporting.pptx
What Makes an Entertainment App Addictive?
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
Ct.pdffffffffffffffffffffffffffffffffffff
Understanding Colour Prediction Games – Explained Simply
How Old Radio Shows in the 1940s and 1950s Helped Ella Fitzgerald Grow.pdf
the Honda_ASIMO_Presentation_Updated.pptx
shbthd htsh htrw hw htr 5w h5e 54 y.pptx
Hacking Movie – Best Films on Cybercrime & Digital Intrigue
SPARSH-SVNITs-Annual-Cultural-Fest presentation for orientation
Ad

Proof of Work and connect with BYZANTINE Generals