Lecture 4 Flashcards

1
Q

How does a soft fork arise?

A

when 2 minors solve a block at the same time

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

How is it decided which block is accepted?

A

Longest chain rule, whichever block has another block created on its chain first

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

What is an orphan block?

A

the invalid block that is not going to continued to be mined on

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

What is a mempool?

A

where transactions are stored and sorted before being added to the new block

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

What are the limitations of bitcoin?

A
  • size of the block, limits transactions per second (7 a second compared to visa 1700)
  • Concern of EDSA and SHA-56 may be broken in the future
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do they want to change the protocol?

A

introduce features on how bitcoin works

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

How is the change in protocol funded and who is their supporter?

A

Sponsership programme, MIT

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

What is the challenge of the changes of protocol?

A

Some nodes upgrade, others don’t leading to blockchain forks

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

What is a Bitcoin improvement proposal (BIP)?

A

the formal process used by the Bitcoin community to propose ideas, suggest changes, and make improvements to Bitcoin

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

Who can propose a BIP?

A

Anyone, anywhere in the world

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

What is included in the process of a BIP?

A

Submission, discussion, copy-editing, acceptance then publication on GitHub

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

What does acceptance of a BIP depend on?

A

User/ Minor adoption

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

What are the characteristics of a soft fork?

A

-backwards compatible
- non-upgraded nodes will recognise new blocks as valid
- my require a minimum rate of adoption to take effect (51%)

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

What are the characteristics of a hard fork?

A
  • not compatible with older software
  • non-upgrades nodes will not recognise new blocks as valid
  • they are mandatory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of Segwit soft fork?

A

Addresses malleability and scalability issues, expected to double throughput of network

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

How is Segwit soft fork enabled and what did it contribute to between 2018 and 2020?

A

enabled by removing transaction signatures from blockchain, contributed to transaction fees dropping

17
Q

What changes did the Taproot soft fork bring in?

A
  • Schorr signatures (rather than ECDSA)
  • Smart contacts
  • Updates script coding language to transcript
18
Q

What happened in the bitcoin hard fork and what was the consequence?

A

Bitcoin core upgraded from 0.7 to 0.8, Gavin Anderson disagreed and went back to 0.7 creating a hard fork.
consequence was a case of £10,000 double spending and £26,000 block rewards foregone by minors who worked on 0.8

19
Q

What are the key differences between bitcoin and bitcoin cash?

A
  • bitcoin has 1MB max, cash has 8MB
  • Signatures can be discarded from bitcoin chain, on cash must be validated and secured on chain
  • Bitcoin has single centralized development team, cash has multiple independent development teams
  • BTC has off-chain payment channels, cash has on-chain transactions
20
Q

What is are the 3 elements of the management triangle?

A

Price, Quality and speed, can only have 2/3

21
Q

What are the 3 elements of the scalability triangle?

A

Distributed, Fast and Secure, can only have 2/3

22
Q

What are the 3 blockchain categories?

A
  1. Public blockchains - anyone can read, send transactions and participate in consensus process
  2. Consortium blockchains - consensus process controlled by pre-selected set of nodes
  3. Fully private blockchains - write permissions centralized to one organisation
23
Q

What are the advantages of open blockchains?

A
  • protect users from developers
  • organic democracy
  • code-law
24
Q

What are the advantages of private blockchains?

A
  • Rules of blockchain can be easily changed
  • Validators are known
  • Cheaper transactions (fewer node verifications needed
25
Q

What are the 2 main arguments for why code-law may be a good idea?

A
  1. Cost savings - more transparency and better security
    - reduces freedom of choice
    - prevents the market from deciding on optimal amount of consumer protection
  2. places responsibility on parties to monitor reducing moral hazard issues
26
Q

What are the questions that code-law has trouble answering?

A
  • Who is liable when a hack or mistake occurs?
  • who is responsible for recourse and restitution
  • who has a contractual obligation to validate
  • who can enforce rulings of disputes
27
Q

What is a 51% attack?

A

an attack on a blockchain by a group of miners who control more than 50% of the network’s mining hash rate. Attackers with majority network control can interrupt the recording of new blocks by preventing other miners from completing blocks.

28
Q

What are the strategies to organise a 51% attack?

A
  • brute force - invest enough to double existing CPU power (costs £200m)
  • Artifice - create a false code that looks like the real one
  • Splintering - create lots of forks quickly, causes irreversible chaos
  • Temptation - incentivize people to use a malicious version of the code