Lecture 3 - Decentralisation Fundamentals, Distributed consensus, Incentives Schemes Flashcards

1
Q

What is meant by immutable coins?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Can a technology/product both be centralized and decentralized?

A

Yes, it can (kinda)

E-mail: decentralized protocol, but dominated by centralized webmail services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you define distributed consensus?

A

The protocol terminates and all correct nodes decide on the same value
This value must have been proposed by some correct node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bitcoin is peer-to-peer. True or False

A

True!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is consensus hard?

A
Nodes may crash
Nodes may be malicious
Network is imperfect
• Not all pairs of nodes connected
• Faults in network 
• Latency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain the steps of a consensus algorithm

A
  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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Protection against invalid transactions is cryptographic, but enforced by consensus. True or False

A

True!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Protection against double-spending is purely by consensus

A

True!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You can be 100% sure a transaction is in consensus branch.

A

False! Guarantee is probabilistic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is meant by block incentives?

A

We can give nodes incentives for behaving honestly/Non-malicious

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some examples of incentives?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the properties of PoW?

A

Property 1: Difficult to compute

Property 2: Parameterizable cost

Property 3: Trivial to verify

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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?
A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why are Bitcoin miners trying to get more and more computing power?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Both Proof-of-Work and Proof-of-Stake have miners. True or False

A

False! PoW has miners, PoS has validators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name two consensus protocols that we have been talking a lot about

A

Proof-of-work and Proof-of-stake

17
Q

Explain Proof of Stake

A

In proof of stake consensus, a validator is picked and assigned a block. The validator has to allocate a particular part of his cryptocurrency to start validating. If the validator succeeds in invalidating the transaction, then the award is the stake they had pledged initially, along with certain transaction fees. This is a way to penalize bad behavior and incentivize good behavior.