SlideShare a Scribd company logo
1 of 71
Download to read offline
Degità
lablockchain
Snowcamp 2017 - @sabativi
VictorSabatier
Freelance Web and mobile
developper.
Build stuff using Meteor, React
and React native.
Love learning and sharing
victor@reactivic.com
Snowcamp 2017 - @sabativi
Plan:
1. Deeper look into git
2. How Blockchain works ?
3. Links between the two
4. Bonus and conclusion
Snowcamp 2017 - @sabativi
Adeeperlookintogit.
Snowcamp 2017 - @sabativi
Someadvantages:
· Local operations.
· Integrity.
· Everyone has a copy of the
entire repo.
· Few operations are
destructive.
Snowcamp 2017 - @sabativi
Gitispurelyfunctional
datastructure.
Snowcamp 2017 - @sabativi
Afunctionaldatastructureis
animmutabledatastructure.
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Commiting
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Amending
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Branching
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Rebasing
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Blockchain
Snowcamp 2017 - @sabativi
Blockchain
Bitcoin
Snowcamp 2017 - @sabativi
HowisBitcoinworking?
Snowcamp 2017 - @sabativi
WhyBitcoin?
Snowcamp 2017 - @sabativi
Oninternet,alltrades
aredonewithfinancial
institutions
Snowcamp 2017 - @sabativi
Wehavetotrustthem.
Snowcamp 2017 - @sabativi
Exchangemoneywithout
theneedofacentral
trustedparty
Snowcamp 2017 - @sabativi
Howitworks?
Snowcamp 2017 - @sabativi
Decentralizedledger.
Snowcamp 2017 - @sabativi
Howtoreachaconcensus
onapeertopeerNetwork?
Snowcamp 2017 - @sabativi
Problemstosolve
· Identification ?
· Enough money ?
· How to avoid double
spending ?
Snowcamp 2017 - @sabativi
Everytransactionis
signedwithaprivatekey.
Snowcamp 2017 - @sabativi
Transactionshave
inputsthatreference
previousoutputs
transactions.
Snowcamp 2017 - @sabativi
Transactionchain
Snowcamp 2017 - @sabativi
Howtoavoiddouble
spending?
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Orderproblem
Snowcamp 2017 - @sabativi
Howtoagreeonanorder?
Snowcamp 2017 - @sabativi
Wecannotdependon
timeasitiseasily
falsifiable.
Snowcamp 2017 - @sabativi
Blockchain.
Snowcamp 2017 - @sabativi
Block
Snowcamp 2017 - @sabativi
AnswertoaMathematical
problem
Hard to solve, easy to verify.
Snowcamp 2017 - @sabativi
SHA256(block,nonce)<yProof of work 2
2
Due to SHA256 construction, random guess or brute force is your best choice to find a solution.
Snowcamp 2017 - @sabativi
Miners
Snowcamp 2017 - @sabativi
Firstpersontofindasolution
willbroadcasttheblocktothe
network
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Severalpossiblebranches
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
Youalwaysswitchedtothe
longuestbranch.
Snowcamp 2017 - @sabativi
Snowcamp 2017 - @sabativi
WehavereplaceTrustin
FinancebytrustinMath.
Snowcamp 2017 - @sabativi
Halfofnodesmustbehonnest.
Snowcamp 2017 - @sabativi
Linksbetweenblockchain
andgit
Snowcamp 2017 - @sabativi
Isgitablockchain?
Snowcamp 2017 - @sabativi
· Changes are organized in a
chain protected by
cryptographic hashes.
· Distributed storage and
integrity checks.
· Identification is secure.
· Blocks and commits used
Merkle trees internally.
Snowcamp 2017 - @sabativi
· Everyone strives to work on a
single branch.
· No merge, no fork in
blockchain.
· No proof of work in git.
· Limited content on a block.
Snowcamp 2017 - @sabativi
InGitcontentmatters
regardless of the branch,
inBlockchainconsensusmatters
regardless of the content.
Snowcamp 2017 - @sabativi
IsBitcoinagit
repository?
Snowcamp 2017 - @sabativi
FromBitcointoGitcoinOr how to turn a git repository into a blockchain
Snowcamp 2017 - @sabativi
Demo
Snowcamp 2017 - @sabativi
Conclusions
Snowcamp 2017 - @sabativi
Thanksfolks
Q&A
Snowcamp 2017 - @sabativi
Ihaveconstructedthispresentationwith3
:
· Bitcoin under the hood
· Mastering Bitcoin
· Original paper
· Coursera
· Git is a purely functional data structure
· Stripe challenge
3
Icons made by Freepik from [Flaticon]
Snowcamp 2017 - @sabativi

More Related Content

What's hot

Starhub - Recommendation Letter
Starhub - Recommendation LetterStarhub - Recommendation Letter
Starhub - Recommendation Letter
Kevin Ongkowijaya
 
Remixes for local government
Remixes for local governmentRemixes for local government
Remixes for local government
christophfricke
 

What's hot (20)

Apollo GraphQL Workshop
Apollo GraphQL WorkshopApollo GraphQL Workshop
Apollo GraphQL Workshop
 
Lap around ASP.NET 5 - Dayton UG
Lap around ASP.NET 5 - Dayton UGLap around ASP.NET 5 - Dayton UG
Lap around ASP.NET 5 - Dayton UG
 
Api strategy and practice
Api strategy and practiceApi strategy and practice
Api strategy and practice
 
Rack middlewares - ins outs
Rack middlewares - ins outsRack middlewares - ins outs
Rack middlewares - ins outs
 
Principles of Iteration
Principles of IterationPrinciples of Iteration
Principles of Iteration
 
React Native+Expoで作るARアプリ
React Native+Expoで作るARアプリReact Native+Expoで作るARアプリ
React Native+Expoで作るARアプリ
 
Free Your On-Premises Data
Free Your On-Premises DataFree Your On-Premises Data
Free Your On-Premises Data
 
Starhub - Recommendation Letter
Starhub - Recommendation LetterStarhub - Recommendation Letter
Starhub - Recommendation Letter
 
Using Jupyter Notebooks - Developers Forum - AC18
Using Jupyter Notebooks - Developers Forum - AC18Using Jupyter Notebooks - Developers Forum - AC18
Using Jupyter Notebooks - Developers Forum - AC18
 
Graph API Strategies: CQRS for the API Economy
Graph API Strategies: CQRS for the API EconomyGraph API Strategies: CQRS for the API Economy
Graph API Strategies: CQRS for the API Economy
 
TuleapCon2017-keynote
TuleapCon2017-keynoteTuleapCon2017-keynote
TuleapCon2017-keynote
 
2019 12-04 kubernetes in production is hard - cncf tel aviv
2019 12-04 kubernetes in production is hard - cncf tel aviv2019 12-04 kubernetes in production is hard - cncf tel aviv
2019 12-04 kubernetes in production is hard - cncf tel aviv
 
What to Build with Google App Engine
What to Build with Google App EngineWhat to Build with Google App Engine
What to Build with Google App Engine
 
Seminario Cloud computing Ordine di latina - L'offerta di Amazon Web Services
Seminario Cloud computing Ordine di latina - L'offerta di Amazon Web ServicesSeminario Cloud computing Ordine di latina - L'offerta di Amazon Web Services
Seminario Cloud computing Ordine di latina - L'offerta di Amazon Web Services
 
TuleapCon2017-Tuleap-Tracker-Query-Langage
TuleapCon2017-Tuleap-Tracker-Query-LangageTuleapCon2017-Tuleap-Tracker-Query-Langage
TuleapCon2017-Tuleap-Tracker-Query-Langage
 
TuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
TuleapCon2017-CaseStudy_Sleepinnov_Medical_DevicesTuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
TuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
 
A Year of Containers
A Year of ContainersA Year of Containers
A Year of Containers
 
componentDidCatch and Error Boundaries in React v16+
componentDidCatch and Error Boundaries in React v16+componentDidCatch and Error Boundaries in React v16+
componentDidCatch and Error Boundaries in React v16+
 
Modern .NET Apps - Codestock
Modern .NET Apps - CodestockModern .NET Apps - Codestock
Modern .NET Apps - Codestock
 
Remixes for local government
Remixes for local governmentRemixes for local government
Remixes for local government
 

Similar to De git à la blockchain

Similar to De git à la blockchain (20)

Summer 2017
Summer 2017Summer 2017
Summer 2017
 
Logs Are Magic: Why Git Workflows and Commit Structure Should Matter To You
Logs Are Magic: Why Git Workflows and Commit Structure Should Matter To YouLogs Are Magic: Why Git Workflows and Commit Structure Should Matter To You
Logs Are Magic: Why Git Workflows and Commit Structure Should Matter To You
 
Intro scala for rubyists (ironhack)
Intro scala for rubyists (ironhack)Intro scala for rubyists (ironhack)
Intro scala for rubyists (ironhack)
 
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 updateDrupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
 
Hyc program 17.10
Hyc program 17.10Hyc program 17.10
Hyc program 17.10
 
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
 
Denver Cloud Foundry Meetup - February 2016
Denver Cloud Foundry Meetup - February 2016Denver Cloud Foundry Meetup - February 2016
Denver Cloud Foundry Meetup - February 2016
 
DevOps and databases
DevOps and databasesDevOps and databases
DevOps and databases
 
Open-sourcing JavaScript at the City of Amsterdam
Open-sourcing JavaScript at the City of AmsterdamOpen-sourcing JavaScript at the City of Amsterdam
Open-sourcing JavaScript at the City of Amsterdam
 
2017 Hackathon Scality & 42 School
2017 Hackathon Scality & 42 School2017 Hackathon Scality & 42 School
2017 Hackathon Scality & 42 School
 
ATLRUG Community/Giveback Announcments
ATLRUG Community/Giveback AnnouncmentsATLRUG Community/Giveback Announcments
ATLRUG Community/Giveback Announcments
 
Magento 2 Deployment Automation: from 6 hours to 15 minutes - Max Pronko
Magento 2 Deployment Automation: from 6 hours to 15 minutes - Max PronkoMagento 2 Deployment Automation: from 6 hours to 15 minutes - Max Pronko
Magento 2 Deployment Automation: from 6 hours to 15 minutes - Max Pronko
 
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
 
SAP Community Platform State of the Union - 2017
SAP Community Platform State of the Union - 2017SAP Community Platform State of the Union - 2017
SAP Community Platform State of the Union - 2017
 
Icinga Camp Berlin 2017 - Welcome & State of Icinga
Icinga Camp Berlin 2017 - Welcome & State of IcingaIcinga Camp Berlin 2017 - Welcome & State of Icinga
Icinga Camp Berlin 2017 - Welcome & State of Icinga
 
Past, Present and (probable) future of SAP Cloud Platform
Past, Present and (probable) future of SAP Cloud PlatformPast, Present and (probable) future of SAP Cloud Platform
Past, Present and (probable) future of SAP Cloud Platform
 
Serverless Security at LASCON 2017
Serverless Security at LASCON 2017Serverless Security at LASCON 2017
Serverless Security at LASCON 2017
 
Things I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedThings I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I started
 
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
 
Best Practices - By Lofi Dewanto
Best Practices - By Lofi DewantoBest Practices - By Lofi Dewanto
Best Practices - By Lofi Dewanto
 

Recently uploaded

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
David Celestin
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 

Recently uploaded (15)

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 

De git à la blockchain