mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
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:
parent
7dcf67d5a8
commit
72cc5f7f9e
18 changed files with 772 additions and 4 deletions
37
img/dev/en-headers-first-flowchart.dot
Normal file
37
img/dev/en-headers-first-flowchart.dot
Normal file
|
@ -0,0 +1,37 @@
|
|||
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" ];
|
||||
fshc [ label = "Fully-Synced Header Chain?", style = "filled" ];
|
||||
more_headers_than_blocks [ label = "More Headers Than Blocks?", style = "filled" ];
|
||||
listen_for_new_blocks [ label = "Listen For New Blocks (Inv)" ];
|
||||
request_blocks [ label = "Request Blocks (GetData)" ];
|
||||
request_headers [ label = "Request Headers (GetHeaders)" ];
|
||||
|
||||
fsbc -> fshc [ label = " No" ];
|
||||
fshc -> more_headers_than_blocks [ label = "No" ];
|
||||
fshc -> request_headers [ label = " No" ];
|
||||
|
||||
fsbc -> listen_for_new_blocks [ label = "Yes", constraint=false ];
|
||||
fshc -> request_blocks [ label = "Yes", constraint=false ];
|
||||
request_blocks -> more_headers_than_blocks [ dir=back, label = " Yes" ];
|
||||
|
||||
//request_headers -> fshc [ style = "dotted", constraint = false ];
|
||||
//request_blocks -> fsbc [ style = "dotted", constraint = false ];
|
||||
|
||||
|
||||
|
||||
|
||||
label = "\ \nOverview Of Headers-First Initial Blocks Download (IBD)"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue