IS4302_week_9_Fall 2024
IS4302_week_9_Fall 2024
IS4302_week_9_Fall 2024
IS4302
Blockchain and Distributed
Ledger Technologies
Week 9
1. Understand Scalability
Importance of scalability in blockchain networks
2. Explain the Scalability Trilemma
Balancing scalability, security, and decentralization
3. Identify Scalability Solutions
Layer 1 and Layer 2 approaches
4. Explore Key Data Structures
GHOST, BlockDAG, Segregated Witness
5. Discuss Cross-Chain Interoperability
Tools and protocols for multi-chain communication
2
Overview
3
Scalability Blockchain Trilemma
4
Overview
5
Scope Summary
6
Layer 1 Scalability Solutions
7
Blockchain – Original Design
8
Data Structures
• Blockchains
• GHOST
• BlockDAG
• Segregated Witness
9
Greedy Heaviest-Observed Sub-Tree (GHOST)
10
Block Directed Acyclic Graph (DAG)
11
Block Directed Acyclic Graph (DAG)
12
Block Directed Acyclic Graph (DAG)
13
Block Directed Acyclic Graph (DAG)
14
Segregated Witness (SegWit)
15
Segregated Witness (SegWit)
Scalability Trilemma
Scalability: Ability to process a large number of transactions.
Security: Protecting against attacks and ensuring data integrity.
Decentralization: Maintaining a distributed network without central control.
18
Layer 2 Scalability Solutions
• State Channels
• Sidechains
• Rollups
19
Layer 2 Scalability Solutions: State Channels
20
Layer 2 Scalability Solutions
• Off-chain transaction
channels
• Instant transactions with
minimal fees
• Especially useful for
small payments and
micropayments
• The most well-known example
of a payment channel network
is the Lightning Network for
Bitcoin
21
Layer 2 Scalability Solutions: State Channels
22
Layer 2 Scalability Solutions: Sidechains
23
Layer 2 Scalability Solutions: Sidechains
24
Layer 2 Scalability Solutions: Sidechains
• Examples
• Liquid Network: A Bitcoin sidechain designed to facilitate fast and
private transactions between businesses, such as exchanges and
financial service providers.
• Polygon (formerly Matic Network): A scalability platform for
Ethereum using sidechains to offer high-speed, low-cost
transactions.
• Ronin: A sidechain specifically designed for the blockchain game
Axie Infinity, enabling transactions and asset management within the
game more efficiently.
25
Layer 2 Scalability Solutions: Sidechains
• Challenges
• Security: depends on their own consensus mechanism and the
robustness of their connection to the main chain.
• Integration Complexity: Establishing and maintaining
interoperability between the main chain and sidechains can be
technically challenging.
• User Adoption and Liquidity: it needs to develop its own
ecosystem of users and applications, which may require
significant time and effort.
26
Layer 2 Scalability Solutions: Rollups
• Aggregating multiple
transactions into a single batch
• State changes are computed
off-chain and are then proven
as valid on-chain using zero-
knowledge proofs.
• Enhances throughput while
maintaining security
27
Sharding
• Concept:
• Partitioning the blockchain into smaller, manageable
segments (shards)
• Benefits
• Parallel transaction processing
• Increased throughput and scalability
• Challenges
• Ensuring cross-shard communication
• Maintaining security across shards
28
Thank you!
29