dash-docs/img/dev/en-blocks-first-flowchart.svg
David A. Harding 72cc5f7f9e
Dev Docs: Add Section About Headers-First IBD
* Add flowchart illustration to blocks-first section to match new
  headers-first flowchart

* Add new headers-first initial block download (IBD) section

* Revise Block Broadcasting section

* Add paragraph about orphan block handling in headers-first to the
  Orphan Blocks section
2015-02-05 16:16:46 -05:00

62 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
-->
<!-- Title: %3 Pages: 1 -->
<svg width="450pt" height="173pt"
viewBox="0.00 0.00 450.00 173.11" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(0.801425 0.801425) rotate(0) translate(4 212)">
<title>%3</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-212 557.5,-212 557.5,4 -4,4"/>
<text text-anchor="middle" x="276.75" y="-22.8" font-family="Sans" font-size="14.00"> </text>
<text text-anchor="middle" x="276.75" y="-7.8" font-family="Sans" font-size="14.00">Overview Of Blocks&#45;First Initial Blocks Download (IBD)</text>
<!-- fsbc -->
<g id="node1" class="node"><title>fsbc</title>
<polygon fill="lightgrey" stroke="none" stroke-width="1.75" points="218,-208 21,-208 21,-172 218,-172 218,-208"/>
<text text-anchor="middle" x="119.5" y="-186.3" font-family="Sans" font-size="14.00">Fully&#45;Synced Block Chain?</text>
</g>
<!-- listen -->
<g id="node2" class="node"><title>listen</title>
<text text-anchor="middle" x="450.5" y="-186.3" font-family="Sans" font-size="14.00">Listen For New Blocks (Inv)</text>
</g>
<!-- fsbc&#45;&gt;listen -->
<g id="edge2" class="edge"><title>fsbc&#45;&gt;listen</title>
<path fill="none" stroke="black" stroke-width="1.75" d="M218.363,-190C255.697,-190 298.464,-190 337.033,-190"/>
<polygon fill="black" stroke="black" stroke-width="1.75" points="337.265,-193.5 347.265,-190 337.265,-186.5 337.265,-193.5"/>
<text text-anchor="middle" x="282.75" y="-196.8" font-family="Sans" font-size="14.00">Yes</text>
</g>
<!-- have_invs -->
<g id="node5" class="node"><title>have_invs</title>
<polygon fill="lightgrey" stroke="none" stroke-width="1.75" points="190.5,-141 48.5,-141 48.5,-105 190.5,-105 190.5,-141"/>
<text text-anchor="middle" x="119.5" y="-119.3" font-family="Sans" font-size="14.00">Have Inventories?</text>
</g>
<!-- fsbc&#45;&gt;have_invs -->
<g id="edge1" class="edge"><title>fsbc&#45;&gt;have_invs</title>
<path fill="none" stroke="black" stroke-width="1.75" d="M119.5,-171.922C119.5,-165.702 119.5,-158.5 119.5,-151.6"/>
<polygon fill="black" stroke="black" stroke-width="1.75" points="123,-151.19 119.5,-141.19 116,-151.19 123,-151.19"/>
<text text-anchor="middle" x="133.5" y="-152.8" font-family="Sans" font-size="14.00"> &#160;No</text>
</g>
<!-- request_blocks -->
<g id="node3" class="node"><title>request_blocks</title>
<text text-anchor="middle" x="450.5" y="-119.3" font-family="Sans" font-size="14.00">Request Blocks (GetData)</text>
</g>
<!-- listen&#45;&gt;request_blocks -->
<!-- request_invs -->
<g id="node4" class="node"><title>request_invs</title>
<text text-anchor="middle" x="119.5" y="-52.3" font-family="Sans" font-size="14.00">Request Inventories (GetBlocks)</text>
</g>
<!-- have_invs&#45;&gt;request_blocks -->
<g id="edge4" class="edge"><title>have_invs&#45;&gt;request_blocks</title>
<path fill="none" stroke="black" stroke-width="1.75" d="M190.508,-123C234.937,-123 293.028,-123 343.029,-123"/>
<polygon fill="black" stroke="black" stroke-width="1.75" points="343.241,-126.5 353.241,-123 343.241,-119.5 343.241,-126.5"/>
<text text-anchor="middle" x="272" y="-129.8" font-family="Sans" font-size="14.00">Yes</text>
</g>
<!-- have_invs&#45;&gt;request_invs -->
<g id="edge3" class="edge"><title>have_invs&#45;&gt;request_invs</title>
<path fill="none" stroke="black" stroke-width="1.75" d="M119.5,-104.922C119.5,-98.7016 119.5,-91.4999 119.5,-84.5999"/>
<polygon fill="black" stroke="black" stroke-width="1.75" points="123,-84.1896 119.5,-74.1896 116,-84.1896 123,-84.1896"/>
<text text-anchor="middle" x="133.5" y="-85.8" font-family="Sans" font-size="14.00"> &#160;No</text>
</g>
</g>
</svg>