L17 - Blockchain and Bitcoin Flashcards

1
Q

What is the difference between Bitcoin and bitcoins?

A

Bitcoin -> Refers to the software / protocol / community

bitcoins -> A monetary value

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

What is bitcoin?

A

A cryptocurrency built on blockchain technology, removing the need for third-party mediators using transactions.

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

What does the value of a cryptocurrency depend on? Why is this?

A
  • The number of people using the cryptocurrency.
  • More people means more trust due to leveraging a peer-to-peer network whereby users have to authenticate transactions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is wallet software?

A
  1. Each user on the network has a wallet built on specialised software.
  2. Each wallet has a bitcoin address to receive transactions.
  3. Each wallet holds the entire history of all transactions over the blockchain.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain how transactions work over the blockchain network….

A

Each transaction is broadcast over the network, and this verified by miners before being completed and added to the transaction history of the blockchain.

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

What is a blockchain?

A

A peer-to-peer decentralised ledger containing the entire history of transactions across the network.

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

Who verifies transactions over the blockchain?

A

Miners

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

What property of blockchain guarantees security?

A

Blocks are generated by running prior blocks through a cryptographic function. This means if a block is modified, the hash changes and this change ripples through the blockchain. This means that users of the blockchain will be aware of any changes made to a block.

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

How is trust created in the blockchain data?

A

Blockchain data can be trusted due to the use of cryptographic functions meaning it’s impossible to change block data without changing the rest of the blockchain.

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

What are the 2 main things blockchain prevents?

A
  1. Double spending -> Risk that a cryptocurrency can be used more than once. This is prevented due to the verification process.
  2. Historic blocks being modified -> Prevented via using cryptographic functions to generate blocks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which cryptographic function is traditionally used?

A

SHA256

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

Define the concept of proof-of-work and how it works…

A
  1. A consensus mechanism used to get uniform agreement of the ledger state.
  2. Get consensus on transactions and their order across the distributed network.
  3. Miners in the blockchain compete to solve a complex mathematical problem. The miner tat completes it first, publishes the result and other miners verify its correctness. This is very computationally expensive, thus, the proof of work helps prevent malicious agents from easily manipulating the blockchain.
  4. Essentially, it’s made such that it’s far too much effort for hackers to warrant trying to manipulate the blockchain.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What data does each block contain?

A

Timestamp, bits, nonce, previous hash, transaction number, transactions, header.

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

What part of the block is used for identification and proof of work?

A

Block header

Block headers are hashed to create proof of work

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

What are the properties of a hash function that justify its use in blockchain?

A

Collision free -> 2 inputs rarely generate the same output

One-way function

Takes arbitrarily long input and creates a fixed length output.

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

What are the advantages of proof-of-work?

A

Limits the rates of finding new blocks.

Makes attempts to add invalid blocks extremely difficult.

Provides trust distinction between chains. Longer chains are more trusted with a higher proof of work. Thus, users can choose this chain for a more secure blockchain.

17
Q

What is the mathematical puzzle that miners have to solve?

A

Find a nonce such that when it’s combined with the block data, the resulting hash meets some sort of criteria.

18
Q

What is the primary purpose of proof of work?

A

The primary purpose of this puzzle is to make the process of adding a new block to the blockchain computationally difficult and time-consuming, thereby requiring significant computational power.