Duration: 40 minutes  |  Points: 20  |  Format: Teams of 3-4

Learning Objectives

  • Understand the structure and constraints of blockchain blocks
  • Apply fee prioritization strategies to maximize miner revenue
  • Experience the economic incentives that drive block production
  • Learn simplified block hashing and verification mechanisms
  • Recognize trade-offs between transaction inclusion and block space limits

Overview

You are a blockchain validator (miner) tasked with building the next block. You have access to 20 pending transactions in the mempool, each with different fees and sizes. Your goal is to select transactions that maximize your total fee revenue while respecting the block size limit.

Block Constraint: Maximum block size = 10 units

Team Formation

Work in teams of 3-4 students. Each team represents a competing validator trying to build the most profitable block.

Activity Timeline (40 Minutes)

5 min Phase 1: Setup & Transaction Review

  1. Receive your transaction cards deck (20 cards)
  2. Receive blank block template worksheet
  3. Review all available transactions and their properties:
    • TX ID: Unique transaction identifier (tx_001 - tx_020)
    • Fee: Amount paid to validator (in ETH)
    • Size: Block space consumed (in units)
  4. Discuss initial strategy with your team

20 min Phase 2: Block Construction

  1. Sort and analyze transactions to identify high-value options
  2. Calculate fee-per-unit ratios to guide selection
  3. Select transactions for your block (record on template):
    • List each selected transaction by TX ID
    • Record corresponding fees and sizes
    • Ensure total size does NOT exceed 10 units
  4. Calculate your total fee revenue
  5. Double-check all calculations

10 min Phase 3: Block Hashing & Verification

  1. Compute your block hash using the simplified formula:
    • Extract the last digit from each selected TX ID
    • Sum all last digits
    • This sum is your "block hash"
    • Example: tx_007, tx_013, tx_020 โ†’ 7 + 3 + 0 = 10
  2. Record the hash on your block template
  3. Verify with hash guide if needed
  4. Have another team verify your block is valid:
    • Size constraint respected (total โ‰ค 10)
    • Fee calculation correct
    • Hash calculation correct

5 min Phase 4: Preparation for Presentation

  1. Prepare to explain your selection strategy
  2. Identify which transactions you prioritized and why
  3. Note any difficult trade-offs you encountered
  4. Prepare one team member to present

Presentation Format (5 Minutes per Team)

Each team will present to the class:

Winning Criteria

Criterion Description
Highest Total Fees The team with the highest valid total fee revenue wins
Valid Block Block size must be exactly 10 units or less
Correct Hash Hash must be correctly calculated per formula
Tip: High fees matter, but so does efficient use of block space. A transaction with a moderately high fee but small size might be better than a slightly higher fee with large size!

Key Concepts to Consider

Materials Checklist

Submission Requirements

Submit your completed block template worksheet with:

Related Resources

Rubric Answer Key Instructor Guide

Assignment Resources

© Joerg Osterrieder 2025-2026. All rights reserved.