From 20ccb8d332fc00777a677f8a9eb20d4d533cc030 Mon Sep 17 00:00:00 2001 From: nadams Date: Thu, 18 May 2017 08:50:15 -0700 Subject: [PATCH] Edited ch10.asciidoc with Atlas code editor --- ch10.asciidoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ch10.asciidoc b/ch10.asciidoc index 3d6c5662..5a3b4968 100644 --- a/ch10.asciidoc +++ b/ch10.asciidoc @@ -805,10 +805,12 @@ Forks are almost always resolved within one block. While part of the network's h All nodes that had chosen "triangle" as the winner in the previous round will simply extend the chain one more block. The nodes that chose "upside-down triangle" as the winner, however, will now see two chains: star-triangle-rhombus and star-upside-down-triangle. The chain star-triangle-rhombus is now longer (more cumulative work) than the other chain. As a result, those nodes will set the chain star-triangle-rhombus as the main chain and change the star-upside-down-triangle chain to a secondary chain, as shown in <>. This is a chain reconvergence, because those nodes are forced to revise their view of the blockchain to incorporate the new evidence of a longer chain. Any miners working on extending the chain star-upside-down-triangle will now stop that work because their candidate block is an "orphan," as its parent "upside-down-triangle" is no longer on the longest chain. The transactions within "upside-down-triangle" are re-inserted in the mempool for inclusion in the next block, because the block they were in is no longer in the main chain. The entire network reconverges on a single blockchain star-triangle-rhombus, with "rhombus" as the last block in the chain. All miners immediately start working on candidate blocks that reference "rhombus" as their parent to extend the star-triangle-rhombus chain. [[fork4]] +[role="smallereighty"] .Visualization of a blockchain fork event: a new block extends one fork, reconverging the network image::images/mbc2_1005.png["Visualization of a blockchain fork event: a new block extends one fork"] [[fork5]] +[role="smallereighty"] .Visualization of a blockchain fork event: the network reconverges on a new longest chain image::images/mbc2_1006.png["Visualization of a blockchain fork event: the network reconverges on a new longest chain"]