This document discusses how Bitcoin achieves decentralization through distributed consensus. It covers several key aspects:
1) Bitcoin uses a peer-to-peer network where anyone can participate as a node to maintain the shared transaction ledger. New bitcoins are created through a mining process where nodes validate transactions.
2) Bitcoin relies on distributed consensus protocols to validate transactions and prevent double spending without centralized authorities. Reaching consensus is challenging due to potential node failures and attacks.
3) Bitcoin's blockchain uses a proof-of-work system and random block selection to implicitly achieve consensus. This provides incentives for honest node behavior through block rewards and transaction fees.
An introduction to Blockchain and covering :
-Blockchain vs cryptocurrency
-Bitcoin vs Ethereum
-Real life and industrial examples
-Business example
-Benefits & challenges
Merkle Tree and Merkle root are explained which are the backbone of blockchain. It is a special type of data structure in blockchain technology which is completely built using Cryptographic Hash functions
An introduction to Blockchain and covering :
-Blockchain vs cryptocurrency
-Bitcoin vs Ethereum
-Real life and industrial examples
-Business example
-Benefits & challenges
Merkle Tree and Merkle root are explained which are the backbone of blockchain. It is a special type of data structure in blockchain technology which is completely built using Cryptographic Hash functions
Bitcoin has exploded in popularity and skyrocketed in value. Proponents of blockchain, the technology that makes cryptocurrency possible, now want to apply it to a wide range of other applications like identity management, verifiable records and digital assets such as stocks. Is the industry building new systems on a cryptographically weak foundation? What threats does blockchain face?
(Source: RSA Conference USA)
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Simplilearn
This presentation on "Blockchain Interview Questions And Answers" will help you prepare for Blockchain engineer interviews. This video is ideal for both beginners as well as professionals who are appearing for Blockchain interviews. Once you’ve lined up a job interview with a potential employer, you’ll have an opportunity to study that particular organization and their use of Blockchain technology. That can help you to prepare for specific Blockchain interview questions relevant to that employer. Until then, you can prepare for more general Blockchain interview questions by knowing how to demonstrate your broader knowledge of the implications and applications of Blockchain Technology. Learn what are the most important Blockchain interview questions and answers and know what will set you apart in the interview process.
Simplilearn’s Blockchain Certification Training has been designed for developers who want to decipher the global craze surrounding Blockchain, Bitcoin and cryptocurrencies. You’ll learn the core structure and technical mechanisms of Bitcoin, Ethereum, Hyperledger and Multichain Blockchain platforms, use the latest tools to build Blockchain applications, set up your own private Blockchain, deploy smart contracts on Ethereum and gain practical experience with real-world projects.
Why learn Blockchain?
Blockchain technology is the brainchild of Satoshi Nakamoto, which enables digital information to be distributed. A network of computing nodes makes up the Blockchain. Durability, robustness, success rate, transparency, incorruptibility are some of the enticing characteristics of Blockchain. By design, Blockchain is a decentralized technology which is used by a global network of the computer to manage Bitcoin transactions easily. Many new business applications will result in the usage of Blockchain such as Crowdfunding, smart contracts, supply chain auditing, etc.
This Blockchain Certification course offers a hands-on training covering relevant topics in cryptocurrency and the wider Blockchain space. From a technological standpoint, you will develop a strong grasp of core Blockchain platforms, understand what Bitcoin is and how it works, learn key vocabulary and concepts commonly used when discussing Blockchain and understand why engineers are motivated to create an app with Ethereum.
The Blockchain Certification Training Course is recommended for:
1. Developers
2. Technologists interested in learning Ethereum, Hyperledger and Blockchain
3. Technology architects wanting to expand their skills to Blockchain technology
4. Professionals curious to learn how Blockchain technology can change the way we do business
5. Entrepreneurs with technology background interested in realizing their business ideas on the Blockchain
Learn more at: https://www.simplilearn.com/
Presentation on blockchains for Webbdagarna in Gothenburg, Sweden and for BISS (Brightlands Smart Services Campus) in Heerlen, the Netherlands in September 2016
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsGautam Anand
We will focus on understanding "Proof of Stake (PoS)" Algorithm, how it different from "Proof of Work" algorithm, the performance benefits and security overview. We will also discuss the upcoming blockchain protocols that are planning to move to PoS.
This presentation Blockchain will help you understand what is block, how to add 2 blocks at the same time, forks, areas where Blockchain is used, future of Blockchain and at the end you will also see a use case on smart contract. A blockchain is a digitized, decentralized, public ledger of Bitcoin transactions. The technology verifies transactions and creates a “chain” of blocks of data including a timestamp that is linked to other blocks so one block can’t be changed. In simple words, Blockchain is a list of records (blocks) which stores data publicly and in chronological order and mining is the process of adding a block to the Blockchain. Now, let us get started and understand what is Blockchain and its features.
Below topics are explained in this Blockchain presentation:
1. The candidate Block
2. Byzantime fault tolerance
3. Adding 2 blocks at the same time
4. Forks
- Soft forks
- Hard forks
5. Other areas where Blockchain is used
6. The future of Blockchain
7. Blockchain jobs
8. Use case: Movie ratings smart contract
Simplilearn’s Blockchain Certification Training has been designed for developers who want to decipher the global craze surrounding Blockchain, Bitcoin and cryptocurrencies. You’ll learn the core structure and technical mechanisms of Bitcoin, Ethereum, Hyperledger and Multichain Blockchain platforms, use the latest tools to build Blockchain applications, set up your own private Blockchain, deploy smart contracts on Ethereum and gain practical experience with real-world projects.
Why learn Blockchain?
Blockchain technology is the brainchild of Satoshi Nakamoto, which enables digital information to be distributed. A network of computing nodes makes up the Blockchain. Durability, robustness, success rate, transparency, incorruptibility are some of the enticing characteristics of Blockchain. By design, Blockchain is a decentralized technology which is used by a global network of the computer to manage Bitcoin transactions easily. Many new business applications will result in the usage of Blockchain such as Crowdfunding, smart contracts, supply chain auditing, etc.
The Blockchain Certification Training Course is recommended for:
1. Developers
2. Technologists interested in learning Ethereum, Hyperledger and Blockchain
3. Technology architects wanting to expand their skills to Blockchain technology
4. Professionals curious to learn how Blockchain technology can change the way we do business
5. Entrepreneurs with technology background interested in realizing their business ideas on the Blockchain
Learn more at: https://www.simplilearn.com/
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...Edureka!
This Edureka Blockchain training will give you a fundamental understanding regrading Blockchain and Bitcoin.
This session will help you learn following topics:
1. Current Existing Monetary System
2. How can Blockchain and Bitcoin help?
3. What is Blockchain?
4. Blockchain concepts
5. Bitcoin Transaction
6. Blockchain features
7. Blockchain Use Case
8. Demo: Bitcoin Transaction
Cybersecurity aspects of blockchain and cryptocurrencyTony Martin-Vegue
Slides from Tony Martin-Vegue's presentation at PRMIA 2018 Risk Management and Regulatory Compliance Round Table in San Francisco, CA | April 11, 2018
"Cybersecurity Aspects of Blockchain and Cryptocurrency"
Abstract:
Many companies are considering blockchain technologies to make transactions faster, more secure and cost effective. If you are performing risk analysis on these emerging technologies, you ask be asking yourself: how do I even start to analyze risk when there are so many unknowns? A successful analysis requires a paradigm shift in thinking into two areas: casting aside the defense-in-depth metaphor to describe security controls; and, how we assess and analyze risk of new and emerging technologies that have a high degree of uncertainty.
This talk will cover how to reframe your assessments for emerging technologies, such as blockchain, and how risk quantification methodologies such as Factor Analysis of Information Risk (FAIR) can help answer some of these questions and produce a credible risk assessment.
Bitcoin is a digital, decentralized, partially anonymous currency, not backed by any government or other legal entity, and not redeemable for gold or other commodity. It relies on peer-to-peer networking and cryptography to maintain its integrity. A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution. Digital signatures provide part of the solution, but the main benefits are lost if a trusted third party is still required to prevent double-spending.
This course covers in detail the technical principles & concepts behind blockchain. In addition, it seeks to provide you with the insights and deep understanding of the various components of blockchain technology, and enables you to determine for yourself how to best leverage and exploit blockchain for your project, organisation or start-up.
Link - https://www.experfy.com/training/courses/blockchain-technology-fundamentals
Blockchain Overview, What is Blockchain, Why Blockchain, How Blockchain will change the world, concepts of Blockchain are explained like Consensus, Distributed Ledger, Blockchain use cases and more
Bitcoin has exploded in popularity and skyrocketed in value. Proponents of blockchain, the technology that makes cryptocurrency possible, now want to apply it to a wide range of other applications like identity management, verifiable records and digital assets such as stocks. Is the industry building new systems on a cryptographically weak foundation? What threats does blockchain face?
(Source: RSA Conference USA)
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Simplilearn
This presentation on "Blockchain Interview Questions And Answers" will help you prepare for Blockchain engineer interviews. This video is ideal for both beginners as well as professionals who are appearing for Blockchain interviews. Once you’ve lined up a job interview with a potential employer, you’ll have an opportunity to study that particular organization and their use of Blockchain technology. That can help you to prepare for specific Blockchain interview questions relevant to that employer. Until then, you can prepare for more general Blockchain interview questions by knowing how to demonstrate your broader knowledge of the implications and applications of Blockchain Technology. Learn what are the most important Blockchain interview questions and answers and know what will set you apart in the interview process.
Simplilearn’s Blockchain Certification Training has been designed for developers who want to decipher the global craze surrounding Blockchain, Bitcoin and cryptocurrencies. You’ll learn the core structure and technical mechanisms of Bitcoin, Ethereum, Hyperledger and Multichain Blockchain platforms, use the latest tools to build Blockchain applications, set up your own private Blockchain, deploy smart contracts on Ethereum and gain practical experience with real-world projects.
Why learn Blockchain?
Blockchain technology is the brainchild of Satoshi Nakamoto, which enables digital information to be distributed. A network of computing nodes makes up the Blockchain. Durability, robustness, success rate, transparency, incorruptibility are some of the enticing characteristics of Blockchain. By design, Blockchain is a decentralized technology which is used by a global network of the computer to manage Bitcoin transactions easily. Many new business applications will result in the usage of Blockchain such as Crowdfunding, smart contracts, supply chain auditing, etc.
This Blockchain Certification course offers a hands-on training covering relevant topics in cryptocurrency and the wider Blockchain space. From a technological standpoint, you will develop a strong grasp of core Blockchain platforms, understand what Bitcoin is and how it works, learn key vocabulary and concepts commonly used when discussing Blockchain and understand why engineers are motivated to create an app with Ethereum.
The Blockchain Certification Training Course is recommended for:
1. Developers
2. Technologists interested in learning Ethereum, Hyperledger and Blockchain
3. Technology architects wanting to expand their skills to Blockchain technology
4. Professionals curious to learn how Blockchain technology can change the way we do business
5. Entrepreneurs with technology background interested in realizing their business ideas on the Blockchain
Learn more at: https://www.simplilearn.com/
Presentation on blockchains for Webbdagarna in Gothenburg, Sweden and for BISS (Brightlands Smart Services Campus) in Heerlen, the Netherlands in September 2016
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsGautam Anand
We will focus on understanding "Proof of Stake (PoS)" Algorithm, how it different from "Proof of Work" algorithm, the performance benefits and security overview. We will also discuss the upcoming blockchain protocols that are planning to move to PoS.
This presentation Blockchain will help you understand what is block, how to add 2 blocks at the same time, forks, areas where Blockchain is used, future of Blockchain and at the end you will also see a use case on smart contract. A blockchain is a digitized, decentralized, public ledger of Bitcoin transactions. The technology verifies transactions and creates a “chain” of blocks of data including a timestamp that is linked to other blocks so one block can’t be changed. In simple words, Blockchain is a list of records (blocks) which stores data publicly and in chronological order and mining is the process of adding a block to the Blockchain. Now, let us get started and understand what is Blockchain and its features.
Below topics are explained in this Blockchain presentation:
1. The candidate Block
2. Byzantime fault tolerance
3. Adding 2 blocks at the same time
4. Forks
- Soft forks
- Hard forks
5. Other areas where Blockchain is used
6. The future of Blockchain
7. Blockchain jobs
8. Use case: Movie ratings smart contract
Simplilearn’s Blockchain Certification Training has been designed for developers who want to decipher the global craze surrounding Blockchain, Bitcoin and cryptocurrencies. You’ll learn the core structure and technical mechanisms of Bitcoin, Ethereum, Hyperledger and Multichain Blockchain platforms, use the latest tools to build Blockchain applications, set up your own private Blockchain, deploy smart contracts on Ethereum and gain practical experience with real-world projects.
Why learn Blockchain?
Blockchain technology is the brainchild of Satoshi Nakamoto, which enables digital information to be distributed. A network of computing nodes makes up the Blockchain. Durability, robustness, success rate, transparency, incorruptibility are some of the enticing characteristics of Blockchain. By design, Blockchain is a decentralized technology which is used by a global network of the computer to manage Bitcoin transactions easily. Many new business applications will result in the usage of Blockchain such as Crowdfunding, smart contracts, supply chain auditing, etc.
The Blockchain Certification Training Course is recommended for:
1. Developers
2. Technologists interested in learning Ethereum, Hyperledger and Blockchain
3. Technology architects wanting to expand their skills to Blockchain technology
4. Professionals curious to learn how Blockchain technology can change the way we do business
5. Entrepreneurs with technology background interested in realizing their business ideas on the Blockchain
Learn more at: https://www.simplilearn.com/
Blockchain Training | Blockchain Tutorial for Beginners | Blockchain Technolo...Edureka!
This Edureka Blockchain training will give you a fundamental understanding regrading Blockchain and Bitcoin.
This session will help you learn following topics:
1. Current Existing Monetary System
2. How can Blockchain and Bitcoin help?
3. What is Blockchain?
4. Blockchain concepts
5. Bitcoin Transaction
6. Blockchain features
7. Blockchain Use Case
8. Demo: Bitcoin Transaction
Cybersecurity aspects of blockchain and cryptocurrencyTony Martin-Vegue
Slides from Tony Martin-Vegue's presentation at PRMIA 2018 Risk Management and Regulatory Compliance Round Table in San Francisco, CA | April 11, 2018
"Cybersecurity Aspects of Blockchain and Cryptocurrency"
Abstract:
Many companies are considering blockchain technologies to make transactions faster, more secure and cost effective. If you are performing risk analysis on these emerging technologies, you ask be asking yourself: how do I even start to analyze risk when there are so many unknowns? A successful analysis requires a paradigm shift in thinking into two areas: casting aside the defense-in-depth metaphor to describe security controls; and, how we assess and analyze risk of new and emerging technologies that have a high degree of uncertainty.
This talk will cover how to reframe your assessments for emerging technologies, such as blockchain, and how risk quantification methodologies such as Factor Analysis of Information Risk (FAIR) can help answer some of these questions and produce a credible risk assessment.
Bitcoin is a digital, decentralized, partially anonymous currency, not backed by any government or other legal entity, and not redeemable for gold or other commodity. It relies on peer-to-peer networking and cryptography to maintain its integrity. A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution. Digital signatures provide part of the solution, but the main benefits are lost if a trusted third party is still required to prevent double-spending.
This course covers in detail the technical principles & concepts behind blockchain. In addition, it seeks to provide you with the insights and deep understanding of the various components of blockchain technology, and enables you to determine for yourself how to best leverage and exploit blockchain for your project, organisation or start-up.
Link - https://www.experfy.com/training/courses/blockchain-technology-fundamentals
Blockchain Overview, What is Blockchain, Why Blockchain, How Blockchain will change the world, concepts of Blockchain are explained like Consensus, Distributed Ledger, Blockchain use cases and more
Blockchain in Practice, ETH Computational Social Science, Fall 2019Rafael Kallis
Presentation of a seminar talk at ETH aimed at bringing participants to understand how tightly connected systems lead to networked risks, and why this can imply systems we do not understand and cannot control well, thereby causing systemic risks and extreme events.
Blockchain overview, use cases, implementations and challengesSébastien Tandel
Most know about Bitcoin, the well-known crypto-currency. Less know the details about the underlying and enabling technology, Blockchain.
Hopefully, this presentation provides enough insights to understand blockchain concepts and why it's perceived to potentially disrupt many market segments, from retail to governments, from finance to health care. At last, I hope to brush fairly the many challenges of this rather new technology.
Can we safely adapt the construction of permissionless blockchain to user dem...I MT
"Can we safely adapt the construction of permissionless blockchain to user demand ?" par Emmanuelle ANCEAUME (CNRS), lors de la journée Futur & Ruptures du 31 janvier 2019.
Cryptomania! The Past and Future of Digital Distributed ConsensusDallas Kennedy
August 2018 ● Survey of distributed consensus on digital networks, its relationship to the rise of cryptocurrencies such as Bitcoin and Ethereum, possible applications
Virtual or digital currencies, with Bitcoin chief amongst them, have been gaining momentum and investment over the last couple of years. Offering an almost costless means of making payments around the globe, virtual currencies have the potential to bring significant disruption to the banking industry. This potential is not lost on either Bitcoin startups or banks themselves. But how does Bitcoin actually work? A peer-to-peer network maintains the “blockchain”, an innovative cryptographic protocol which securely mediates payments between parties without mutual trust. This session will step through the structure of the blockchain, showing how it solves the “double spend” problem and allows decentralised processing of financial transactions. Whether Bitcoin will become the currency of the internet or it’s a bubble that is doomed to burst sooner or later, the blockchain itself will change the face of transactional banking and perhaps other industries along the way.
Presentation to the Sydney Financial Mathematics Workshop (11 March 2015)
http://www.qgroup.org.au/content/bitcoin-banking-and-blockchain
The Blockchain - The Technology behind Bitcoin Jérôme Kehrli
The blockchain and blockchain related topics are becoming increasingly discussed and studied nowadays. There is not one single day where I don't hear about it, that being on linkedin or elsewhere.
I interested myself deeply in the blockchain topic recently and this is the first article of a coming whole serie around the blockchain.
This presentation is an introduction to the blockchain, presents what it is in the light of its initial deployment in the Bitcoin project as well as all technical details and architecture concerns behind it.
We won't focus here on business applications aside from what is required to present the blockchain purpose, more concrete business applications and evolutions will be the topic of another presentation I'll post in a few weeks
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
Introduction to Blockchain and Bitcoin technologies
Things we will cover,
* What is TRANSACTION ?
* BlockChain !!!……Never heard what is that??
* The BTC Aka BitCoins
* Who discovered?
* How it works?
* Advantages & Disadvantages
* Applications
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Executive Directors Chat Leveraging AI for Diversity, Equity, and InclusionTechSoup
Let’s explore the intersection of technology and equity in the final session of our DEI series. Discover how AI tools, like ChatGPT, can be used to support and enhance your nonprofit's DEI initiatives. Participants will gain insights into practical AI applications and get tips for leveraging technology to advance their DEI goals.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
4. Decentralization is not all-or-nothing
E-mail:
decentralized protocol, but dominated by
centralized webmail services
5. Aspects of decentralization in Bitcoin
1. Who maintains the ledger?
2. Who has authority over which transactions are valid?
3. Who creates new bitcoins?
4. Who determines how the rules of the system change?
5. How do bitcoins acquire exchange value?
Beyond the protocol:
exchanges, wallet software, service providers...
6. Aspects of decentralization in Bitcoin
Peer-to-peer network:
open to anyone, low barrier to entry
Mining:
open to anyone, but inevitable concentration of power
often seen as undesirable
Updates to software:
core developers trusted by community, have great power
8. Bitcoin’s key challenge
Key technical challenge of decentralized
e-cash: distributed consensus
or: how to decentralize ScroogeCoin
9. Why consensus protocols?
Traditional motivation: reliability in distributed systems
Distributed key-value store enables various applications:
DNS, public key directory, stock trades …
Good targets for Altcoins!
10. Defining distributed consensus
The protocol terminates and all correct nodes decide on
the same value
This value must have been proposed by some correct node
11. Bitcoin is a peer-to-peer system
When Alice wants to pay Bob:
she broadcasts the transaction to all Bitcoin nodes
Pay to pkBob : H( )
signed by Alice
Note: Bob’s computer is not in the picture
12. How consensus could work in Bitcoin
At any given time:
● All nodes have a sequence of blocks of transactions
they’ve reached consensus on
● Each node has a set of outstanding transactions it’s
heard about
13. How consensus could work in Bitcoin
Tx
Tx
…
Tx
Tx
Tx
…
Tx
Tx
Tx
…
Tx
Tx
Tx
…
Tx
Tx
Tx
…
Tx
Tx
Tx
…
Tx Consensus
protocol
OK to select any valid block, even if proposed by only one node
14. Why consensus is hard
Nodes may crash
Nodes may be malicious
Network is imperfect
• Not all pairs of nodes connected
• Faults in network
• Latency
No notion of global time
15. Many impossibility results
• Byzantine generals problem
• Fischer-Lynch-Paterson (deterministic nodes):
consensus impossible with a single faulty node
17. Understanding impossibility results
These results say more about the model than
about the problem
The models were developed to study systems
like distributed databases
18. Bitcoin consensus: theory & practice
Bitcoin consensus works better in practice
than in theory
Theory is still catching up
BUT theory is important, can help predict
unforeseen attacks
19. Some things Bitcoin does differently
Introduces incentives
• Possible only because it’s a currency!
Embraces randomness
• Does away with the notion of a specific end-point
• Consensus happens over long time scales — about 1 hour
22. Why don’t Bitcoin nodes have identities?
Identity is hard in a P2P system — Sybil attack
Pseudonymity is a goal of Bitcoin
23. Weaker assumption: select random node
Analogy: lottery or raffle
When tracking & verifying identities is hard,
we give people tokens, tickets, etc.
Now we can pick a random ID & select that
node
24. Key idea: implicit consensus
In each round, random node is picked
This node proposes the next block in the chain
Other nodes implicitly accept/reject this block
• by either extending it
• or ignoring it and extending chain from earlier block
Every block contains hash of the block it extends
25. Consensus algorithm (simplified)
1. New transactions are broadcast to all nodes
2. Each node collects new transactions into a block
3. In each round a random node gets to broadcast its
block
4. Other nodes accept the block only if all transactions in
it are valid (unspent, valid signatures)
5. Nodes express their acceptance of the block by
including its hash in the next block they create
26. What can a malicious node do?
CA → B
CA → A’
Pay to pkB : H( )
signed by A
Pay to pkA’ : H( )
signed by A
Double-
spending
attack
Honest nodes will extend the longest valid branch
27. From Bob the merchant’s point of view
CA → B
CA → A’
Hear about CA → B transaction
0 confirmations
1 confirmation
double-spend
attempt
3 confirmations
Double-spend probability
decreases exponentially
with # of confirmations
Most common heuristic:
6 confirmations
28. Recap
Protection against invalid transactions is cryptographic,
but enforced by consensus
Protection against double-spending is purely by consensus
You’re never 100% sure a transaction is in consensus branch.
Guarantee is probabilistic
30. Can we give nodes incentives for behaving honestly?
Everything so far is just a distributed consensus protocol
But now we utilize the fact that the currency has value
Assumption of honesty is problematic
Can we penalize the node
that created this block?
Can we reward nodes
that created these blocks?
31. Incentive 1: block reward
Creator of block gets to
• include special coin-creation transaction in the block
• choose recipient address of this transaction
Value is fixed: currently 25 BTC, halves every 4 years
Block creator gets to “collect” the reward only if the
block ends up on long-term consensus branch!
32. There’s a finite supply of bitcoins
Block reward is how
new bitcoins are created
Runs out in 2040. No new
bitcoins unless rules change
Year
Total
bitcoins
in
circulation
First inflection point:
reward halved from 50BTC to 25BTC
Total supply: 21 million
33. Incentive 2: transaction fees
Creator of transaction can choose to make
output value less than input value
Remainder is a transaction fee and goes to
block creator
Purely voluntary, like a tip
34. Remaining problems
1. How to pick a random node?
1. How to avoid a free-for-all due to rewards?
1. How to prevent Sybil attacks?
35. Proof of work
To approximate selecting a random node:
select nodes in proportion to a resource
that no one can monopolize (we hope)
• In proportion to computing power: proof-of-work
• In proportion to ownership: proof-of-stake
36. Equivalent views of proof of work
1. Select nodes in proportion to computing power
1. Let nodes compete for right to create block
1. Make it moderately hard to create new
identities
37. Hash puzzles
To create block, find nonce s.t.
H(nonce ‖ prev_hash ‖ tx ‖ … ‖ tx) is very small
Output space of hash
Target
space If hash function is secure:
only way to succeed is to try enough nonces until you get lucky
nonce
prev_h
Tx
Tx
38. PoW property 1: difficult to compute
As of Aug 2014: about 1020 hashes/block
Only some nodes bother to compete —
miners
39. PoW property 2: parameterizable cost
Nodes automatically re-calculate the target every
two weeks
Goal: average time between blocks = 10 minutes
Prob (Alice wins next block) =
fraction of global hash power she controls
41. Solving hash puzzles is probabilistic
Time to next block (entire network)
Probability
density
10
minutes
42. PoW property 3: trivial to verify
Nonce must be published as part of block
Other miners simply verify that
H(nonce ‖ prev_hash ‖ tx ‖ … ‖ tx) < target
43. Mining economics
Complications:
• fixed vs. variable costs
• reward depends on global hash rate
If mining reward
(block reward + Tx fees)
>
hardware +
electricity cost
→ Profit
48. What can a “51% attacker” do?
Steal coins from existing address?
Suppress some transactions?
• From the block chain
• From the P2P network
Change the block reward?
Destroy confidence in Bitcoin?
✗
✓
✗
✗
✓✓