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
This commit is contained in:
David A. Harding 2015-02-05 15:44:05 -05:00
parent 7dcf67d5a8
commit 72cc5f7f9e
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
18 changed files with 772 additions and 4 deletions

View file

@ -0,0 +1,32 @@
digraph {
// This file is licensed under the MIT License (MIT) available on
// http://opensource.org/licenses/MIT.
size=6.25;
rankdir=TB
splines = "true";
ranksep = 0.2;
nodesep = 0.9;
edge [ penwidth = 1.75, fontname="Sans" ]
node [ penwidth = 1.75, shape = "none", fontname="Sans"]
graph [ penwidth = 1.75, fontname="Sans" ]
fsbc [ label = "Fully-Synced Block Chain?", style = "filled" ];
listen [ label = "Listen For New Blocks (Inv)" ];
request_blocks [ label = "Request Blocks (GetData)" ];
request_invs [ label = "Request Inventories (GetBlocks)" ];
have_invs [ label = "Have Inventories?", style = "filled" ];
fsbc -> have_invs [ label = " No" ];
fsbc -> listen [ label = "Yes", constraint = false ];
have_invs -> request_invs [ label = " No" ];
have_invs -> request_blocks [ label = "Yes", constraint=false ];
listen -> request_blocks [ style = "invis" ];
label = "\ \nOverview Of Blocks-First Initial Blocks Download (IBD)"
}