Lecture 3 - Decentralisation Fundamentals, Distributed consensus, Incentives Schemes Flashcards
What is meant by immutable coins?
Coins can’t be transferred, subdivided, or combined.
But: you can get the same effect by using transactions
- to subdivide: create new trans
- consume your coin
- pay out two new coins to yourself
Can a technology/product both be centralized and decentralized?
Yes, it can (kinda)
E-mail: decentralized protocol, but dominated by centralized webmail services
How do you define distributed consensus?
The protocol terminates and all correct nodes decide on the same value
This value must have been proposed by some correct node
Bitcoin is peer-to-peer. True or False
True!
Why is consensus hard?
Nodes may crash Nodes may be malicious Network is imperfect • Not all pairs of nodes connected • Faults in network • Latency
Explain the steps of a consensus algorithm
- New transactions are broadcast to all nodes
- Each node collects new transactions into a block
- In each round a random node gets to broadcast its block
- Other nodes accept the block only if all transactions in it are valid (unspent, valid signatures)
- Nodes express their acceptance of the block by including its hash in the next block they create
Protection against invalid transactions is cryptographic, but enforced by consensus. True or False
True!
Protection against double-spending is purely by consensus
True!
You can be 100% sure a transaction is in consensus branch.
False! Guarantee is probabilistic
What is meant by block incentives?
We can give nodes incentives for behaving honestly/Non-malicious
What are some examples of incentives?
Block reward
- Example: Bitcoin block creators get 6.25 BTC
Transaction fees
- Creator of transaction can choose to make output value less than input value (Like a tip)
What are the properties of PoW?
Property 1: Difficult to compute
Property 2: Parameterizable cost
Property 3: Trivial to verify
Which of the following 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?
NOT: Steal coins from existing address YES: Supress some transactions from the block chain NOT: from the p2p network NOT: Change the block reward YES: Destroy confidence in bitcoin
Why are Bitcoin miners trying to get more and more computing power?
The higher your hash rate (computing power) is, the higher the change is that you’ll get to create the next block, and thus receive the reward.
This is the Proof of Work structure
Both Proof-of-Work and Proof-of-Stake have miners. True or False
False! PoW has miners, PoS has validators