Download - De git à la blockchain
![Page 2: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/2.jpg)
Victor SabatierFreelance Web and mobile
developper.
Build stuff using Meteor, React and React native.
Love learning and sharing
Snowcamp 2017 - @sabativi
![Page 3: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/3.jpg)
Plan :1. Deeper look into git
2. How Blockchain works ?3. Links between the two4. Bonus and conclusion
Snowcamp 2017 - @sabativi
![Page 5: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/5.jpg)
Some advantages :· Local operations.
· Integrity.· Everyone has a copy of the
entire repo.· Few operations are
destructive.
Snowcamp 2017 - @sabativi
![Page 7: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/7.jpg)
A functional data structure is an immutable data structure.
Snowcamp 2017 - @sabativi
![Page 27: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/27.jpg)
On internet, all trades are done with financial
institutionsSnowcamp 2017 - @sabativi
![Page 29: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/29.jpg)
Exchange money without the need of a central
trusted partySnowcamp 2017 - @sabativi
![Page 32: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/32.jpg)
How to reach a concensus on a peer to peer Network ?
Snowcamp 2017 - @sabativi
![Page 33: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/33.jpg)
Problems to solve· Identification ?
· Enough money ?· How to avoid double
spending ?
Snowcamp 2017 - @sabativi
![Page 34: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/34.jpg)
Every transaction is signed with a private key.
Snowcamp 2017 - @sabativi
![Page 35: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/35.jpg)
Transactions have inputs that reference
previous outputs transactions.
Snowcamp 2017 - @sabativi
![Page 45: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/45.jpg)
We cannot depend on time as it is easily
falsifiable.Snowcamp 2017 - @sabativi
![Page 48: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/48.jpg)
Answer to a Mathematical problem
Hard to solve, easy to verify.
Snowcamp 2017 - @sabativi
![Page 49: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/49.jpg)
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
![Page 51: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/51.jpg)
First person to find a solution will broadcast the block to the
networkSnowcamp 2017 - @sabativi
![Page 59: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/59.jpg)
We have replace Trust in Finance by trust in Math.
Snowcamp 2017 - @sabativi
![Page 63: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/63.jpg)
· 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
![Page 64: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/64.jpg)
· 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
![Page 65: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/65.jpg)
In Git content mattersregardless of the branch,
in Blockchain consensus mattersregardless of the content.
Snowcamp 2017 - @sabativi
![Page 67: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/67.jpg)
From Bitcoin to GitcoinOr how to turn a git repository into a blockchain
Snowcamp 2017 - @sabativi
![Page 71: De git à la blockchain](https://reader031.vdocuments.us/reader031/viewer/2022030123/58a3e2281a28ab7f0b8b6363/html5/thumbnails/71.jpg)
I have constructed this presentation with3 :· Bitcoin under the hood
· Mastering Bitcoin· Original paper
· Coursera· Git is a purely functional data structure
· Stripe challenge3 Icons made by Freepik from [Flaticon]
Snowcamp 2017 - @sabativi