Arshiya Khan - Blockchain Assignment - #2
Arshiya Khan - Blockchain Assignment - #2
Information
Technology
University http://www.itu.edu.pk
Blockchain
Assignment # 02
100 Marks
Q1: Implement a Merkel tree using a large text file having size of 1 gigabyte and
provide a working code for checking whether: (60)
a) The data block is a part of Merkle tree (Proof of membership)
b) The data is not part of Merkle tree (Proof of non-membership)
Note: This assignment should be done in Python and only students without any experience with
Python should choose another language.
Step 4: Check the directory where your Python script is located, and you will find the generated text file
with the name and path you provided in file_path.
Q2: Explain the difference between verkle tree and merkle tree. (20)
Q3: Explain the differences between the following consensus algorithms: (20)
Submission Details:
Submit your code and pdf report containing solution of above three questions in a
single zip file with the name FirstName_RollNumber_01.zip
Your report must contain output of your merkle tree proofs and explanation of your
results.
Submit a single zip file containing
(a) Code file (b) Pdf Report
Follow the naming convention.
For each convention, there is a 3% penalty if you don’t follow it.
Email instructor or TA if there are any questions.
Plagiarism will lead to a straight zero with additional consequences as well.
10% (of obtained marks) deduction per day for a late submission.
Deadline September 30, 2024