Bitcoin 3 Flashcards

1
Q

what’s an ICO

A

initial coin offering:

-new projects, startups, and companies sell their underlying crypto tokens in exchange for investor money

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

what’s a difference between ICO and IPO

A
  • owning a new token does not mean you own a piece of the company
  • it just enables you to use the new project when it becomes available and incentivizes others by signaling that the project will probably be widely used
  • IPOs require you to be qualified by the SEC before you can take part (more than 5 million in net worth?); anyone can get in on an ICO
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what’s a crypto hash function

A

it operates like a fingerprint; a one-way function that takes some input and produces a pseudorandom output

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

what is the crypto hash function’s output called

A

the image

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

what is the crypto hash function’s input called

A

the pre-image

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

what are the properties of a crypto hash function

A

1) pre-image and second pre-image resistance

2) collision resistance

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

what does pre-image mean

A

input

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

what does resistance mean

A

difficulty

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

what does pre-image resistance mean

A

difficulty of finding an input given some output; given some hash function H and some output of the function H of x, it is computationally difficult to find x, i.e. you can’t easiy figure out the input that created the output

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

what’s the point of pre-image resistance

A

to make sure that no one can reverse engineer your “fingerprint”

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

what’s the point of second pre-image resistance

A

it helps prevent anyone from stealing your fingerprint; keeps anyone from generating your fingerprint with a different input; given some hash function H and some output H of x, it is computationally difficult to find a different input x such that H of x equals H of x

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

what is collision resistance

A

it’s something that prevents two arbitrary inputs from mapping to the same output; given some hash function H, it is computationally difficult to find two different inputs x and y such that H of x equals H of y

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

what’s the avalanche effect

A

when any change in an input results in a pseudorandome change in output; prevents the ability to guess the output based on the inputs

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

what hash function does Bitcoin use in many scenarios

A

SHA-256. designed by NSA. stands for secure hash algorithm producing a 256-bit output; usually Bitcoin uses this hash once on the original message you want to hash and a second time on the the output of the first hash

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

what are the components of a blockchain

A
  • block header: the metadata necessary to understand the components of the block
  • block size: tells how large the block is
  • transaction counter: how many transactions are in the block
  • transactions: the actual transaction data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what are the the components of a block header

A

The block header is simply the hash of all of the following fields combined into a chain:

  • prev block hash: represents the chaining
  • merkle root: summary of transactions
  • nonce: represents the proof-of-work
  • timestamp
  • target
  • version
17
Q

what is the merkle root

A

the top of a merkle tree, which is a cryptographic data structure

18
Q

what is a tree in computer science

A

a data structure that has some root node and some children, which may also be the roots of other trees

19
Q

what’s a binary tree

A

a data structure in which every node has two children

20
Q

what’s a merkle tree

A

a very specific version of a binary tree in which there is a power of two children on the bottom-most level and the lowest level is made of the hashes of the information that you would like to summarize