02_Mining Flashcards

1
Q

What do we need mining for?

A
  • solve double spending problem
  • not everyone gets information at the same
  • ther is no single point of truth -> voting is required
  • sybil attacks -> one vote per identiy not possible because on user could make many identities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

NP vs P-Problem

NP-hard Problem

A

Polynomial Time (P-Problem)
- problems can be solved relatively quickly by a computer

Nondeterministic Polynomial Time (NP-Problem)
- problems for which a soluction can be checked quickly

NP-hard Problem
- computing a cryptographic hash that matches specific format is an NP-Hard problem (moderately hard but not intractable)
- checking if the result matches the required fromat is trivial

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

Hashing Difficulty

A
  • has has to be smaller than 2^224 / difficulty
  • the more miners with high has rates the higher the difficulty level will be
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Adjustments of difficulty

A
  • to maintain network stability, mining difficulty is periodically adjusted based on total network hash rate
  • adjustment ensure that average time between block remains relatively constant
  • every block is rewarded with token
  • frequency of blocks being generated need to be regulated to control currency supply
  • this is done every 2016 block roughly every 2 weeks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

New difficulty

A

= current difficulty / (time taken for last 2016 blocks / 2 weeks)

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

Inflation

A
  • negligble after the first 20 years or so
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Hash Rate

A
  • # of hash calculations per sencond performed by miners
  • mining difficulty ensures consistent block production rate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Target difficulty
+
Average Block Time

A
  • 2 weeks for 2016 blocks
  • block times are less than 600 seconds on average
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Mining Pools

A
  • single miner would find block every 38 years
  • miners construct blocks at lower difficulty and submit those as proof of work
  • when one miner finds block, hashrate statistics of all miners on the pool are used to calculate fair payout
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Pros of Mining Pools

A
  • miners get consistent rewards
  • miners don’t need to run a node
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Cons of Mining Pools

A
  • pools must be trusted with the fair distribution of coins
  • miners can’t choose which transactions they are mining (MARA pool…)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Evolution of Minign hardware in context of difficulty over time

A

-** shift from CPU to GPU coincides with higher difficulty** and emergence of mining pools
- emergence of FPGA and ASICs revolutionary in 2013 (higher speed with lower energy consumption: 0,01% of CPU and 0,2% of GPU consumption)

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

Evolution of Mining Farms

A
  • Home Mining
  • Garage Mining
  • Hangar Farms
  • Custom Buildings
  • Single-Phase Immersion Cooling

(Mining vs Node distribution)

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

Mining Equilibrium

A

= total costs approach total revenue
- will be reached until next halfing in spring 2024
- equilibrium at about 15.2 GW after next halving

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

Bitcoin Renewables

A
  • mining farms can be build next to green energy projects to generate instant revenue even without grid connection -> big solar projects in texas working togther with miners
  • renewables cause large intraday swings in the grid
  • miners can turn off in periods of low supply
    -> grid operators can sell more power without impacting price for consumers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Decentralized Mining Pools

A
  • pool never holds bitcoin payout -> reducing risk of custody and regulatory issues
  • e.g. Stratum V2 mining protocol: serves communication bridge between Bitcoin miners and mining pools facilitating the transfer of crucial mining data