From fb14ebbe399f651a6a47be7d5fe913490a99aafb Mon Sep 17 00:00:00 2001 From: "myarbrough@oreilly.com" Date: Tue, 18 Nov 2014 08:57:38 -0800 Subject: [PATCH] Made changes to ch07.asciidoc --- ch07.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch07.asciidoc b/ch07.asciidoc index a2db005a..1114e548 100644 --- a/ch07.asciidoc +++ b/ch07.asciidoc @@ -179,7 +179,7 @@ Because the merkle tree is a binary tree, it needs an even number of leaf nodes. .Duplicating one data element achieves an even number of data elements image::images/msbt_0703.png["merkle_tree_odd"] -The same method for constructing a tree from four transactions can be generalized to construct trees of any size. In bitcoin it is common to have several hundred to more than a thousand transactions in a single block, which are summarized in exactly the same way, producing just 32 bytes of data as the single merkle root. In <>, you will see a tree built from 16 transactions. Note that while the root looks bigger than the leaf nodes in the diagram, it is the exact same size, just 32 bytes. Whether there is one transaction or a hundred thousand transactions in the block, the merkle root always summarizes them into 32 bytes. +The same method for constructing a tree from four transactions can be generalized to construct trees of any size. In bitcoin it is common to have several hundred to more than a thousand transactions in a single block, which are summarized in exactly the same way, producing just 32 bytes of data as the single merkle root. In <>, you will see a tree built from 16 transactions. Note that although the root looks bigger than the leaf nodes in the diagram, it is the exact same size, just 32 bytes. Whether there is one transaction or a hundred thousand transactions in the block, the merkle root always summarizes them into 32 bytes. [[merkle_tree_large]] .A merkle tree summarizing many data elements