Lecture 2 - Introducing DLT, HyperLedgerFabric, Ethereum Flashcards

1
Q

Name some primary differences between the two concepts: Traditional Finance and Decentralized Finance

A

(T)raditional: Proprietary Software
(D)ecentralized: Open Source

T: Intermediaries
D: Peer-to-peer/Web

T: Trust in institutions
D: Trust in technology

T: Limited Transparency
D: Transparent

T: Central Clearing
D: Blockchain

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

There are four key characteristics in blockchain that brings trust. What are they

A
  • Cryptographically secure
  • Ledger
  • Shared
  • Distributed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain what a ledger is

A

Append only ledger for full transactional history (no value overriding)

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

What is a centralized network?

A

A centralized network is where participants must communicate with a central authority to communicate with one another.
All participants must go through a single centralized source (single point of failure).

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

What is a decentralized network?

A

A decentralized network is where there are multiple authorities that serve as a centralized hub for a subsection of participants. Since some participants are behind a centralized hub, the loss of that hub will prevent those participants from communicating.

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

What is a distributed network?

A

A distributed network is where every participant can communicate with one another without going through a centralized point. (also known as a peer-to-peer network)

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

What is meant by the peer-to-peer model?

A

Not client-server model –-> nodes are both servers as well as clients (peers).

Each peer mostly have similar functionality.

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

What is Distributed Ledger Technology (DLT)?

A

A distributed ledger is a distributed record of transactions
maintained by consensus among a network of peer-to-peer nodes.

Blockchain is a popular data structure for distributed ledgers.

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

What are the properties of Distributed Ledger Technology(DLT)?

A

Pseudo-anonymity: user identifiers in cryptocurrency

Public access: anonymized transactions

Proof of work (/consensus protocols): to stop double-spending (also offers block ordering guarantee)

Small transaction size: small sizes

Immutable records: change to one record cause subsequent records to be invalid.

Distributed

Replication and Synchronization: After successful validation, all peers have an identical copy due to consensus protocols

Integrity protection: Cryptographic hashes.

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

What are some popular DLTs?

A
  • Blockchain
  • Tangle
  • Hashgraph
  • Sidechain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Flip to see a comparison and SWOT analysis of the different DLTs

A

https://www.notion.so/sardorf/DLTs-Comparison-fef47c1ff3444d7c94a8fbed92888991

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

What is a Node?

A

an individual system within a blockchain network

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

There are two types of nodes. What are these, and how do they differentiate?

A

Full node: stores entire blockchain, ensures transactions are valid.
• Publishing node: Full node that publishes new blocks.

Lightweight node: Does not store/maintain a copy of blockchain and must pass their transactions to full nodes.

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

Explain a permissionless blockchain, what are the issues, and whats an example?

A
  • Permissionless Blockchain are where anyone can publish new blocks.

Issues:

  • Privacy and Scaling
  • Malicious users can join
  • Consensus protocol is expensive

Example: Ethereum

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

Explain a permissioned blockchain, what are the issues, and whats an example?

A

Permissioned Blockchains (consortium)
• Knowns only participants
• More control than public blockchains (corporate intranet)
• Publishing new blocks are restricted.
• Better privacy and confidentiality • Faster consensus protocol is in use

Issues:
• Not fully decentralized

Example: Hyperledger Fabric

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

What are the components of Blockchain?

A
  1. Hashing
  2. Transaction
  3. Cryptography
  4. Addresses and Address deviation
  5. Ledgers
17
Q

What is the disadvantage of asymmetric encryption?

A

Its slower than symmetric encryption

18
Q

What is a “Nonce”

A

Cryptographic nonce is an arbitrary number (used once).

Nonce = Number used Once

19
Q

What is a nonce used for?

A

Can be combined with data to produce different hash digests (per nonce):
• hash (data + nonce) = digest (PoW consensus model)

20
Q

Explain what an address is in Blockchain

A

Addresses is user’s public-facing identifier in a blockchain network (e.g., QR code)

21
Q

What are addresses used for?

A

Smart contract uses addresses for execution purposes.

Wallet is a software to store private/public keys, associated addresses, digital assets.

22
Q

Explain the Consensus Protocol

A

The consensus protocol determines which user publishes next block.

Consensus systems in permissionless blockchain promote non-malicious behavior through rewarding publishers of protocol-conforming blocks with a native cryptocurrency.

One protocol per system.

There’s more on this in lecture 3

23
Q

Name a couple of different consensus protocols

A
  • Proof of Work
  • Proof of Stake
  • Delegated Proof of Stake
24
Q

Flip to see a list of different consensus protocols, their benefits and drawbacks

A

https://www.notion.so/sardorf/Consensus-Protocols-Comparison-8b3d3869eeb643c294df83fe40458895

25
Q

What are smart contracts?

A
  • Collection of business logic (and data).
  • Executed by nodes of blockchain network.
  • Execution results are recorded on blockchain.
  • Deployed by cryptographically signed transactions on blockchain network
26
Q

Name some existing blockchain platforms and their ledger type and consensus protocol

A

Bitcoin - Public - PoW
Ethereum - Public - PoW & PoS
Hyperledger Fabric - Consortium - Pluggable Algorithm
Stellar - Public & Private - Stellar Consensus protocol
Quorum - Private - Majority voting
Ripple - Private - Probabilistic voting

27
Q

The runtime for smart contracts in Ethereum is ___

A

The Ethereum Virtual Machine(EVM)

28
Q

How do things get executed on the Ethereum network?

A

In Ethereum, there is a single, canonical computer (EVM) whose state everyone on Ethereum network agrees on.

  • Requests for computation are called transaction requests.
  • Record of all transactions + EVM’s present state is stored in blockchain.
29
Q

What is Hyperledger Fabric?

A

Hyperledger Fabric is a permissioned distributed ledger framework for developing blockchain applications.

30
Q

What are the primary features of Hyperledgeer Fabric?

A

Consensus: A unique approach to consensus enables flexibility and scalability needed for enterprise

  • Privacy: Channels and private data collections enable private and confidential exchange assets on a common network.
  • Security & Membership Services: Permissioned membership provides a trusted blockchain network.

Assets: Enable exchange of almost anything with monetary value over network.

Smart contract/Chaincode: Execution is partitioned from transaction ordering.
• Limits required levels of trust
• Verification across node types
• Optimize for network scalability and performance.

Ledger: immutable, shared ledger encodes entire transaction history for each channel, and supports query.