Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeDukSeo committed Mar 10, 2017
1 parent d89d753 commit 61133d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MerkleTrees.py
Expand Up @@ -111,15 +111,15 @@ def Get_Root_leaf(self):

# i-1) Declare a transaction - the ground truth
ground_truth_Tree = Jae_MerkTree()
ground_truth_transaction = ['a','b','c']
ground_truth_transaction = ['a','b','c','d','e']
ground_truth_Tree.listoftransaction = ground_truth_transaction
ground_truth_Tree.create_tree()
ground_truth_past_transaction = ground_truth_Tree.Get_past_transacion()
ground_truth_root = ground_truth_Tree.Get_Root_leaf()

# i-2) Declare a tampered transaction
tampered_Tree = Jae_MerkTree()
tampered_Tree_transaction = ['a','b','e']
tampered_Tree_transaction = ['a','b','c','d','f']
tampered_Tree.listoftransaction = tampered_Tree_transaction
tampered_Tree.create_tree()
tampered_Tree_past_transaction = tampered_Tree.Get_past_transacion()
Expand Down
Binary file added Simple_explanation_about_Merkle_tree.docx
Binary file not shown.

0 comments on commit 61133d7

Please sign in to comment.